[INFO] cloning repository https://github.com/Yummot/smallpt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yummot/smallpt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYummot%2Fsmallpt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYummot%2Fsmallpt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b18e353d78371ce13b7295254bb3f566c387f7b9 [INFO] checking Yummot/smallpt/b18e353d78371ce13b7295254bb3f566c387f7b9 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYummot%2Fsmallpt" "/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/Yummot/smallpt 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/Yummot/smallpt [INFO] finished tweaking git repo https://github.com/Yummot/smallpt [INFO] tweaked toml for git repo https://github.com/Yummot/smallpt written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Yummot/smallpt 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding byteorder v1.5.0 [INFO] [stderr] Adding cfg-if v1.0.0 [INFO] [stderr] Adding getrandom v0.2.15 [INFO] [stderr] Adding libc v0.2.159 [INFO] [stderr] Adding ppv-lite86 v0.2.20 [INFO] [stderr] Adding proc-macro2 v1.0.86 [INFO] [stderr] Adding quote v1.0.37 [INFO] [stderr] Adding rand v0.8.5 [INFO] [stderr] Adding rand_chacha v0.3.1 [INFO] [stderr] Adding rand_core v0.6.4 [INFO] [stderr] Adding syn v2.0.79 [INFO] [stderr] Adding unicode-ident v1.0.13 [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding zerocopy v0.7.35 [INFO] [stderr] Adding zerocopy-derive v0.7.35 [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] 3af95c56f17500f8f7e45e2d61e7309e10738884b071ff019449273e0fffea5c [INFO] running `Command { std: "docker" "start" "-a" "3af95c56f17500f8f7e45e2d61e7309e10738884b071ff019449273e0fffea5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3af95c56f17500f8f7e45e2d61e7309e10738884b071ff019449273e0fffea5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3af95c56f17500f8f7e45e2d61e7309e10738884b071ff019449273e0fffea5c", kill_on_drop: false }` [INFO] [stdout] 3af95c56f17500f8f7e45e2d61e7309e10738884b071ff019449273e0fffea5c [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] f13287c32568de850b8fb2dacb317b1655ee215f9db8ebcdf1a498b95c68902c [INFO] running `Command { std: "docker" "start" "-a" "f13287c32568de850b8fb2dacb317b1655ee215f9db8ebcdf1a498b95c68902c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking threadpool v0.1.0 (/opt/rustwide/workdir/dependencies/threadpool) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> dependencies/threadpool/src/lib.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | type Thunk<'a> = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | type Thunk<'a> = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking smallpt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `rand::Rand`, `rand::Open01` [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::{Rand, Open01}; [INFO] [stdout] | ^^^^ ^^^^^^ no `Open01` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Rand` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] rand::distributions::Open01 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rand::Rand`, `rand::Open01` [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::{Rand, Open01}; [INFO] [stdout] | ^^^^ ^^^^^^ no `Open01` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Rand` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] rand::distributions::Open01 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:106:36 [INFO] [stdout] | [INFO] [stdout] 106 | let mut t = unsafe { std::mem::uninitialized::() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:106:36 [INFO] [stdout] | [INFO] [stdout] 106 | let mut t = unsafe { std::mem::uninitialized::() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/main.rs:134:79 [INFO] [stdout] | [INFO] [stdout] 134 | let d = (u * r1.cos() * r2s + v * r1.sin() * r2s + w * (1.0 - r2).sqrt()).norm(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/main.rs:134:79 [INFO] [stdout] | [INFO] [stdout] 134 | let d = (u * r1.cos() * r2s + v * r1.sin() * r2s + w * (1.0 - r2).sqrt()).norm(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/main.rs:217:62 [INFO] [stdout] | [INFO] [stdout] 216 | ... let (r1, r2) = (2.0 * rand1, 2.0 * rand2); [INFO] [stdout] | -- you must specify a type for this binding, like `f32` [INFO] [stdout] 217 | ... let (dx, dy) = (if r1 < 1.0 { r1.sqrt() - 1.0 } else { 1.0 - (2.0 - r1).sqrt() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 - (2.0... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/main.rs:217:62 [INFO] [stdout] | [INFO] [stdout] 216 | ... let (r1, r2) = (2.0 * rand1, 2.0 * rand2); [INFO] [stdout] | -- you must specify a type for this binding, like `f32` [INFO] [stdout] 217 | ... let (dx, dy) = (if r1 < 1.0 { r1.sqrt() - 1.0 } else { 1.0 - (2.0 - r1).sqrt() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 - (2.0... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/main.rs:217:101 [INFO] [stdout] | [INFO] [stdout] 217 | ... let (dx, dy) = (if r1 < 1.0 { r1.sqrt() - 1.0 } else { 1.0 - (2.0 - r1).sqrt() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 - (2.0... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/main.rs:217:101 [INFO] [stdout] | [INFO] [stdout] 217 | ... let (dx, dy) = (if r1 < 1.0 { r1.sqrt() - 1.0 } else { 1.0 - (2.0 - r1).sqrt() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 - (2.0... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/main.rs:217:128 [INFO] [stdout] | [INFO] [stdout] 216 | ... let (r1, r2) = (2.0 * rand1, 2.0 * rand2); [INFO] [stdout] | -- you must specify a type for this binding, like `f32` [INFO] [stdout] 217 | ... let (dx, dy) = (if r1 < 1.0 { r1.sqrt() - 1.0 } else { 1.0 - (2.0 - r1).sqrt() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 - (2.0... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/main.rs:217:128 [INFO] [stdout] | [INFO] [stdout] 216 | ... let (r1, r2) = (2.0 * rand1, 2.0 * rand2); [INFO] [stdout] | -- you must specify a type for this binding, like `f32` [INFO] [stdout] 217 | ... let (dx, dy) = (if r1 < 1.0 { r1.sqrt() - 1.0 } else { 1.0 - (2.0 - r1).sqrt() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 - (2.0... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/main.rs:217:167 [INFO] [stdout] | [INFO] [stdout] 217 | ...qrt() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 - (2.0 - r2).sqrt() }); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [INFO] [stdout] --> src/main.rs:217:167 [INFO] [stdout] | [INFO] [stdout] 217 | ...qrt() }, if r2 < 1.0 { r2.sqrt() - 1.0 } else { 1.0 - (2.0 - r2).sqrt() }); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `smallpt` (bin "smallpt") due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `smallpt` (bin "smallpt" test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "f13287c32568de850b8fb2dacb317b1655ee215f9db8ebcdf1a498b95c68902c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f13287c32568de850b8fb2dacb317b1655ee215f9db8ebcdf1a498b95c68902c", kill_on_drop: false }` [INFO] [stdout] f13287c32568de850b8fb2dacb317b1655ee215f9db8ebcdf1a498b95c68902c