[INFO] cloning repository https://github.com/drivasperez/raytrace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drivasperez/raytrace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrivasperez%2Fraytrace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrivasperez%2Fraytrace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3674733a56b8f4d490d14b0423aa2b85559ad75 [INFO] checking drivasperez/raytrace/c3674733a56b8f4d490d14b0423aa2b85559ad75 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrivasperez%2Fraytrace" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drivasperez/raytrace on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/drivasperez/raytrace [INFO] finished tweaking git repo https://github.com/drivasperez/raytrace [INFO] tweaked toml for git repo https://github.com/drivasperez/raytrace written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/drivasperez/raytrace 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.49 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.49 [INFO] [stderr] Downloaded quote v1.0.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.49 [INFO] [stderr] Downloaded proc-macro2 v1.0.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.49 [INFO] [stderr] Downloaded js-sys v0.3.26 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.49 [INFO] [stderr] Downloaded bumpalo v2.5.0 [INFO] [stderr] Downloaded syn v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cadf86c412e86aacde3544e8f31d87d508e408aa0ae265f5babba321bfb308f [INFO] running `Command { std: "docker" "start" "-a" "5cadf86c412e86aacde3544e8f31d87d508e408aa0ae265f5babba321bfb308f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cadf86c412e86aacde3544e8f31d87d508e408aa0ae265f5babba321bfb308f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cadf86c412e86aacde3544e8f31d87d508e408aa0ae265f5babba321bfb308f", kill_on_drop: false }` [INFO] [stdout] 5cadf86c412e86aacde3544e8f31d87d508e408aa0ae265f5babba321bfb308f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6b41d5e3aa343122ac6a4a5230c0c39a7b2b4a20b4002ec0240ecf2ecc7de6c [INFO] running `Command { std: "docker" "start" "-a" "f6b41d5e3aa343122ac6a4a5230c0c39a7b2b4a20b4002ec0240ecf2ecc7de6c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.49 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling bumpalo v2.5.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.49 [INFO] [stderr] Compiling quote v1.0.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.49 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.49 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.49 [INFO] [stderr] Checking js-sys v0.3.26 [INFO] [stderr] Checking raytrace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stdout] --> src/lib.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | if #[cfg(feature = "wee_alloc")] { [INFO] [stdout] | ^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stdout] --> src/lib.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | if #[cfg(feature = "wee_alloc")] { [INFO] [stdout] | ^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere_pos` [INFO] [stdout] --> src/lib.rs:85:49 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn new(nx: usize, ny: usize, ns: usize, sphere_pos: Vec3) -> Scene { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/lib.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Pixel(u8, u8, u8); [INFO] [stdout] | ----- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere_pos` [INFO] [stdout] --> src/lib.rs:85:49 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn new(nx: usize, ny: usize, ns: usize, sphere_pos: Vec3) -> Scene { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/lib.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Pixel(u8, u8, u8); [INFO] [stdout] | ----- ^^ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/bin/draw_image.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `image` [INFO] [stdout] --> src/bin/draw_image.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use image; [INFO] [stdout] | ^^^^^ no external crate `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/bin/draw_image.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `image` [INFO] [stdout] --> src/bin/draw_image.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use image; [INFO] [stdout] | ^^^^^ no external crate `image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/bin/draw_image.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> src/bin/draw_image.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/bin/draw_image.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let world = random_scene(); [INFO] [stdout] | ^^^^^^^^^^^^-- argument #1 of type `Vec3` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn random_scene(sphere_pos: Vec3) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 16 | let world = random_scene(/* Vec3 */); [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/bin/draw_image.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let world = random_scene(); [INFO] [stdout] | ^^^^^^^^^^^^-- argument #1 of type `Vec3` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn random_scene(sphere_pos: Vec3) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 16 | let world = random_scene(/* Vec3 */); [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raytrace` (bin "draw_image") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `raytrace` (bin "draw_image" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "f6b41d5e3aa343122ac6a4a5230c0c39a7b2b4a20b4002ec0240ecf2ecc7de6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6b41d5e3aa343122ac6a4a5230c0c39a7b2b4a20b4002ec0240ecf2ecc7de6c", kill_on_drop: false }` [INFO] [stdout] f6b41d5e3aa343122ac6a4a5230c0c39a7b2b4a20b4002ec0240ecf2ecc7de6c