[INFO] updating cached repository https://github.com/Yummot/smallpt [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b18e353d78371ce13b7295254bb3f566c387f7b9 [INFO] testing Yummot/smallpt against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYummot%2Fsmallpt" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Yummot/smallpt on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-5/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" "+beta-2020-06-03" "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-5/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ea56b363767ba1ffc1333acaae7f83bb81f14047806e629a7460e1b03e086f8d [INFO] running `"docker" "start" "-a" "ea56b363767ba1ffc1333acaae7f83bb81f14047806e629a7460e1b03e086f8d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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 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] 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[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [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] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [INFO] [stderr] --> src/main.rs:217:62 [INFO] [stderr] | [INFO] [stderr] 216 | ... let (r1, r2) = (2.0 * rand1, 2.0 * rand2); [INFO] [stderr] | -- you must specify a type for this binding, like `f32` [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] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [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] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [INFO] [stderr] --> src/main.rs:217:128 [INFO] [stderr] | [INFO] [stderr] 216 | ... let (r1, r2) = (2.0 * rand1, 2.0 * rand2); [INFO] [stderr] | -- you must specify a type for this binding, like `f32` [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] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0689]: can't call method `sqrt` on ambiguous numeric type `{float}` [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] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0689. [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" "ea56b363767ba1ffc1333acaae7f83bb81f14047806e629a7460e1b03e086f8d"` [INFO] running `"docker" "rm" "-f" "ea56b363767ba1ffc1333acaae7f83bb81f14047806e629a7460e1b03e086f8d"` [INFO] [stdout] ea56b363767ba1ffc1333acaae7f83bb81f14047806e629a7460e1b03e086f8d