[INFO] cloning repository https://github.com/polyfractal/Turbine [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/polyfractal/Turbine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpolyfractal%2FTurbine"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpolyfractal%2FTurbine'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d5c837956f4dfad7f4478cc02a2bafd98c77be14 [INFO] checking polyfractal/Turbine against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpolyfractal%2FTurbine" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/polyfractal/Turbine on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/polyfractal/Turbine [INFO] finished tweaking git repo https://github.com/polyfractal/Turbine [INFO] tweaked toml for git repo https://github.com/polyfractal/Turbine written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/polyfractal/Turbine already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "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] 2704be77d983734f0922748f97663cd9fe3d41478b6e40828c5823865c3e3a38 [INFO] running `"docker" "start" "-a" "2704be77d983734f0922748f97663cd9fe3d41478b6e40828c5823865c3e3a38"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking turbine v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/atomicnum.rs:183:30 [INFO] [stderr] | [INFO] [stderr] 181 | unsafe fn atomic_compare_and_swap(dst: *mut T, old:T, new:T, order: Ordering) -> T { [INFO] [stderr] | - expected `T` because of return type [INFO] [stderr] 182 | match order { [INFO] [stderr] 183 | Ordering::Acquire => intrinsics::atomic_cxchg_acq(dst, old, new), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter, found tuple [INFO] [stderr] | [INFO] [stderr] = note: expected type `T` [INFO] [stderr] found type `(T, bool)` [INFO] [stderr] = help: type parameters must be constrained to match other types [INFO] [stderr] = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `turbine`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0433]: failed to resolve: could not find `funcs` in `libc` [INFO] [stderr] --> src/lib.rs:407:15 [INFO] [stderr] | [INFO] [stderr] 407 | use libc::funcs::posix88::unistd::usleep; [INFO] [stderr] | ^^^^^ could not find `funcs` in `libc` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `usleep` in this scope [INFO] [stderr] --> src/lib.rs:1106:22 [INFO] [stderr] | [INFO] [stderr] 1106 | unsafe { usleep(10); } //sleep for 10 microseconds [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 407 | use libc::usleep; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `usleep` in this scope [INFO] [stderr] --> src/lib.rs:1135:26 [INFO] [stderr] | [INFO] [stderr] 1135 | unsafe { usleep(10); } //sleep for 10 microseconds [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 407 | use libc::usleep; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/lib.rs:82:14 [INFO] [stderr] | [INFO] [stderr] 82 | #[cfg(test)] extern crate libc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/atomicnum.rs:183:30 [INFO] [stderr] | [INFO] [stderr] 181 | unsafe fn atomic_compare_and_swap(dst: *mut T, old:T, new:T, order: Ordering) -> T { [INFO] [stderr] | - expected `T` because of return type [INFO] [stderr] 182 | match order { [INFO] [stderr] 183 | Ordering::Acquire => intrinsics::atomic_cxchg_acq(dst, old, new), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter, found tuple [INFO] [stderr] | [INFO] [stderr] = note: expected type `T` [INFO] [stderr] found type `(T, bool)` [INFO] [stderr] = help: type parameters must be constrained to match other types [INFO] [stderr] = note: for more information, visit https://doc.rust-lang.org/book/ch10-02-traits.html#traits-as-parameters [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0433, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `turbine`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2704be77d983734f0922748f97663cd9fe3d41478b6e40828c5823865c3e3a38"` [INFO] running `"docker" "rm" "-f" "2704be77d983734f0922748f97663cd9fe3d41478b6e40828c5823865c3e3a38"` [INFO] [stdout] 2704be77d983734f0922748f97663cd9fe3d41478b6e40828c5823865c3e3a38