[INFO] crate shs_core 0.3.0 is already in cache [INFO] checking shs_core-0.3.0 against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [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 c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 533804aa3eb7140856b45e7dd2b9a98081bd761cfe813295919609dacb00f942 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "533804aa3eb7140856b45e7dd2b9a98081bd761cfe813295919609dacb00f942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "533804aa3eb7140856b45e7dd2b9a98081bd761cfe813295919609dacb00f942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "533804aa3eb7140856b45e7dd2b9a98081bd761cfe813295919609dacb00f942", kill_on_drop: false }` [INFO] [stdout] 533804aa3eb7140856b45e7dd2b9a98081bd761cfe813295919609dacb00f942 [INFO] running `Command { std: "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@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aea68602dcae2209aed943918592b6f82516072e47ce95801e57705584d88e9a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aea68602dcae2209aed943918592b6f82516072e47ce95801e57705584d88e9a", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking serde_json v1.0.55 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking bstr v0.2.13 [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 tar v0.4.28 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling libsodium-sys v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.112 [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] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `sodiumoxide` [INFO] [stdout] --> benches/bench.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sodiumoxide::crypto::box_; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `sodiumoxide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `criterion::*` [INFO] [stdout] --> benches/bench.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use criterion::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shs_core::*` [INFO] [stdout] --> benches/bench.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use shs_core::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `bench` [INFO] [stdout] --> benches/bench.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern crate criterion; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | use sodiumoxide::crypto::box_; [INFO] [stdout] 4 | | use criterion::*; [INFO] [stdout] 5 | | use shs_core::*; [INFO] [stdout] | |________________^ consider adding a `main` function to `benches/bench.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shs_core`. [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: build failed [INFO] running `Command { std: "docker" "inspect" "aea68602dcae2209aed943918592b6f82516072e47ce95801e57705584d88e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aea68602dcae2209aed943918592b6f82516072e47ce95801e57705584d88e9a", kill_on_drop: false }` [INFO] [stdout] aea68602dcae2209aed943918592b6f82516072e47ce95801e57705584d88e9a