[INFO] fetching crate lockchain-core 0.9.0... [INFO] testing lockchain-core-0.9.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate lockchain-core 0.9.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate lockchain-core 0.9.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96bf6ef46d459f38c14611d55bd93e504d17d64ddf920a59162f3097d51a2a50 [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" "96bf6ef46d459f38c14611d55bd93e504d17d64ddf920a59162f3097d51a2a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96bf6ef46d459f38c14611d55bd93e504d17d64ddf920a59162f3097d51a2a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96bf6ef46d459f38c14611d55bd93e504d17d64ddf920a59162f3097d51a2a50", kill_on_drop: false }` [INFO] [stdout] 96bf6ef46d459f38c14611d55bd93e504d17d64ddf920a59162f3097d51a2a50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1469078cbf3ce1950a25982f4126b97fb1ba9b547ca58fa16d9459dae513e432 [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" "1469078cbf3ce1950a25982f4126b97fb1ba9b547ca58fa16d9459dae513e432", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling pam-sys v0.5.6 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling users v0.5.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling base64 v0.8.0 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling pam-auth v0.5.5 [INFO] [stderr] Compiling generic-array v0.9.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.6.2 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling hmac v0.6.3 [INFO] [stderr] Compiling blake2 v0.7.1 [INFO] [stderr] Compiling blowfish v0.4.0 [INFO] [stderr] Compiling bcrypt v0.2.2 [INFO] [stderr] Compiling pbkdf2 v0.2.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling keybob v0.3.1 [INFO] [stderr] Compiling 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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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::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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.15s [INFO] running `Command { std: "docker" "inspect" "1469078cbf3ce1950a25982f4126b97fb1ba9b547ca58fa16d9459dae513e432", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1469078cbf3ce1950a25982f4126b97fb1ba9b547ca58fa16d9459dae513e432", kill_on_drop: false }` [INFO] [stdout] 1469078cbf3ce1950a25982f4126b97fb1ba9b547ca58fa16d9459dae513e432 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70dd7c8431e50586a231b828c83233c662ac1a344245a1d60cd9605f187f2d29 [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" "70dd7c8431e50586a231b828c83233c662ac1a344245a1d60cd9605f187f2d29", kill_on_drop: false }` [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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::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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lockchain-core v0.9.0 (/opt/rustwide/workdir) [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] [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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::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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "70dd7c8431e50586a231b828c83233c662ac1a344245a1d60cd9605f187f2d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70dd7c8431e50586a231b828c83233c662ac1a344245a1d60cd9605f187f2d29", kill_on_drop: false }` [INFO] [stdout] 70dd7c8431e50586a231b828c83233c662ac1a344245a1d60cd9605f187f2d29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 132c2e854af3f5d88751c794463c70590a9e1e9ef1307139f000fbcb4a1968cd [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" "132c2e854af3f5d88751c794463c70590a9e1e9ef1307139f000fbcb4a1968cd", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/traits.rs:82:45 [INFO] [stderr] | [INFO] [stderr] 82 | fn load(path: &str) -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/traits.rs:90:50 [INFO] [stderr] | [INFO] [stderr] 90 | fn save(&self, path: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/users/auth.rs:50:30 [INFO] [stderr] | [INFO] [stderr] 50 | println!("{}", e.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/users/auth.rs:51:33 [INFO] [stderr] | [INFO] [stderr] 51 | println!("{:#?}", e.cause()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/users/auth.rs:59:30 [INFO] [stderr] | [INFO] [stderr] 59 | println!("{}", e.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/users/auth.rs:60:33 [INFO] [stderr] | [INFO] [stderr] 60 | println!("{:#?}", e.cause()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/crypto/hashing.rs:12:29 [INFO] [stderr] | [INFO] [stderr] 12 | Err(some) => panic!(some), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 12 | Err(some) => panic!("{}", some), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 12 | Err(some) => std::panic::panic_any(some), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/crypto/hashing.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | Err(e) => panic!(e), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 21 | Err(e) => panic!("{}", e), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 21 | Err(e) => std::panic::panic_any(e), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/traits.rs:82:45 [INFO] [stderr] | [INFO] [stderr] 82 | fn load(path: &str) -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/traits.rs:90:50 [INFO] [stderr] | [INFO] [stderr] 90 | fn save(&self, path: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/users/auth.rs:50:30 [INFO] [stderr] | [INFO] [stderr] 50 | println!("{}", e.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/users/auth.rs:51:33 [INFO] [stderr] | [INFO] [stderr] 51 | println!("{:#?}", e.cause()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/users/auth.rs:59:30 [INFO] [stderr] | [INFO] [stderr] 59 | println!("{}", e.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/users/auth.rs:60:33 [INFO] [stderr] | [INFO] [stderr] 60 | println!("{:#?}", e.cause()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/crypto/hashing.rs:12:29 [INFO] [stderr] | [INFO] [stderr] 12 | Err(some) => panic!(some), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 12 | Err(some) => panic!("{}", some), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 12 | Err(some) => std::panic::panic_any(some), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/crypto/hashing.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | Err(e) => panic!(e), [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 21 | Err(e) => panic!("{}", e), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 21 | Err(e) => std::panic::panic_any(e), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Access`, `Role`, `UserStore` [INFO] [stderr] --> examples/user_registry.rs:18:30 [INFO] [stderr] | [INFO] [stderr] 18 | use lockchain::users::{User, UserStore, Access, Role}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `me` [INFO] [stderr] --> examples/user_registry.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | let me = User::register(username, password); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vault` [INFO] [stderr] --> examples/user_registry.rs:29:38 [INFO] [stderr] | [INFO] [stderr] 29 | fn register>(vault: &mut V, username: &str, password: &str) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vault` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `register` [INFO] [stderr] --> examples/user_registry.rs:29:4 [INFO] [stderr] | [INFO] [stderr] 29 | fn register>(vault: &mut V, username: &str, password: &str) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lockchain_core-cb5930ec7856d8e5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lockchain-core [INFO] [stderr] warning: unknown attribute `norun`. Did you mean `no_run`? [INFO] [stderr] --> /opt/rustwide/workdir/src/traits.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | / /// This is purely a marker trait for encryptable types [INFO] [stderr] 48 | | /// [INFO] [stderr] 49 | | /// Indicates that a type should be handlable by an encryption [INFO] [stderr] 50 | | /// engine, also relying on the auto encoder functionality. [INFO] [stderr] ... | [INFO] [stderr] 57 | | /// impl Encryptable for YourSpecialType {} [INFO] [stderr] 58 | | /// ``` [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default [INFO] [stderr] = help: the code block will either not be tested if not marked as a rust one or will be run (which you might not want) [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/users/tokens.rs - users::tokens::Token (line 7) ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [INFO] [stdout] test src/traits.rs - traits::Encryptable (line 56) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/users/tokens.rs - users::tokens::Token (line 7) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lockchain_core::users::auth::Token` [INFO] [stdout] --> src/users/tokens.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lockchain_core::users::auth::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Token` in `users::auth` [INFO] [stdout] [INFO] [stdout] error[E0603]: module `auth` is private [INFO] [stdout] --> src/users/tokens.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 5 | use lockchain_core::users::auth::Token; [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `auth` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/users/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | mod auth; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `lockchain::traits::Encryption` [INFO] [stdout] --> src/lib.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 4 | use lockchain::traits::{Body, Encryption}; [INFO] [stdout] | ^^^^^^^^^^ no `Encryption` in `traits` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::Encryptable (line 56) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Encryptable` in this scope [INFO] [stdout] --> src/traits.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl Encryptable for YourSpecialType {} [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `YourSpecialType` in this scope [INFO] [stdout] --> src/traits.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 3 | impl Encryptable for YourSpecialType {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] src/traits.rs - traits::Encryptable (line 56) [INFO] [stdout] src/users/tokens.rs - users::tokens::Token (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "132c2e854af3f5d88751c794463c70590a9e1e9ef1307139f000fbcb4a1968cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "132c2e854af3f5d88751c794463c70590a9e1e9ef1307139f000fbcb4a1968cd", kill_on_drop: false }` [INFO] [stdout] 132c2e854af3f5d88751c794463c70590a9e1e9ef1307139f000fbcb4a1968cd