[INFO] fetching crate lockchain-core 0.9.0... [INFO] checking lockchain-core-0.9.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate lockchain-core 0.9.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate lockchain-core 0.9.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lockchain-core 0.9.0 [INFO] finished tweaking crates.io crate lockchain-core 0.9.0 [INFO] tweaked toml for crates.io crate lockchain-core 0.9.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5443dd135d9a4950b12b840b6b31a8dba2673b6f2d0bca589d59f4cb2f7be2e6 [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" "5443dd135d9a4950b12b840b6b31a8dba2673b6f2d0bca589d59f4cb2f7be2e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5443dd135d9a4950b12b840b6b31a8dba2673b6f2d0bca589d59f4cb2f7be2e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5443dd135d9a4950b12b840b6b31a8dba2673b6f2d0bca589d59f4cb2f7be2e6", kill_on_drop: false }` [INFO] [stdout] 5443dd135d9a4950b12b840b6b31a8dba2673b6f2d0bca589d59f4cb2f7be2e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ba1edf1015d612a6e97b9ee4ef6f616f8ce8a10b00f7787f46b0370f028efd0e [INFO] running `Command { std: "docker" "start" "-a" "ba1edf1015d612a6e97b9ee4ef6f616f8ce8a10b00f7787f46b0370f028efd0e", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling pam-sys v0.5.6 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking base64 v0.8.0 [INFO] [stderr] Checking generic-array v0.9.1 [INFO] [stderr] Checking users v0.5.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking blowfish v0.4.0 [INFO] [stderr] Checking nix v0.11.1 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking crypto-mac v0.6.2 [INFO] [stderr] Checking crypto-mac v0.5.2 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking hmac v0.6.3 [INFO] [stderr] Checking blake2 v0.7.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking pam-auth v0.5.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking pbkdf2 v0.2.3 [INFO] [stderr] Checking bcrypt v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking keybob v0.3.1 [INFO] [stderr] Checking lockchain-core v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | fn load(path: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:90:50 [INFO] [stdout] | [INFO] [stdout] 90 | fn save(&self, path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 82 | fn load(path: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:90:50 [INFO] [stdout] | [INFO] [stdout] 90 | fn save(&self, path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/users/auth.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | println!("{}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/users/auth.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | println!("{:#?}", e.cause()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/users/auth.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | println!("{}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/users/auth.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | println!("{}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/users/auth.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | println!("{:#?}", e.cause()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/users/auth.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | println!("{:#?}", e.cause()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/users/auth.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | println!("{}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/users/auth.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | println!("{:#?}", e.cause()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/crypto/hashing.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | Err(some) => panic!(some), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 12 | Err(some) => panic!("{}", some), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 12 | Err(some) => std::panic::panic_any(some), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/crypto/hashing.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/crypto/hashing.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | Err(some) => panic!(some), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 12 | Err(some) => panic!("{}", some), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 12 | Err(some) => std::panic::panic_any(some), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/crypto/hashing.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Access`, `Role`, `UserStore` [INFO] [stdout] --> examples/user_registry.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | use lockchain::users::{User, UserStore, Access, Role}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> examples/user_registry.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let me = User::register(username, password); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vault` [INFO] [stdout] --> examples/user_registry.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | fn register>(vault: &mut V, username: &str, password: &str) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vault` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `register` [INFO] [stdout] --> examples/user_registry.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn register>(vault: &mut V, username: &str, password: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.53s [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ba1edf1015d612a6e97b9ee4ef6f616f8ce8a10b00f7787f46b0370f028efd0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba1edf1015d612a6e97b9ee4ef6f616f8ce8a10b00f7787f46b0370f028efd0e", kill_on_drop: false }` [INFO] [stdout] ba1edf1015d612a6e97b9ee4ef6f616f8ce8a10b00f7787f46b0370f028efd0e