[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] checking Charles-Schleich/Rust-Send-Sync-Threading against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharles-Schleich%2FRust-Send-Sync-Threading" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Charles-Schleich/Rust-Send-Sync-Threading on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-14/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 101e8f951d88e47af9d3c84ab36770ccc736f5d202acecea88e50c083933fcef [INFO] running `Command { std: "docker" "start" "-a" "101e8f951d88e47af9d3c84ab36770ccc736f5d202acecea88e50c083933fcef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "101e8f951d88e47af9d3c84ab36770ccc736f5d202acecea88e50c083933fcef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "101e8f951d88e47af9d3c84ab36770ccc736f5d202acecea88e50c083933fcef", kill_on_drop: false }` [INFO] [stdout] 101e8f951d88e47af9d3c84ab36770ccc736f5d202acecea88e50c083933fcef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16202f8299a883f6dfe8790f62051638a7f1b454a28b1c0928b62ab08c8dee90 [INFO] running `Command { std: "docker" "start" "-a" "16202f8299a883f6dfe8790f62051638a7f1b454a28b1c0928b62ab08c8dee90", kill_on_drop: false }` [INFO] [stderr] Checking send_sync_traits v0.1.0 (/opt/rustwide/workdir) [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] | ^^^ help: use `dyn`: `dyn Foo` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Hittable + Send + 'static + Sync` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Hittable + Send+ 'static + Sync` [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 issue #80165 [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] | ^^^ help: use `dyn`: `dyn Foo` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Hittable + Send + 'static + Sync` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Hittable + Send+ 'static + Sync` [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 issue #80165 [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: 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: 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] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "16202f8299a883f6dfe8790f62051638a7f1b454a28b1c0928b62ab08c8dee90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16202f8299a883f6dfe8790f62051638a7f1b454a28b1c0928b62ab08c8dee90", kill_on_drop: false }` [INFO] [stdout] 16202f8299a883f6dfe8790f62051638a7f1b454a28b1c0928b62ab08c8dee90