Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Here are test bisection commands #1

Open
bjorn3 opened this issue May 3, 2020 · 75 comments
Open

Here are test bisection commands #1

bjorn3 opened this issue May 3, 2020 · 75 comments

Comments

@bjorn3
Copy link
Owner

bjorn3 commented May 3, 2020

Test code is from rust-lang/rust#71709 (comment)

@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

bisect

1 similar comment
@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

bisect

@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

bisect

edit: edit

@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

bisect-bot bisect start=2020-04-24 end=2020-04-28

use std::sync::{Arc, RwLock};

#[derive(Copy, Clone)]
pub struct Glfw;

fn fun_call<T>(val: T) -> T { val }

static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
    //TODO: Give the option to choose FAIL / LOG?
    let glfw = unsafe { if let Some(glfw) = GLFW {
        glfw
    } else {
        let glfw = fun_call(Glfw);
        GLFW = Some(glfw);
        glfw
    }};

    Ok(Arc::new(RwLock::new(glfw)))
}

1 similar comment
@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

bisect-bot bisect start=2020-04-24 end=2020-04-28

use std::sync::{Arc, RwLock};

#[derive(Copy, Clone)]
pub struct Glfw;

fn fun_call<T>(val: T) -> T { val }

static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
    //TODO: Give the option to choose FAIL / LOG?
    let glfw = unsafe { if let Some(glfw) = GLFW {
        glfw
    } else {
        let glfw = fun_call(Glfw);
        GLFW = Some(glfw);
        glfw
    }};

    Ok(Arc::new(RwLock::new(glfw)))
}

@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

bisect-bot bisect start=2020-04-26 end=2020-04-28

use std::sync::{Arc, RwLock};

#[derive(Copy, Clone)]
pub struct Glfw;

fn fun_call<T>(val: T) -> T { val }

static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
    //TODO: Give the option to choose FAIL / LOG?
    let glfw = unsafe { if let Some(glfw) = GLFW {
        glfw
    } else {
        let glfw = fun_call(Glfw);
        GLFW = Some(glfw);
        glfw
    }};

    Ok(Arc::new(RwLock::new(glfw)))
}

bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 3, 2020
bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 3, 2020
bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 3, 2020
bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 3, 2020
bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 3, 2020
bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 3, 2020
bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 3, 2020
bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 3, 2020
bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 3, 2020
@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

bisect-bot bisect start=2020-04-26 end=2020-04-28

use std::sync::{Arc, RwLock};

#[derive(Copy, Clone)]
pub struct Glfw;

fn fun_call<T>(val: T) -> T { val }

static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
    //TODO: Give the option to choose FAIL / LOG?
    let glfw = unsafe { if let Some(glfw) = GLFW {
        glfw
    } else {
        let glfw = fun_call(Glfw);
        GLFW = Some(glfw);
        glfw
    }};

    Ok(Arc::new(RwLock::new(glfw)))
}

@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

started bisection

bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 3, 2020
@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

1 similar comment
@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

bisect-bot bisect start=2020-04-26 end=2020-04-28

use std::sync::{Arc, RwLock};

#[derive(Copy, Clone)]
pub struct Glfw;

fn fun_call<T>(val: T) -> T { val }

static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
    //TODO: Give the option to choose FAIL / LOG?
    let glfw = unsafe { if let Some(glfw) = GLFW {
        glfw
    } else {
        let glfw = fun_call(Glfw);
        GLFW = Some(glfw);
        glfw
    }};

    Ok(Arc::new(RwLock::new(glfw)))
}

@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

started bisection

bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 3, 2020
@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

bisect-bot bisect start=2020-04-26 end=2020-04-28

use std::sync::{Arc, RwLock};

#[derive(Copy, Clone)]
pub struct Glfw;

fn fun_call<T>(val: T) -> T { val }

static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
    //TODO: Give the option to choose FAIL / LOG?
    let glfw = unsafe { if let Some(glfw) = GLFW {
        glfw
    } else {
        let glfw = fun_call(Glfw);
        GLFW = Some(glfw);
        glfw
    }};

    Ok(Arc::new(RwLock::new(glfw)))
}

@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

started bisection

bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 3, 2020
@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

@bjorn3
Copy link
Owner Author

bjorn3 commented May 3, 2020

bisect-bot bisect start=2020-04-26 end=2020-04-28

use std::sync::{Arc, RwLock};

#[derive(Copy, Clone)]
pub struct Glfw;

fn fun_call<T>(val: T) -> T { val }

static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
    //TODO: Give the option to choose FAIL / LOG?
    let glfw = unsafe { if let Some(glfw) = GLFW {
        glfw
    } else {
        let glfw = fun_call(Glfw);
        GLFW = Some(glfw);
        glfw
    }};

    Ok(Arc::new(RwLock::new(glfw)))
}

@bjorn3
Copy link
Owner Author

bjorn3 commented May 4, 2020

bisection job 643979354 started: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/643979354

@bjorn3
Copy link
Owner Author

bjorn3 commented May 4, 2020

bisection job 643979354 completed: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/643979354

@bjorn3
Copy link
Owner Author

bjorn3 commented May 4, 2020

bisect-bot bisect start=2020-04-26 end=2020-04-28

use std::sync::{Arc, RwLock};

