[INFO] fetching crate flic-rust-client 0.4.0... [INFO] testing flic-rust-client-0.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate flic-rust-client 0.4.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate flic-rust-client 0.4.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 tokio v1.34.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43f3f7688722ac7ed5bead08f056c8800da89519061009d18fc4295138cabcd5 [INFO] running `Command { std: "docker" "start" "-a" "43f3f7688722ac7ed5bead08f056c8800da89519061009d18fc4295138cabcd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43f3f7688722ac7ed5bead08f056c8800da89519061009d18fc4295138cabcd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43f3f7688722ac7ed5bead08f056c8800da89519061009d18fc4295138cabcd5", kill_on_drop: false }` [INFO] [stdout] 43f3f7688722ac7ed5bead08f056c8800da89519061009d18fc4295138cabcd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbae84880088479b735aa66865445bd9f18e3b3e863637324a78d7c6cecd4e1c [INFO] running `Command { std: "docker" "start" "-a" "dbae84880088479b735aa66865445bd9f18e3b3e863637324a78d7c6cecd4e1c", 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 unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling toml_edit v0.20.7 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling proc-macro-crate v2.0.0 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling num_enum_derive v0.7.1 [INFO] [stderr] Compiling regex v1.10.2 [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: hiding a lifetime that's elided elsewhere is 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 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] 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 45.54s [INFO] running `Command { std: "docker" "inspect" "dbae84880088479b735aa66865445bd9f18e3b3e863637324a78d7c6cecd4e1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbae84880088479b735aa66865445bd9f18e3b3e863637324a78d7c6cecd4e1c", kill_on_drop: false }` [INFO] [stdout] dbae84880088479b735aa66865445bd9f18e3b3e863637324a78d7c6cecd4e1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7596fbb870b159e6bb0f05c238aa4e3d54dbf7b4bdb380871eaf0989a1426ef9 [INFO] running `Command { std: "docker" "start" "-a" "7596fbb870b159e6bb0f05c238aa4e3d54dbf7b4bdb380871eaf0989a1426ef9", 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] [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] [stderr] Compiling flic-rust-client v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 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: hiding a lifetime that's elided elsewhere is 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 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] 19 | pub fn map(&mut self, command: Command) -> Drain<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7596fbb870b159e6bb0f05c238aa4e3d54dbf7b4bdb380871eaf0989a1426ef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7596fbb870b159e6bb0f05c238aa4e3d54dbf7b4bdb380871eaf0989a1426ef9", kill_on_drop: false }` [INFO] [stdout] 7596fbb870b159e6bb0f05c238aa4e3d54dbf7b4bdb380871eaf0989a1426ef9