[INFO] cloning repository https://github.com/Charles-Schleich/Rust-Send-Sync-Threading [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Charles-Schleich/Rust-Send-Sync-Threading" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharles-Schleich%2FRust-Send-Sync-Threading", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharles-Schleich%2FRust-Send-Sync-Threading'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07fd79ec1cfcedb035139d0f40f12afc78bd47af [INFO] building Charles-Schleich/Rust-Send-Sync-Threading against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharles-Schleich%2FRust-Send-Sync-Threading" "/workspace/builds/worker-39/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-39/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Charles-Schleich/Rust-Send-Sync-Threading on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Charles-Schleich/Rust-Send-Sync-Threading [INFO] finished tweaking git repo https://github.com/Charles-Schleich/Rust-Send-Sync-Threading [INFO] tweaked toml for git repo https://github.com/Charles-Schleich/Rust-Send-Sync-Threading written to /workspace/builds/worker-39/source/Cargo.toml [INFO] crate git repo https://github.com/Charles-Schleich/Rust-Send-Sync-Threading already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6949b20b3e6d0a8be05692eec9ef4db563aec8994de92cabe83e168d238f584d [INFO] running `Command { std: "docker" "start" "-a" "6949b20b3e6d0a8be05692eec9ef4db563aec8994de92cabe83e168d238f584d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6949b20b3e6d0a8be05692eec9ef4db563aec8994de92cabe83e168d238f584d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6949b20b3e6d0a8be05692eec9ef4db563aec8994de92cabe83e168d238f584d", kill_on_drop: false }` [INFO] [stdout] 6949b20b3e6d0a8be05692eec9ef4db563aec8994de92cabe83e168d238f584d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8f9e7ae0c7181fcab325bed958c543d35474068f4c6dbdf0c71818b06600a94 [INFO] running `Command { std: "docker" "start" "-a" "b8f9e7ae0c7181fcab325bed958c543d35474068f4c6dbdf0c71818b06600a94", kill_on_drop: false }` [INFO] [stderr] Compiling send_sync_traits v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `foo_example::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use foo_example::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub objects: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - pub objects: Vec> [INFO] [stdout] 32 + pub objects: Vec> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn add(&mut self, sharedptr:Box ){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - pub fn add(&mut self, sharedptr:Box ){ [INFO] [stdout] 43 + pub fn add(&mut self, sharedptr:Box ){ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/foo_example.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | let counter: Arc> = Arc::new(Box::new(FooImpl { c: 23 })); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - let counter: Arc> = Arc::new(Box::new(FooImpl { c: 23 })); [INFO] [stdout] 28 + let counter: Arc> = Arc::new(Box::new(FooImpl { c: 23 })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmin` [INFO] [stdout] --> src/main.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn hit(&self,tmin:f64, tmax:f64 ) -> Option{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tmin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmax` [INFO] [stdout] --> src/main.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | fn hit(&self,tmin:f64, tmax:f64 ) -> Option{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tmax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/foo_example.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut ctr = counter.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/foo_example.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.54s [INFO] running `Command { std: "docker" "inspect" "b8f9e7ae0c7181fcab325bed958c543d35474068f4c6dbdf0c71818b06600a94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8f9e7ae0c7181fcab325bed958c543d35474068f4c6dbdf0c71818b06600a94", kill_on_drop: false }` [INFO] [stdout] b8f9e7ae0c7181fcab325bed958c543d35474068f4c6dbdf0c71818b06600a94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-39/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e769e45525af445742fbd90e5a52c10ac8d7dea33ee551c1d50195c9bb348ec7 [INFO] running `Command { std: "docker" "start" "-a" "e769e45525af445742fbd90e5a52c10ac8d7dea33ee551c1d50195c9bb348ec7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling send_sync_traits v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `foo_example::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use foo_example::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub objects: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - pub objects: Vec> [INFO] [stdout] 32 + pub objects: Vec> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn add(&mut self, sharedptr:Box ){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - pub fn add(&mut self, sharedptr:Box ){ [INFO] [stdout] 43 + pub fn add(&mut self, sharedptr:Box ){ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/foo_example.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | let counter: Arc> = Arc::new(Box::new(FooImpl { c: 23 })); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - let counter: Arc> = Arc::new(Box::new(FooImpl { c: 23 })); [INFO] [stdout] 28 + let counter: Arc> = Arc::new(Box::new(FooImpl { c: 23 })); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmin` [INFO] [stdout] --> src/main.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | fn hit(&self,tmin:f64, tmax:f64 ) -> Option{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tmin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmax` [INFO] [stdout] --> src/main.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | fn hit(&self,tmin:f64, tmax:f64 ) -> Option{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tmax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/foo_example.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut ctr = counter.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/foo_example.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.05s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/send_sync_traits-c412f0636c539da6) [INFO] running `Command { std: "docker" "inspect" "e769e45525af445742fbd90e5a52c10ac8d7dea33ee551c1d50195c9bb348ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e769e45525af445742fbd90e5a52c10ac8d7dea33ee551c1d50195c9bb348ec7", kill_on_drop: false }` [INFO] [stdout] e769e45525af445742fbd90e5a52c10ac8d7dea33ee551c1d50195c9bb348ec7