[INFO] updating cached repository https://github.com/lcpp-org/RustBCA [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] [stderr] From https://github.com/lcpp-org/RustBCA [INFO] [stderr] 1eed560..575a40d master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 575a40d5f442ecbbf296834a183665b48090f09e [INFO] checking lcpp-org/RustBCA against master#339f574809bf8e4166b8de3cdbe7df181d37af3d for pr-71896 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcpp-org%2FRustBCA" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lcpp-org/RustBCA on toolchain 339f574809bf8e4166b8de3cdbe7df181d37af3d [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/lcpp-org/RustBCA [INFO] finished tweaking git repo https://github.com/lcpp-org/RustBCA [INFO] tweaked toml for git repo https://github.com/lcpp-org/RustBCA written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/lcpp-org/RustBCA already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: unused manifest key: profile.release.target-cpu [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: unused manifest key: profile.release.target-cpu [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+339f574809bf8e4166b8de3cdbe7df181d37af3d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e4a26afd3ae55712bc9317c18911c8fab94ea0a7a5c0ab99b1940c597632ba72 [INFO] running `"docker" "start" "-a" "e4a26afd3ae55712bc9317c18911c8fab94ea0a7a5c0ab99b1940c597632ba72"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unused manifest key: profile.release.target-cpu [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.107 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking threadpool v1.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rstar v0.2.0 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking geo-types v0.4.3 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.107 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking geo v0.12.2 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking rustBCA v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `float_cmp` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use float_cmp::*; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `float_cmp` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::process` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::process; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:858:16 [INFO] [stderr] | [INFO] [stderr] 858 | if (costheta < 0.) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/main.rs:1090:5 [INFO] [stderr] | [INFO] [stderr] 1090 | 'particle_loop: while particle_index > 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_labels)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/main.rs:1100:9 [INFO] [stderr] | [INFO] [stderr] 1100 | 'trajectory_loop: while !particle_1.stopped & !particle_1.left { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/main.rs:1115:13 [INFO] [stderr] | [INFO] [stderr] 1115 | 'collision_loop: for k in 0..options.weak_collision_order + 1 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `float_cmp` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use float_cmp::*; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `float_cmp` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `approx_eq` in this scope [INFO] [stderr] --> src/main.rs:717:13 [INFO] [stderr] | [INFO] [stderr] 717 | assert!(approx_eq!(f64, particle.dir.x, 0., epsilon = 1e-9), "particle.dir.x: {} Should be ~0.", particle.dir.x); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `approx_eq` in this scope [INFO] [stderr] --> src/main.rs:718:13 [INFO] [stderr] | [INFO] [stderr] 718 | assert!(approx_eq!(f64, particle.dir.y, 1., epsilon = 1e-9), "particle.dir.y: {} Should be ~1.", particle.dir.y); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `approx_eq` in this scope [INFO] [stderr] --> src/main.rs:722:13 [INFO] [stderr] | [INFO] [stderr] 722 | assert!(approx_eq!(f64, particle.dir.x, cosx, epsilon = 1e-9), "particle.dir.x: {} Should be ~{}", particle.dir.x, cosx); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `approx_eq` in this scope [INFO] [stderr] --> src/main.rs:723:13 [INFO] [stderr] | [INFO] [stderr] 723 | assert!(approx_eq!(f64, particle.dir.y, cosy, epsilon = 1e-9), "particle.dir.y: {} Should be ~{}", particle.dir.y, cosy); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `approx_eq` in this scope [INFO] [stderr] --> src/main.rs:728:13 [INFO] [stderr] | [INFO] [stderr] 728 | assert!(approx_eq!(f64, particle.dir.x, 1., epsilon = 1e-9), "particle.dir.x: {} Should be ~1.", particle.dir.x); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `approx_eq` in this scope [INFO] [stderr] --> src/main.rs:729:13 [INFO] [stderr] | [INFO] [stderr] 729 | assert!(approx_eq!(f64, particle.dir.y, 0., epsilon = 1e-9), "particle.dir.y: {} Should be ~0.", particle.dir.y); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `approx_eq` in this scope [INFO] [stderr] --> src/main.rs:732:13 [INFO] [stderr] | [INFO] [stderr] 732 | assert!(approx_eq!(f64, particle.dir.x.powf(2.) + particle.dir.y.powf(2.) + particle.dir.z.powf(2.), 1.), "Particle direction not normalized."); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::process` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use std::process; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:858:16 [INFO] [stderr] | [INFO] [stderr] 858 | if (costheta < 0.) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/main.rs:1090:5 [INFO] [stderr] | [INFO] [stderr] 1090 | 'particle_loop: while particle_index > 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_labels)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/main.rs:1100:9 [INFO] [stderr] | [INFO] [stderr] 1100 | 'trajectory_loop: while !particle_1.stopped & !particle_1.left { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/main.rs:1115:13 [INFO] [stderr] | [INFO] [stderr] 1115 | 'collision_loop: for k in 0..options.weak_collision_order + 1 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 6 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `rustBCA`. [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] [stderr] error: aborting due to 8 previous errors; 6 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `rustBCA`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e4a26afd3ae55712bc9317c18911c8fab94ea0a7a5c0ab99b1940c597632ba72"` [INFO] running `"docker" "rm" "-f" "e4a26afd3ae55712bc9317c18911c8fab94ea0a7a5c0ab99b1940c597632ba72"` [INFO] [stdout] e4a26afd3ae55712bc9317c18911c8fab94ea0a7a5c0ab99b1940c597632ba72