#[derive(Copy, Clone)]
pub struct Glfw;

fn fun_call<T>(val: T) -> T { val }

static mut GLFW: Option<Glfw> = None;
pub fn new() -> Result<Arc<RwLock<Glfw>>, Box<dyn std::error::Error>> {
    //TODO: Give the option to choose FAIL / LOG?
    let glfw = unsafe { if let Some(glfw) = GLFW {
        glfw
    } else {
        let glfw = fun_call(Glfw);
        GLFW = Some(glfw);
        glfw
    }};

    Ok(Arc::new(RwLock::new(glfw)))
}

bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 4, 2020
@bjorn3
Copy link
Owner Author

bjorn3 commented May 4, 2020

bisection job 644062606 started: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/644062606

@bjorn3
Copy link
Owner Author

bjorn3 commented May 4, 2020

bisection job 644062606 completed: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/644062606

@bjorn3
Copy link
Owner Author

bjorn3 commented May 6, 2020

bisect-bot bisect end=2020-04-25

#![feature(const_generics)]

trait GetType<const N:&'static str>{
    type Ty;
    fn get(&self)->&Self::Ty;
}

fn get_val<T>(value:&T)->&T::Ty
where
    T: GetType<"hello">,
{
    value.get()
}

(rust-lang/rust#71547)

bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 6, 2020
@bjorn3
Copy link
Owner Author

bjorn3 commented May 6, 2020

bisection job 650650115 started: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/650650115

@bjorn3
Copy link
Owner Author

bjorn3 commented May 6, 2020

bisection job 650650115 completed: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/650650115

@bjorn3
Copy link
Owner Author

bjorn3 commented May 9, 2020

bisect-bot bisect end=2020-04-01

pub async fn query<'a>(_: &(), _: &(), params: (&(dyn std::any::Any + 'a),) ) {}
fn main() {}

rust-lang/rust#72051

bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 9, 2020
@bjorn3
Copy link
Owner Author

bjorn3 commented May 9, 2020

bisection job 659650327 started: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/659650327

@bjorn3
Copy link
Owner Author

bjorn3 commented May 9, 2020

bisection job 659650327 completed: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/659650327

@bjorn3
Copy link
Owner Author

bjorn3 commented May 14, 2020

bisect-bot bisect end=2020-04-01

pub async fn query<'a>(_: &(), _: &(), params: (&(dyn std::any::Any + 'a),) ) {}
fn main() {}

bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue May 14, 2020
@bjorn3
Copy link
Owner Author

bjorn3 commented May 14, 2020

bisection job 674905998 started: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/674905998

@bjorn3
Copy link
Owner Author

bjorn3 commented May 14, 2020

bisection job 674905998 completed: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/674905998

@camelid
Copy link

camelid commented Jan 7, 2021

bisect-bot bisect start=2020-11-01

trait Tr {
    extern "rust-call" fn fun() {}
}

fn main() {}

(testing)

@bjorn3
Copy link
Owner Author

bjorn3 commented Jan 7, 2021

error: missing end range

Opened #3 to post a commet saying there is a problem.

@camelid
Copy link

camelid commented Jan 7, 2021

bisect-bot bisect start=2020-11-01 end=2020-12-25

trait Tr {
    extern "rust-call" fn fun() {}
}

fn main() {}

(testing)

bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue Jan 7, 2021
@bjorn3
Copy link
Owner Author

bjorn3 commented Jan 7, 2021

bisection job 1665262620 started: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/1665262620

@bjorn3
Copy link
Owner Author

bjorn3 commented Jan 7, 2021

bisection job 1665262620 completed: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/1665262620

@camelid
Copy link

camelid commented Jan 8, 2021

bisect-bot bisect start=2019-12-01 end=2020-01-27

trait SomeTrait {}

struct Exhibit {
    constant: usize,
    factory: fn(&usize) -> Box<dyn SomeTrait>,
}

const A_CONSTANT: &[Exhibit] = &[
    Exhibit {
        constant: 1,
        factory: |_| unimplemented!(),
    },
    Exhibit {
        constant: "Hello world".len(),
        factory: |_| unimplemented!(),
    },
];

fn main() {}

rust-lang/rust#80772

bjorn3 added a commit to bjorn3/cargo-bisect-rustc-bot-jobs that referenced this issue Jan 8, 2021
@bjorn3
Copy link
Owner Author

bjorn3 commented Jan 8, 2021

bisection job 1671453945 started: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/1671453945

@bjorn3
Copy link
Owner Author

bjorn3 commented Jan 8, 2021

bisection job 1671453945 completed: https://github.com/bjorn3/cargo-bisect-rustc-bot-jobs/runs/1671453945

@bjorn3
Copy link
Owner Author

bjorn3 commented Jan 8, 2021

@camelid According to rust.godbolt.org it switches from compile error at 1.40.0 to an ICE at 1.41.0. I believe you need to pass a specific argument to cargo-bisect-rustc to only fail on ICE's which I don't.

@camelid
Copy link

camelid commented Jan 8, 2021

@bjorn3 It doesn't error or ICE at 1.39: https://godbolt.org/z/bGWaGd

It was just my mistake: I passed in a start bound that was too late (the regression was in nightly-2019-11-29 but I set the start to be 2019-12-01).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants