[INFO] cloning repository https://github.com/huwb/rust-rt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huwb/rust-rt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuwb%2Frust-rt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuwb%2Frust-rt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34c4b6019d92713f1f3adcb6336a82acdbff1ee8 [INFO] checking huwb/rust-rt against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuwb%2Frust-rt" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huwb/rust-rt on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/huwb/rust-rt [INFO] finished tweaking git repo https://github.com/huwb/rust-rt [INFO] tweaked toml for git repo https://github.com/huwb/rust-rt written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate git repo https://github.com/huwb/rust-rt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple-stopwatch v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b928565ca34608d6169b98ca310f4591c3b9326e94ad43e71c4fa9507f1c57a [INFO] running `Command { std: "docker" "start" "-a" "8b928565ca34608d6169b98ca310f4591c3b9326e94ad43e71c4fa9507f1c57a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b928565ca34608d6169b98ca310f4591c3b9326e94ad43e71c4fa9507f1c57a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b928565ca34608d6169b98ca310f4591c3b9326e94ad43e71c4fa9507f1c57a", kill_on_drop: false }` [INFO] [stdout] 8b928565ca34608d6169b98ca310f4591c3b9326e94ad43e71c4fa9507f1c57a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddc0cd3865c0004ccc9e934c170f59e3210a618295bac20b629aa8f4abec06b6 [INFO] running `Command { std: "docker" "start" "-a" "ddc0cd3865c0004ccc9e934c170f59e3210a618295bac20b629aa8f4abec06b6", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking simple-stopwatch v0.1.4 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking rust-rt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/threadpool.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vector.rs:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn random_on_sphere(rng: &mut Rng) -> Vector { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | fn scatter(&self, r: &Ray, hr: &HitRecord, rng: &mut Rng) -> Option<(Vector, Ray)> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:176:49 [INFO] [stdout] | [INFO] [stdout] 176 | fn render(r: Ray, bounces_rem: usize, rng: &mut Rng) -> Vector { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:203:36 [INFO] [stdout] | [INFO] [stdout] 203 | fn color(u: f32, v: f32, rng: &mut Rng) -> Vector { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/threadpool.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | pub type Job = Box; [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vector.rs:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn random_on_sphere(rng: &mut Rng) -> Vector { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | fn scatter(&self, r: &Ray, hr: &HitRecord, rng: &mut Rng) -> Option<(Vector, Ray)> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:176:49 [INFO] [stdout] | [INFO] [stdout] 176 | fn render(r: Ray, bounces_rem: usize, rng: &mut Rng) -> Vector { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:203:36 [INFO] [stdout] | [INFO] [stdout] 203 | fn color(u: f32, v: f32, rng: &mut Rng) -> Vector { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Rng` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | let mut xf = x as f32; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:260:25 [INFO] [stdout] | [INFO] [stdout] 260 | let mut i = color(u, v, &mut rng); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let mut yf = y as f32; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let mut row = Arc::clone(&&image[y]); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | let mut xf = x as f32; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:260:25 [INFO] [stdout] | [INFO] [stdout] 260 | let mut i = color(u, v, &mut rng); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let mut yf = y as f32; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | let mut row = Arc::clone(&&image[y]); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.86s [INFO] running `Command { std: "docker" "inspect" "ddc0cd3865c0004ccc9e934c170f59e3210a618295bac20b629aa8f4abec06b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddc0cd3865c0004ccc9e934c170f59e3210a618295bac20b629aa8f4abec06b6", kill_on_drop: false }` [INFO] [stdout] ddc0cd3865c0004ccc9e934c170f59e3210a618295bac20b629aa8f4abec06b6