[INFO] fetching crate flic-rust-client 0.4.0... [INFO] testing flic-rust-client-0.4.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate flic-rust-client 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate flic-rust-client 0.4.0 [INFO] finished tweaking crates.io crate flic-rust-client 0.4.0 [INFO] tweaked toml for crates.io crate flic-rust-client 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate flic-rust-client 0.4.0 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] crate crates.io crate flic-rust-client 0.4.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_enum_derive v0.7.1 [INFO] [stderr] Downloaded num_enum v0.7.1 [INFO] [stderr] Downloaded futures-executor v0.3.29 [INFO] [stderr] Downloaded futures v0.3.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ed95fa38da98d1238ca501e16876f9f94384008361b652b656f92fe2bee7f2bd [INFO] running `Command { std: "docker" "start" "-a" "ed95fa38da98d1238ca501e16876f9f94384008361b652b656f92fe2bee7f2bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed95fa38da98d1238ca501e16876f9f94384008361b652b656f92fe2bee7f2bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed95fa38da98d1238ca501e16876f9f94384008361b652b656f92fe2bee7f2bd", kill_on_drop: false }` [INFO] [stdout] ed95fa38da98d1238ca501e16876f9f94384008361b652b656f92fe2bee7f2bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] bbfb129e1a477eb53e92424d23c6c639c01f2d9cd024a0ea598fac2fd1548347 [INFO] running `Command { std: "docker" "start" "-a" "bbfb129e1a477eb53e92424d23c6c639c01f2d9cd024a0ea598fac2fd1548347", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling toml_edit v0.20.7 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling num_enum_derive v0.7.1 [INFO] [stderr] Compiling num_enum v0.7.1 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling flic-rust-client v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/commands/stream_mapper.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | if let Ok(latency_mode) = latency_mode.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/commands/stream_mapper.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | if let Ok(latency_mode) = latency_mode.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/commands/stream_mapper.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn map(&mut self, command: Command) -> Drain { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 19 | pub fn map(&mut self, command: Command) -> Drain<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.01s [INFO] running `Command { std: "docker" "inspect" "bbfb129e1a477eb53e92424d23c6c639c01f2d9cd024a0ea598fac2fd1548347", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbfb129e1a477eb53e92424d23c6c639c01f2d9cd024a0ea598fac2fd1548347", kill_on_drop: false }` [INFO] [stdout] bbfb129e1a477eb53e92424d23c6c639c01f2d9cd024a0ea598fac2fd1548347 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3bee8b21c768ce5382e71118dab3fe757581275200fdfb6461d5fe8d99636df5 [INFO] running `Command { std: "docker" "start" "-a" "3bee8b21c768ce5382e71118dab3fe757581275200fdfb6461d5fe8d99636df5", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling flic-rust-client v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/commands/stream_mapper.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | if let Ok(latency_mode) = latency_mode.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/commands/stream_mapper.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | if let Ok(latency_mode) = latency_mode.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/commands/stream_mapper.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn map(&mut self, command: Command) -> Drain { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 19 | pub fn map(&mut self, command: Command) -> Drain<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flicbtn` [INFO] [stdout] --> examples/ping.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use flicbtn::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `flicbtn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flicbtn`, use `cargo add flicbtn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `flicbtn` [INFO] [stdout] --> examples/simpleclient.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use flicbtn::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `flicbtn` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `flicbtn`, use `cargo add flicbtn` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/ping.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let client = FlicClient::new("127.0.0.1:5551") [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | let client2 = client1.clone(); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 16 | let client: /* Type */ = FlicClient::new("127.0.0.1:5551") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/simpleclient.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let client = FlicClient::new("127.0.0.1:5551") [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | let client2 = client1.clone(); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 12 | let client: /* Type */ = FlicClient::new("127.0.0.1:5551") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flic-rust-client` (example "ping") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flic-rust-client` (example "simpleclient") due to 2 previous errors [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/commands/stream_mapper.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | if let Ok(latency_mode) = latency_mode.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/commands/stream_mapper.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | if let Ok(latency_mode) = latency_mode.try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/commands/stream_mapper.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn map(&mut self, command: Command) -> Drain { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 19 | pub fn map(&mut self, command: Command) -> Drain<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3bee8b21c768ce5382e71118dab3fe757581275200fdfb6461d5fe8d99636df5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bee8b21c768ce5382e71118dab3fe757581275200fdfb6461d5fe8d99636df5", kill_on_drop: false }` [INFO] [stdout] 3bee8b21c768ce5382e71118dab3fe757581275200fdfb6461d5fe8d99636df5