[INFO] updating cached repository https://github.com/iamazy/rust-cookbook-code [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] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 295aea3d47f5764e5bd4eb604e49ff143113f7c4 [INFO] checking iamazy/rust-cookbook-code against try#3ae4c050387df9f7fbb379ee90ce8bf05e566870 for pr-70872 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamazy%2Frust-cookbook-code" "/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/iamazy/rust-cookbook-code on toolchain 3ae4c050387df9f7fbb379ee90ce8bf05e566870 [INFO] running `"/workspace/cargo-home/bin/cargo" "+3ae4c050387df9f7fbb379ee90ce8bf05e566870" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/iamazy/rust-cookbook-code [INFO] finished tweaking git repo https://github.com/iamazy/rust-cookbook-code [INFO] tweaked toml for git repo https://github.com/iamazy/rust-cookbook-code written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/iamazy/rust-cookbook-code already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+3ae4c050387df9f7fbb379ee90ce8bf05e566870" "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" "+3ae4c050387df9f7fbb379ee90ce8bf05e566870" "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] 4ce1d1ecff19e8922ecff6156e2ede689c4ed2378f6c093a8e3da1befa81fe7e [INFO] running `"docker" "start" "-a" "4ce1d1ecff19e8922ecff6156e2ede689c4ed2378f6c093a8e3da1befa81fe7e"` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking data-encoding v2.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking filetime v0.2.8 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking backtrace v0.3.44 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking tar v0.4.26 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking image v0.23.0 [INFO] [stderr] Checking rust-cookbook-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `NonZeroU32` [INFO] [stderr] --> src/crypt/encryption.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | let n_iter = NonZeroU32::new(100_000).unwrap(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `NonZeroU32` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::create_dir_all` [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::fs::create_dir_all; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error`, `bail` [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use anyhow::{bail, Error, Result}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MatchOptions`, `glob_with` [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | use glob::{glob_with, MatchOptions}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | (x + y) [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `PBKDF2_HMAC_SHA256` [INFO] [stderr] --> src/crypt/encryption.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | use ring::pbkdf2::{PBKDF2_HMAC_SHA256, PBKDF2_HMAC_SHA512}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `NonZeroU32` [INFO] [stderr] --> src/crypt/encryption.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | let n_iter = NonZeroU32::new(100_000).unwrap(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `NonZeroU32` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::create_dir_all` [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::fs::create_dir_all; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error`, `bail` [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use anyhow::{bail, Error, Result}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MatchOptions`, `glob_with` [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | use glob::{glob_with, MatchOptions}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | (x + y) [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `PBKDF2_HMAC_SHA256` [INFO] [stderr] --> src/crypt/encryption.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | use ring::pbkdf2::{PBKDF2_HMAC_SHA256, PBKDF2_HMAC_SHA512}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `error_chain::ChainedError` [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use error_chain::ChainedError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `rust-cookbook-code`. [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] warning: unused import: `error_chain::ChainedError` [INFO] [stderr] --> src/concurrency/parallel_tasks.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use error_chain::ChainedError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0433`. [INFO] [stderr] error: could not compile `rust-cookbook-code`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4ce1d1ecff19e8922ecff6156e2ede689c4ed2378f6c093a8e3da1befa81fe7e"` [INFO] running `"docker" "rm" "-f" "4ce1d1ecff19e8922ecff6156e2ede689c4ed2378f6c093a8e3da1befa81fe7e"` [INFO] [stdout] 4ce1d1ecff19e8922ecff6156e2ede689c4ed2378f6c093a8e3da1befa81fe7e