[INFO] cloning repository https://github.com/rustafarian-dev/dreadlocks-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rustafarian-dev/dreadlocks-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustafarian-dev%2Fdreadlocks-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustafarian-dev%2Fdreadlocks-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 480e52f0bc35c98e3149c91b9d44cfdec7793726 [INFO] testing rustafarian-dev/dreadlocks-rs against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustafarian-dev%2Fdreadlocks-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rustafarian-dev/dreadlocks-rs [INFO] finished tweaking git repo https://github.com/rustafarian-dev/dreadlocks-rs [INFO] tweaked toml for git repo https://github.com/rustafarian-dev/dreadlocks-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rustafarian-dev/dreadlocks-rs on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rustafarian-dev/dreadlocks-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6be7f3ad3eb5e1685e5070487c6d56bbd9bb2332d63c55d4e85d7040cf801f94 [INFO] running `Command { std: "docker" "start" "-a" "6be7f3ad3eb5e1685e5070487c6d56bbd9bb2332d63c55d4e85d7040cf801f94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6be7f3ad3eb5e1685e5070487c6d56bbd9bb2332d63c55d4e85d7040cf801f94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6be7f3ad3eb5e1685e5070487c6d56bbd9bb2332d63c55d4e85d7040cf801f94", kill_on_drop: false }` [INFO] [stdout] 6be7f3ad3eb5e1685e5070487c6d56bbd9bb2332d63c55d4e85d7040cf801f94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d372c576b824ed676549714440c1b35175770de6bf0d31f68e3abb5f6b357669 [INFO] running `Command { std: "docker" "start" "-a" "d372c576b824ed676549714440c1b35175770de6bf0d31f68e3abb5f6b357669", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling const-oid v0.9.3 [INFO] [stderr] Compiling cpufeatures v0.2.8 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling equivalent v1.0.0 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling winnow v0.4.7 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling syn v2.0.20 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling clap_builder v4.3.11 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling toml_edit v0.19.11 [INFO] [stderr] Compiling nix v0.26.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling fork v0.1.22 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling der v0.7.7 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling crypto-bigint v0.5.2 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling pbkdf2 v0.12.1 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling scrypt v0.11.0 [INFO] [stderr] Compiling spki v0.7.2 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling signature v2.1.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling clap v4.3.11 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling pkcs5 v0.7.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling sec1 v0.7.2 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling dsa v0.6.1 [INFO] [stderr] Compiling elliptic-curve v0.13.5 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling rsa v0.9.2 [INFO] [stderr] Compiling primeorder v0.13.2 [INFO] [stderr] Compiling ecdsa v0.16.7 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling p384 v0.13.0 [INFO] [stderr] Compiling dreadlocks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PtyMaster`, `grantpt`, `posix_openpt`, `ptsname`, and `unlockpt` [INFO] [stdout] --> src/main.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use nix::pty::{grantpt, posix_openpt, ptsname, unlockpt, PtyMaster}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `setpgid` [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | use nix::unistd::{dup2, setpgid, Pid}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::fs::PermissionsExt` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use std::os::unix::fs::PermissionsExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/message_builder.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl MessageBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn add_string(&mut self, part: String) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn add_u64(&mut self, part: u64) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn add_big_uint(&mut self, part: num_bigint::BigUint) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn add_big_int(&mut self, part: num_bigint::BigInt) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn add_byte(&mut self, part: u8) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn add_bool(&mut self, part: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn add_sub_message(&mut self, parts: &[&[u8]]) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ssh_agent.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | MaxTime(std::time::Instant), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - MaxTime(std::time::Instant), [INFO] [stdout] 15 + MaxTime(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ssh_agent.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | MaxSign(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - MaxSign(u32), [INFO] [stdout] 17 + MaxSign(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `constraints` is never read [INFO] [stdout] --> src/ssh_agent.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct SshIdentity { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 100 | constraints: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data_reader.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(data: &[u8]) -> DataReader { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(data: &[u8]) -> DataReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d372c576b824ed676549714440c1b35175770de6bf0d31f68e3abb5f6b357669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d372c576b824ed676549714440c1b35175770de6bf0d31f68e3abb5f6b357669", kill_on_drop: false }` [INFO] [stdout] d372c576b824ed676549714440c1b35175770de6bf0d31f68e3abb5f6b357669 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b3f22df971085c904d6ee1f441309dbc423c77c078c1dc9b86a714ae4a7764c [INFO] running `Command { std: "docker" "start" "-a" "2b3f22df971085c904d6ee1f441309dbc423c77c078c1dc9b86a714ae4a7764c", kill_on_drop: false }` [INFO] [stderr] Compiling dreadlocks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PtyMaster`, `grantpt`, `posix_openpt`, `ptsname`, and `unlockpt` [INFO] [stdout] --> src/main.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use nix::pty::{grantpt, posix_openpt, ptsname, unlockpt, PtyMaster}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `setpgid` [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | use nix::unistd::{dup2, setpgid, Pid}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::fs::PermissionsExt` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use std::os::unix::fs::PermissionsExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/message_builder.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl MessageBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn add_string(&mut self, part: String) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn add_u64(&mut self, part: u64) -> &mut Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn add_big_uint(&mut self, part: num_bigint::BigUint) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn add_big_int(&mut self, part: num_bigint::BigInt) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn add_byte(&mut self, part: u8) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn add_bool(&mut self, part: bool) -> &mut Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn add_sub_message(&mut self, parts: &[&[u8]]) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ssh_agent.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | MaxTime(std::time::Instant), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - MaxTime(std::time::Instant), [INFO] [stdout] 15 + MaxTime(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ssh_agent.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | MaxSign(u32), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - MaxSign(u32), [INFO] [stdout] 17 + MaxSign(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `constraints` is never read [INFO] [stdout] --> src/ssh_agent.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct SshIdentity { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 100 | constraints: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data_reader.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(data: &[u8]) -> DataReader { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(data: &[u8]) -> DataReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2b3f22df971085c904d6ee1f441309dbc423c77c078c1dc9b86a714ae4a7764c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b3f22df971085c904d6ee1f441309dbc423c77c078c1dc9b86a714ae4a7764c", kill_on_drop: false }` [INFO] [stdout] 2b3f22df971085c904d6ee1f441309dbc423c77c078c1dc9b86a714ae4a7764c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5df48a40f13fada643bfafc2ef882ffbbdbba1b338eef34ab7c84bab341c0a06 [INFO] running `Command { std: "docker" "start" "-a" "5df48a40f13fada643bfafc2ef882ffbbdbba1b338eef34ab7c84bab341c0a06", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `PtyMaster`, `grantpt`, `posix_openpt`, `ptsname`, and `unlockpt` [INFO] [stderr] --> src/main.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | use nix::pty::{grantpt, posix_openpt, ptsname, unlockpt, PtyMaster}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `setpgid` [INFO] [stderr] --> src/main.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | use nix::unistd::{dup2, setpgid, Pid}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::unix::fs::PermissionsExt` [INFO] [stderr] --> src/main.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use std::os::unix::fs::PermissionsExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/message_builder.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl MessageBuilder { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn add_string(&mut self, part: String) -> &mut Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 37 | pub fn add_u64(&mut self, part: u64) -> &mut Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 56 | pub fn add_big_uint(&mut self, part: num_bigint::BigUint) -> &mut Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn add_big_int(&mut self, part: num_bigint::BigInt) -> &mut Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 68 | pub fn add_byte(&mut self, part: u8) -> &mut Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | pub fn add_bool(&mut self, part: bool) -> &mut Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | pub fn add_sub_message(&mut self, parts: &[&[u8]]) -> &mut Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ssh_agent.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | MaxTime(std::time::Instant), [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 15 - MaxTime(std::time::Instant), [INFO] [stderr] 15 + MaxTime(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ssh_agent.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | MaxSign(u32), [INFO] [stderr] | ------- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 17 - MaxSign(u32), [INFO] [stderr] 17 + MaxSign(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `constraints` is never read [INFO] [stderr] --> src/ssh_agent.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 96 | pub struct SshIdentity { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 100 | constraints: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/data_reader.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn new(data: &[u8]) -> DataReader { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 17 | pub fn new(data: &[u8]) -> DataReader<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `dreadlocks` (bin "dreadlocks" test) generated 8 warnings (run `cargo fix --bin "dreadlocks" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dreadlocks-0b4f5e415b470099) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_read_packet ... ok [INFO] [stdout] test rsa_key::tests::try_from ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5df48a40f13fada643bfafc2ef882ffbbdbba1b338eef34ab7c84bab341c0a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5df48a40f13fada643bfafc2ef882ffbbdbba1b338eef34ab7c84bab341c0a06", kill_on_drop: false }` [INFO] [stdout] 5df48a40f13fada643bfafc2ef882ffbbdbba1b338eef34ab7c84bab341c0a06