[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#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCharles-Schleich%2FRust-Send-Sync-Threading" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Charles-Schleich/Rust-Send-Sync-Threading on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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-2/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" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdc6fb02c00447ad334667ba6caa16482b76baf2fbf7200a7da43a66ad3ddedc [INFO] running `Command { std: "docker" "start" "-a" "bdc6fb02c00447ad334667ba6caa16482b76baf2fbf7200a7da43a66ad3ddedc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdc6fb02c00447ad334667ba6caa16482b76baf2fbf7200a7da43a66ad3ddedc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdc6fb02c00447ad334667ba6caa16482b76baf2fbf7200a7da43a66ad3ddedc", kill_on_drop: false }` [INFO] [stdout] bdc6fb02c00447ad334667ba6caa16482b76baf2fbf7200a7da43a66ad3ddedc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 851461cafd1e1d860ff744f92c4e5024ea9b5af5e05f93e44302b9b67c6ec227 [INFO] running `Command { std: "docker" "start" "-a" "851461cafd1e1d860ff744f92c4e5024ea9b5af5e05f93e44302b9b67c6ec227", 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: 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: 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 0.31s [INFO] running `Command { std: "docker" "inspect" "851461cafd1e1d860ff744f92c4e5024ea9b5af5e05f93e44302b9b67c6ec227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "851461cafd1e1d860ff744f92c4e5024ea9b5af5e05f93e44302b9b67c6ec227", kill_on_drop: false }` [INFO] [stdout] 851461cafd1e1d860ff744f92c4e5024ea9b5af5e05f93e44302b9b67c6ec227