[INFO] cloning repository https://github.com/abh1nav10/interior_mutability [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abh1nav10/interior_mutability" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabh1nav10%2Finterior_mutability", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabh1nav10%2Finterior_mutability'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fb448b146600e7bcdcbdbf86c65356e141a7796 [INFO] checking abh1nav10/interior_mutability against try#a611f2a14e38407ec6717a86a01424ee6fc80762 for pr-154992-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabh1nav10%2Finterior_mutability" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/abh1nav10/interior_mutability [INFO] finished tweaking git repo https://github.com/abh1nav10/interior_mutability [INFO] tweaked toml for git repo https://github.com/abh1nav10/interior_mutability written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/abh1nav10/interior_mutability on toolchain a611f2a14e38407ec6717a86a01424ee6fc80762 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/abh1nav10/interior_mutability already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8944c791d4ebf41a02e631deea59240f54f95c301ad66a20c2f8dca483acaa35 [INFO] running `Command { std: "docker" "start" "-a" "8944c791d4ebf41a02e631deea59240f54f95c301ad66a20c2f8dca483acaa35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8944c791d4ebf41a02e631deea59240f54f95c301ad66a20c2f8dca483acaa35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8944c791d4ebf41a02e631deea59240f54f95c301ad66a20c2f8dca483acaa35", kill_on_drop: false }` [INFO] [stdout] 8944c791d4ebf41a02e631deea59240f54f95c301ad66a20c2f8dca483acaa35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2201dce1445e42cdd3741e25c2007bbc00337e1fa0e05bc7c683b20248ac77d7 [INFO] running `Command { std: "docker" "start" "-a" "2201dce1445e42cdd3741e25c2007bbc00337e1fa0e05bc7c683b20248ac77d7", kill_on_drop: false }` [INFO] [stderr] Checking rusty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `RcInner` is never constructed [INFO] [stdout] --> src/rc.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RcInner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rc` is never constructed [INFO] [stdout] --> src/rc.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_ref`, and `get_mut` are never used [INFO] [stdout] --> src/rc.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Rc { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(item: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_ref(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_mut(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RefCell` is never constructed [INFO] [stdout] --> src/refcell.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RefCell { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RefState` is never used [INFO] [stdout] --> src/refcell.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum RefState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ref` is never constructed [INFO] [stdout] --> src/refcell.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Ref<'refcell, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RefMut` is never constructed [INFO] [stdout] --> src/refcell.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RefMut<'refcell, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `borrow`, and `borrow_mut` are never used [INFO] [stdout] --> src/refcell.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl RefCell { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 28 | pub fn new(item: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn borrow(&self) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn borrow_mut(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rc.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_ref(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_ref(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rc.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_mut(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_mut(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RcInner` is never constructed [INFO] [stdout] --> src/rc.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct RcInner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rc` is never constructed [INFO] [stdout] --> src/rc.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_ref`, and `get_mut` are never used [INFO] [stdout] --> src/rc.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Rc { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(item: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_ref(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_mut(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RefCell` is never constructed [INFO] [stdout] --> src/refcell.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RefCell { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RefState` is never used [INFO] [stdout] --> src/refcell.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum RefState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ref` is never constructed [INFO] [stdout] --> src/refcell.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Ref<'refcell, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RefMut` is never constructed [INFO] [stdout] --> src/refcell.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RefMut<'refcell, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `borrow`, and `borrow_mut` are never used [INFO] [stdout] --> src/refcell.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl RefCell { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 28 | pub fn new(item: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn borrow(&self) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn borrow_mut(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rc.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_ref(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_ref(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rc.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_mut(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | pub fn get_mut(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "2201dce1445e42cdd3741e25c2007bbc00337e1fa0e05bc7c683b20248ac77d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2201dce1445e42cdd3741e25c2007bbc00337e1fa0e05bc7c683b20248ac77d7", kill_on_drop: false }` [INFO] [stdout] 2201dce1445e42cdd3741e25c2007bbc00337e1fa0e05bc7c683b20248ac77d7