[INFO] crate shs_core 0.3.0 is already in cache [INFO] checking shs_core-0.3.0 against try#d7b51666469c792a8a3f40849607739bae1e705e for pr-71665 [INFO] extracting crate shs_core 0.3.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate shs_core 0.3.0 on toolchain d7b51666469c792a8a3f40849607739bae1e705e [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate shs_core 0.3.0 [INFO] finished tweaking crates.io crate shs_core 0.3.0 [INFO] tweaked toml for crates.io crate shs_core 0.3.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+d7b51666469c792a8a3f40849607739bae1e705e" "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] d1d28b0d6912295ba0a1a2735612115bb7b34bdb6b5e83b72a3f3151bc3d244a [INFO] running `"docker" "start" "-a" "d1d28b0d6912295ba0a1a2735612115bb7b34bdb6b5e83b72a3f3151bc3d244a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking tinytemplate v1.0.4 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Compiling libsodium-sys v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.109 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking sodiumoxide v0.2.5 [INFO] [stderr] Checking ssb-crypto v0.1.4 [INFO] [stderr] Checking shs_core v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `sodiumoxide` [INFO] [stderr] --> benches/bench.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use sodiumoxide::crypto::box_; [INFO] [stderr] | ^^^^^^^^^^^ use of undeclared type or module `sodiumoxide` [INFO] [stderr] [INFO] [stderr] warning: unused import: `criterion::*` [INFO] [stderr] --> benches/bench.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use criterion::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `shs_core::*` [INFO] [stderr] --> benches/bench.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use shs_core::*; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `bench` [INFO] [stderr] --> benches/bench.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / extern crate criterion; [INFO] [stderr] 2 | | [INFO] [stderr] 3 | | use sodiumoxide::crypto::box_; [INFO] [stderr] 4 | | use criterion::*; [INFO] [stderr] 5 | | use shs_core::*; [INFO] [stderr] | |________________^ consider adding a `main` function to `benches/bench.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0433, E0601. [INFO] [stderr] For more information about an error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `shs_core`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "d1d28b0d6912295ba0a1a2735612115bb7b34bdb6b5e83b72a3f3151bc3d244a"` [INFO] running `"docker" "rm" "-f" "d1d28b0d6912295ba0a1a2735612115bb7b34bdb6b5e83b72a3f3151bc3d244a"` [INFO] [stdout] d1d28b0d6912295ba0a1a2735612115bb7b34bdb6b5e83b72a3f3151bc3d244a