[INFO] fetching crate silkrust 0.0.3... [INFO] testing silkrust-0.0.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate silkrust 0.0.3 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate silkrust 0.0.3 [INFO] finished tweaking crates.io crate silkrust 0.0.3 [INFO] tweaked toml for crates.io crate silkrust 0.0.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate silkrust 0.0.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding bitfield-struct v0.5.6 (available: v0.11.0) [INFO] [stderr] Adding blowfish v0.8.0 (available: v0.9.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitfield-struct v0.5.6 [INFO] [stderr] Downloaded queues v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e878232553c7d85cdfb6d862bf6e689316d950b0ed891a6f80af0c407cf13d1 [INFO] running `Command { std: "docker" "start" "-a" "4e878232553c7d85cdfb6d862bf6e689316d950b0ed891a6f80af0c407cf13d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e878232553c7d85cdfb6d862bf6e689316d950b0ed891a6f80af0c407cf13d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e878232553c7d85cdfb6d862bf6e689316d950b0ed891a6f80af0c407cf13d1", kill_on_drop: false }` [INFO] [stdout] 4e878232553c7d85cdfb6d862bf6e689316d950b0ed891a6f80af0c407cf13d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 18dad7e7c19278bb69dc27cdda6f6a8c99f4549939a39dc64b48e6df3c424cf8 [INFO] running `Command { std: "docker" "start" "-a" "18dad7e7c19278bb69dc27cdda6f6a8c99f4549939a39dc64b48e6df3c424cf8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling queues v1.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling blowfish v0.8.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling bitfield-struct v0.5.6 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling silkrust v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/net/message_buffer.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::net::message::MessageDirection::Req` [INFO] [stdout] --> src/net/net_client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::net::message::MessageDirection::Req; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::net::message::MessageKind::Framework` [INFO] [stdout] --> src/net/net_client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::net::message::MessageKind::Framework; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/net/net_client.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bswap` [INFO] [stdout] --> src/security/blowfish_compat.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "bswap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bswap` [INFO] [stdout] --> src/security/blowfish_compat.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "bswap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bswap` [INFO] [stdout] --> src/security/blowfish_compat.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(feature = "bswap"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/net/net_client.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use bytes::{Buf}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `massive_buffer` is never read [INFO] [stdout] --> src/net/net_client.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct NetClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | massive_buffer: MassiveBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inbound` is never read [INFO] [stdout] --> src/security/security.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct EncodingRequirements { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 10 | outbound: bool, [INFO] [stdout] 11 | inbound: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/net_connection.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn take(&mut self) -> Result, PoisonError>> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 78 | pub fn take(&mut self) -> Result, PoisonError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/net_connection.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn put(&mut self, message: Message) -> Result<(), PoisonError>> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn put(&mut self, message: Message) -> Result<(), PoisonError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.46s [INFO] running `Command { std: "docker" "inspect" "18dad7e7c19278bb69dc27cdda6f6a8c99f4549939a39dc64b48e6df3c424cf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18dad7e7c19278bb69dc27cdda6f6a8c99f4549939a39dc64b48e6df3c424cf8", kill_on_drop: false }` [INFO] [stdout] 18dad7e7c19278bb69dc27cdda6f6a8c99f4549939a39dc64b48e6df3c424cf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 84008008e5b355bbcb2ab6582c49dbb78f467823fb0ee970c0542a529f258b4f [INFO] running `Command { std: "docker" "start" "-a" "84008008e5b355bbcb2ab6582c49dbb78f467823fb0ee970c0542a529f258b4f", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/net/message_buffer.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::net::message::MessageDirection::Req` [INFO] [stdout] --> src/net/net_client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::net::message::MessageDirection::Req; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::net::message::MessageKind::Framework` [INFO] [stdout] --> src/net/net_client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::net::message::MessageKind::Framework; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/net/net_client.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bswap` [INFO] [stdout] --> src/security/blowfish_compat.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "bswap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bswap` [INFO] [stdout] --> src/security/blowfish_compat.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "bswap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bswap` [INFO] [stdout] --> src/security/blowfish_compat.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(feature = "bswap"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/net/net_client.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use bytes::{Buf}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `massive_buffer` is never read [INFO] [stdout] --> src/net/net_client.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct NetClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | massive_buffer: MassiveBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inbound` is never read [INFO] [stdout] --> src/security/security.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct EncodingRequirements { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 10 | outbound: bool, [INFO] [stdout] 11 | inbound: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/net_connection.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn take(&mut self) -> Result, PoisonError>> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 78 | pub fn take(&mut self) -> Result, PoisonError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling silkrust v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/net_connection.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn put(&mut self, message: Message) -> Result<(), PoisonError>> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn put(&mut self, message: Message) -> Result<(), PoisonError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/net/message_buffer.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::net::message::MessageDirection::Req` [INFO] [stdout] --> src/net/net_client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::net::message::MessageDirection::Req; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::net::message::MessageKind::Framework` [INFO] [stdout] --> src/net/net_client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::net::message::MessageKind::Framework; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/net/net_client.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bswap` [INFO] [stdout] --> src/security/blowfish_compat.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "bswap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bswap` [INFO] [stdout] --> src/security/blowfish_compat.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "bswap")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bswap` [INFO] [stdout] --> src/security/blowfish_compat.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(feature = "bswap"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/net/net_client.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use bytes::{Buf}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `responder_private` [INFO] [stdout] --> src/security/exchange.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | let responder_private: u32 = rand::random(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_responder_private` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `massive_buffer` is never read [INFO] [stdout] --> src/net/net_client.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct NetClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | massive_buffer: MassiveBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inbound` is never read [INFO] [stdout] --> src/security/security.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct EncodingRequirements { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 10 | outbound: bool, [INFO] [stdout] 11 | inbound: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/net_connection.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn take(&mut self) -> Result, PoisonError>> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 78 | pub fn take(&mut self) -> Result, PoisonError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/net/net_connection.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn put(&mut self, message: Message) -> Result<(), PoisonError>> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn put(&mut self, message: Message) -> Result<(), PoisonError>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "84008008e5b355bbcb2ab6582c49dbb78f467823fb0ee970c0542a529f258b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84008008e5b355bbcb2ab6582c49dbb78f467823fb0ee970c0542a529f258b4f", kill_on_drop: false }` [INFO] [stdout] 84008008e5b355bbcb2ab6582c49dbb78f467823fb0ee970c0542a529f258b4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7ee848a5cb05e00e7cc0c8273684291563ebbc4f275fdda20a38922ab12f3b67 [INFO] running `Command { std: "docker" "start" "-a" "7ee848a5cb05e00e7cc0c8273684291563ebbc4f275fdda20a38922ab12f3b67", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `tests` [INFO] [stderr] --> src/net/message_buffer.rs:87:7 [INFO] [stderr] | [INFO] [stderr] 87 | #[cfg(tests)] [INFO] [stderr] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::net::message::MessageDirection::Req` [INFO] [stderr] --> src/net/net_client.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::net::message::MessageDirection::Req; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::net::message::MessageKind::Framework` [INFO] [stderr] --> src/net/net_client.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::net::message::MessageKind::Framework; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/net/net_client.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | use log::{error, trace}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `bswap` [INFO] [stderr] --> src/security/blowfish_compat.rs:23:7 [INFO] [stderr] | [INFO] [stderr] 23 | #[cfg(feature = "bswap")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `bswap` [INFO] [stderr] --> src/security/blowfish_compat.rs:45:15 [INFO] [stderr] | [INFO] [stderr] 45 | #[cfg(feature = "bswap")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `bswap` [INFO] [stderr] --> src/security/blowfish_compat.rs:52:19 [INFO] [stderr] | [INFO] [stderr] 52 | #[cfg(not(feature = "bswap"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `bswap` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `Buf` [INFO] [stderr] --> src/net/net_client.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use bytes::{Buf}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `massive_buffer` is never read [INFO] [stderr] --> src/net/net_client.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct NetClient { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 59 | massive_buffer: MassiveBuffer, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `inbound` is never read [INFO] [stderr] --> src/security/security.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct EncodingRequirements { [INFO] [stderr] | -------------------- field in this struct [INFO] [stderr] 10 | outbound: bool, [INFO] [stderr] 11 | inbound: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/net/net_connection.rs:78:17 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn take(&mut self) -> Result, PoisonError>> { [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output ------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 78 | pub fn take(&mut self) -> Result, PoisonError>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/net/net_connection.rs:82:16 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn put(&mut self, message: Message) -> Result<(), PoisonError>> { [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output ------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 82 | pub fn put(&mut self, message: Message) -> Result<(), PoisonError>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `responder_private` [INFO] [stderr] --> src/security/exchange.rs:207:13 [INFO] [stderr] | [INFO] [stderr] 207 | let responder_private: u32 = rand::random(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_responder_private` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `silkrust` (lib) generated 12 warnings (run `cargo fix --lib -p silkrust` to apply 5 suggestions) [INFO] [stderr] warning: `silkrust` (lib test) generated 13 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/silkrust-03f5fdda0fd5ea90) [INFO] [stdout] running 7 tests [INFO] [stdout] test net::message::id::tests::back_and_forth_works ... ok [INFO] [stdout] test security::exchange::tests::roundtrip ... ok [INFO] [stdout] test security::sequencer::tests::compare_init_with_known_sequencer_impl ... ok [INFO] [stdout] test security::sequencer::tests::compare_next_with_known_sequencer_impl ... ok [INFO] [stdout] test security::checksum::tests::compare_compute_with_known_impl ... ok [INFO] [stdout] test security::sequencer::tests::compare_generate_value_with_known_sequencer_impl ... ok [INFO] [stdout] test security::checksum::tests::compare_new_with_known_impl ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7ee848a5cb05e00e7cc0c8273684291563ebbc4f275fdda20a38922ab12f3b67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ee848a5cb05e00e7cc0c8273684291563ebbc4f275fdda20a38922ab12f3b67", kill_on_drop: false }` [INFO] [stdout] 7ee848a5cb05e00e7cc0c8273684291563ebbc4f275fdda20a38922ab12f3b67