[INFO] fetching crate rsign 0.1.2... [INFO] building rsign-0.1.2 against master#c8e6a9e8b6251bbc8276cb78cabe1998deecbed7 for pr-97334-2 [INFO] extracting crate rsign 0.1.2 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate rsign 0.1.2 on toolchain c8e6a9e8b6251bbc8276cb78cabe1998deecbed7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rsign 0.1.2 [INFO] finished tweaking crates.io crate rsign 0.1.2 [INFO] tweaked toml for crates.io crate rsign 0.1.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rpassword v1.0.2 [INFO] [stderr] Downloaded rprompt v1.0.5 [INFO] [stderr] Downloaded unwrap v1.1.0 [INFO] [stderr] Downloaded sodiumoxide v0.0.15 [INFO] [stderr] Downloaded libsodium-sys v0.0.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d647f184b4ef53d863b902f470bda37a74c2ec30b9dbd2d2714fe29a3a09a39 [INFO] running `Command { std: "docker" "start" "-a" "2d647f184b4ef53d863b902f470bda37a74c2ec30b9dbd2d2714fe29a3a09a39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d647f184b4ef53d863b902f470bda37a74c2ec30b9dbd2d2714fe29a3a09a39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d647f184b4ef53d863b902f470bda37a74c2ec30b9dbd2d2714fe29a3a09a39", kill_on_drop: false }` [INFO] [stdout] 2d647f184b4ef53d863b902f470bda37a74c2ec30b9dbd2d2714fe29a3a09a39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f0bc7c822268645c1b44fe5e6cee5c76b3e4d2e2426e61a26f76ebca52cc899 [INFO] running `Command { std: "docker" "start" "-a" "0f0bc7c822268645c1b44fe5e6cee5c76b3e4d2e2426e61a26f76ebca52cc899", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Compiling rprompt v1.0.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling libsodium-sys v0.0.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rpassword v1.0.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling chrono v0.4.23 [INFO] [stderr] Compiling sodiumoxide v0.0.15 [INFO] [stderr] Compiling rsign v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | try!(write!(f, "{:x}", byte)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | try!(write!(f, "{:x}", byte)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perror.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | err: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | err: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perror.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | where E: Into> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | where E: Into> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | try!(std::fs::remove_file(&pk_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | try!(create_dir(dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:326:29 [INFO] [stdout] | [INFO] [stdout] 326 | ... try!(create_dir(&complete_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | try!(std::fs::remove_file(&sk_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:382:27 [INFO] [stdout] | [INFO] [stdout] 382 | pk = Some(try!(pk_load(filename))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:386:27 [INFO] [stdout] | [INFO] [stdout] 386 | pk = Some(try!(pk_load_string(string))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:399:18 [INFO] [stdout] | [INFO] [stdout] 399 | let sk = try!(sk_load(sk_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:433:21 [INFO] [stdout] | [INFO] [stdout] 433 | try!(pk_load(path_or_string)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:435:21 [INFO] [stdout] | [INFO] [stdout] 435 | try!(pk_load_string(path_or_string)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:438:21 [INFO] [stdout] | [INFO] [stdout] 438 | None => try!(pk_load(SIG_DEFAULT_PKFILE)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:321:39 [INFO] [stdout] | [INFO] [stdout] 321 | ... std::env::home_dir().ok_or(PError::new(ErrorKind::Io, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:366:31 [INFO] [stdout] | [INFO] [stdout] 366 | std::env::home_dir().ok_or(PError::new(ErrorKind::Io, "can't find home dir")); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.22s [INFO] running `Command { std: "docker" "inspect" "0f0bc7c822268645c1b44fe5e6cee5c76b3e4d2e2426e61a26f76ebca52cc899", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f0bc7c822268645c1b44fe5e6cee5c76b3e4d2e2426e61a26f76ebca52cc899", kill_on_drop: false }` [INFO] [stdout] 0f0bc7c822268645c1b44fe5e6cee5c76b3e4d2e2426e61a26f76ebca52cc899 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+c8e6a9e8b6251bbc8276cb78cabe1998deecbed7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ce62e546b6c2a2e4b873e9504c884522daafe79267da1c36d4d6bd21ccb08ed [INFO] running `Command { std: "docker" "start" "-a" "5ce62e546b6c2a2e4b873e9504c884522daafe79267da1c36d4d6bd21ccb08ed", kill_on_drop: false }` [INFO] [stderr] Compiling unwrap v1.1.0 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | try!(write!(f, "{:x}", byte)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | try!(write!(f, "{:x}", byte)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perror.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | err: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | err: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perror.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | where E: Into> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | where E: Into> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | try!(std::fs::remove_file(&pk_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | try!(create_dir(dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:326:29 [INFO] [stdout] | [INFO] [stdout] 326 | ... try!(create_dir(&complete_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | try!(std::fs::remove_file(&sk_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:382:27 [INFO] [stdout] | [INFO] [stdout] 382 | pk = Some(try!(pk_load(filename))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:386:27 [INFO] [stdout] | [INFO] [stdout] 386 | pk = Some(try!(pk_load_string(string))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:399:18 [INFO] [stdout] | [INFO] [stdout] 399 | let sk = try!(sk_load(sk_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:433:21 [INFO] [stdout] | [INFO] [stdout] 433 | try!(pk_load(path_or_string)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:435:21 [INFO] [stdout] | [INFO] [stdout] 435 | try!(pk_load_string(path_or_string)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:438:21 [INFO] [stdout] | [INFO] [stdout] 438 | None => try!(pk_load(SIG_DEFAULT_PKFILE)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:321:39 [INFO] [stdout] | [INFO] [stdout] 321 | ... std::env::home_dir().ok_or(PError::new(ErrorKind::Io, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:366:31 [INFO] [stdout] | [INFO] [stdout] 366 | std::env::home_dir().ok_or(PError::new(ErrorKind::Io, "can't find home dir")); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rsign v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Command`, `Stdio` [INFO] [stdout] --> tests/lib_functions.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::process::{Command, Stdio}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | try!(std::fs::remove_file(&pk_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufWriter` [INFO] [stdout] --> tests/lib_functions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | try!(create_dir(dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:326:29 [INFO] [stdout] | [INFO] [stdout] 326 | ... try!(create_dir(&complete_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:346:17 [INFO] [stdout] | [INFO] [stdout] 346 | try!(std::fs::remove_file(&sk_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:382:27 [INFO] [stdout] | [INFO] [stdout] 382 | pk = Some(try!(pk_load(filename))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:386:27 [INFO] [stdout] | [INFO] [stdout] 386 | pk = Some(try!(pk_load_string(string))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:399:18 [INFO] [stdout] | [INFO] [stdout] 399 | let sk = try!(sk_load(sk_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:433:21 [INFO] [stdout] | [INFO] [stdout] 433 | try!(pk_load(path_or_string)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:435:21 [INFO] [stdout] | [INFO] [stdout] 435 | try!(pk_load_string(path_or_string)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:438:21 [INFO] [stdout] | [INFO] [stdout] 438 | None => try!(pk_load(SIG_DEFAULT_PKFILE)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/integration.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | try!(pk_buf.read_line(&mut _comment)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:321:39 [INFO] [stdout] | [INFO] [stdout] 321 | ... std::env::home_dir().ok_or(PError::new(ErrorKind::Io, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:366:31 [INFO] [stdout] | [INFO] [stdout] 366 | std::env::home_dir().ok_or(PError::new(ErrorKind::Io, "can't find home dir")); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | try!(write!(f, "{:x}", byte)) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | try!(write!(f, "{:x}", byte)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PK_UNT_COMMENT` is never used [INFO] [stdout] --> tests/lib_functions.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const PK_UNT_COMMENT: &'static str = "untrusted comment: rsign public key: C8842CB5A2989BE7"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PK` is never used [INFO] [stdout] --> tests/lib_functions.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const PK: &[u8] = b"RWTnm5iitSyEyKyaniIFQabFeKj0EScabgDrJM8wsCBzg5jg9dFiWXCi"; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SK_UNT_COMMENT` is never used [INFO] [stdout] --> tests/lib_functions.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const SK_UNT_COMMENT: &'static str = "untrusted comment: rsign encrypted secret key"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perror.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | err: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | err: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/perror.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | where E: Into> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | where E: Into> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.65s [INFO] running `Command { std: "docker" "inspect" "5ce62e546b6c2a2e4b873e9504c884522daafe79267da1c36d4d6bd21ccb08ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ce62e546b6c2a2e4b873e9504c884522daafe79267da1c36d4d6bd21ccb08ed", kill_on_drop: false }` [INFO] [stdout] 5ce62e546b6c2a2e4b873e9504c884522daafe79267da1c36d4d6bd21ccb08ed