[INFO] crate shs_core 0.3.0 is already in cache [INFO] checking shs_core-0.3.0 against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] extracting crate shs_core 0.3.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate shs_core 0.3.0 on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "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-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "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-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" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c48a00a50f0a7b4e88f8263fb412db84977afe5b2b3ed5e2de0caafaf23bee79 [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" "c48a00a50f0a7b4e88f8263fb412db84977afe5b2b3ed5e2de0caafaf23bee79"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking tinytemplate v1.0.4 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Compiling libsodium-sys v0.2.5 [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" "c48a00a50f0a7b4e88f8263fb412db84977afe5b2b3ed5e2de0caafaf23bee79"` [INFO] running `"docker" "rm" "-f" "c48a00a50f0a7b4e88f8263fb412db84977afe5b2b3ed5e2de0caafaf23bee79"` [INFO] [stdout] c48a00a50f0a7b4e88f8263fb412db84977afe5b2b3ed5e2de0caafaf23bee79