[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 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYummot%2Fsmallpt" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yummot/smallpt on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Yummot/smallpt [INFO] removed path dependency threadpool from 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-12/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: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (threadpool) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-12/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (threadpool) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81aed24e82f31ce22bf46646953984e21236dcb6da2bcfc413654655646dab48 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "81aed24e82f31ce22bf46646953984e21236dcb6da2bcfc413654655646dab48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81aed24e82f31ce22bf46646953984e21236dcb6da2bcfc413654655646dab48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81aed24e82f31ce22bf46646953984e21236dcb6da2bcfc413654655646dab48", kill_on_drop: false }` [INFO] [stdout] 81aed24e82f31ce22bf46646953984e21236dcb6da2bcfc413654655646dab48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c8ef6471a35ea005d33c256fbeb93a2aa1e4b5233e84066870998f5535122e8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8c8ef6471a35ea005d33c256fbeb93a2aa1e4b5233e84066870998f5535122e8", kill_on_drop: false }` [INFO] [stderr] warning: dependency (threadpool) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking smallpt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `threadpool::ThreadPoolBuilder` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use threadpool::ThreadPoolBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ThreadPoolBuilder` in the root [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] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:106:26 [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[E0432]: unresolved import `threadpool::ThreadPoolBuilder` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use threadpool::ThreadPoolBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ThreadPoolBuilder` in the root [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] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:106:26 [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: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: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: aborting due to 7 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: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: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 7 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: build failed [INFO] running `Command { std: "docker" "inspect" "8c8ef6471a35ea005d33c256fbeb93a2aa1e4b5233e84066870998f5535122e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c8ef6471a35ea005d33c256fbeb93a2aa1e4b5233e84066870998f5535122e8", kill_on_drop: false }` [INFO] [stdout] 8c8ef6471a35ea005d33c256fbeb93a2aa1e4b5233e84066870998f5535122e8