[INFO] cloning repository https://github.com/Yummot/smallpt [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYummot%2Fsmallpt'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b18e353d78371ce13b7295254bb3f566c387f7b9 [INFO] checking Yummot/smallpt against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYummot%2Fsmallpt" "/workspace/builds/worker-13/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yummot/smallpt on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "read-manifest" "--manifest-path" "Cargo.toml"` [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-13/source/Cargo.toml [INFO] crate git repo https://github.com/Yummot/smallpt already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] b94baba372a44ebe2444a21aece461c02f2848ea85c5a06bffcb15b8e2568699 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "b94baba372a44ebe2444a21aece461c02f2848ea85c5a06bffcb15b8e2568699"` [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] Checking smallpt v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `threadpool::ThreadPoolBuilder` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use threadpool::ThreadPoolBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ThreadPoolBuilder` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rand::Rand`, `rand::Open01` [INFO] [stderr] --> src/main.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | use rand::{Rand, Open01}; [INFO] [stderr] | ^^^^ ^^^^^^ no `Open01` in the root [INFO] [stderr] | | [INFO] [stderr] | no `Rand` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `threadpool::ThreadPoolBuilder` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use threadpool::ThreadPoolBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ThreadPoolBuilder` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `rand::Rand`, `rand::Open01` [INFO] [stderr] --> src/main.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | use rand::{Rand, Open01}; [INFO] [stderr] | ^^^^ ^^^^^^ no `Open01` in the root [INFO] [stderr] | | [INFO] [stderr] | no `Rand` in the root [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/main.rs:106:26 [INFO] [stderr] | [INFO] [stderr] 106 | let mut t = unsafe { std::mem::uninitialized::() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/main.rs:106:26 [INFO] [stderr] | [INFO] [stderr] 106 | let mut t = unsafe { std::mem::uninitialized::() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `{float}` in the current scope [INFO] [stderr] --> src/main.rs:134:79 [INFO] [stderr] | [INFO] [stderr] 134 | let d = (u * r1.cos() * r2s + v * r1.sin() * r2s + w * (1.0 - r2).sqrt()).norm(); [INFO] [stderr] | ^^^^ method not found in `{float}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `{float}` in the current scope [INFO] [stderr] --> src/main.rs:217:62 [INFO] [stderr] | [INFO] [stderr] 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 - r2).sqrt() }); [INFO] [stderr] | ^^^^ method not found in `{float}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `{float}` in the current scope [INFO] [stderr] --> src/main.rs:217:101 [INFO] [stderr] | [INFO] [stderr] 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 - r2).sqrt() }); [INFO] [stderr] | ^^^^ method not found in `{float}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `{float}` in the current scope [INFO] [stderr] --> src/main.rs:217:128 [INFO] [stderr] | [INFO] [stderr] 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 - r2).sqrt() }); [INFO] [stderr] | ^^^^ method not found in `{float}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `{float}` in the current scope [INFO] [stderr] --> src/main.rs:217:167 [INFO] [stderr] | [INFO] [stderr] 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 - r2).sqrt() ... [INFO] [stderr] | ^^^^ method not found in `{float}` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `smallpt`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `{float}` in the current scope [INFO] [stderr] --> src/main.rs:134:79 [INFO] [stderr] | [INFO] [stderr] 134 | let d = (u * r1.cos() * r2s + v * r1.sin() * r2s + w * (1.0 - r2).sqrt()).norm(); [INFO] [stderr] | ^^^^ method not found in `{float}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `{float}` in the current scope [INFO] [stderr] --> src/main.rs:217:62 [INFO] [stderr] | [INFO] [stderr] 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 - r2).sqrt() }); [INFO] [stderr] | ^^^^ method not found in `{float}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `{float}` in the current scope [INFO] [stderr] --> src/main.rs:217:101 [INFO] [stderr] | [INFO] [stderr] 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 - r2).sqrt() }); [INFO] [stderr] | ^^^^ method not found in `{float}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `{float}` in the current scope [INFO] [stderr] --> src/main.rs:217:128 [INFO] [stderr] | [INFO] [stderr] 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 - r2).sqrt() }); [INFO] [stderr] | ^^^^ method not found in `{float}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `sqrt` found for type `{float}` in the current scope [INFO] [stderr] --> src/main.rs:217:167 [INFO] [stderr] | [INFO] [stderr] 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 - r2).sqrt() ... [INFO] [stderr] | ^^^^ method not found in `{float}` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `smallpt`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b94baba372a44ebe2444a21aece461c02f2848ea85c5a06bffcb15b8e2568699"` [INFO] running `"docker" "rm" "-f" "b94baba372a44ebe2444a21aece461c02f2848ea85c5a06bffcb15b8e2568699"` [INFO] [stdout] b94baba372a44ebe2444a21aece461c02f2848ea85c5a06bffcb15b8e2568699