[INFO] fetching crate flicbtn 0.1.1... [INFO] checking flicbtn-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate flicbtn 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate flicbtn 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate flicbtn 0.1.1 [INFO] finished tweaking crates.io crate flicbtn 0.1.1 [INFO] tweaked toml for crates.io crate flicbtn 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate flicbtn 0.1.1 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] 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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9d1d4f51026b847e5a365f5546adb3ab6adf9e5f57d1e69117bdc6b743fab5e [INFO] running `Command { std: "docker" "start" "-a" "e9d1d4f51026b847e5a365f5546adb3ab6adf9e5f57d1e69117bdc6b743fab5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9d1d4f51026b847e5a365f5546adb3ab6adf9e5f57d1e69117bdc6b743fab5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9d1d4f51026b847e5a365f5546adb3ab6adf9e5f57d1e69117bdc6b743fab5e", kill_on_drop: false }` [INFO] [stdout] e9d1d4f51026b847e5a365f5546adb3ab6adf9e5f57d1e69117bdc6b743fab5e [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14e6d625a42828f1d9e0091f398fd84b30bb6984a342cd9d47d75eb3355a7ff2 [INFO] running `Command { std: "docker" "start" "-a" "14e6d625a42828f1d9e0091f398fd84b30bb6984a342cd9d47d75eb3355a7ff2", 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.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling num_enum_derive v0.4.3 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking num_enum v0.4.3 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking flicbtn v0.1.1 (/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: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: 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_str` found for reference `&str` in the current scope [INFO] [stdout] --> examples/simpleclient.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | match input.as_str() { [INFO] [stdout] | -^^^^^^-- help: remove this method call [INFO] [stdout] | [INFO] [stdout] note: there's an earlier shadowed binding `input` of type `String` that has method `as_str` available [INFO] [stdout] --> examples/simpleclient.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let mut input = String::new(); [INFO] [stdout] | ^^^^^^^^^ `input` of type `String` that has method `as_str` defined earlier here [INFO] [stdout] ... [INFO] [stdout] 43 | let input = input.trim(); [INFO] [stdout] | ----- earlier `input` shadowed here with type `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `flicbtn` (example "simpleclient") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "14e6d625a42828f1d9e0091f398fd84b30bb6984a342cd9d47d75eb3355a7ff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14e6d625a42828f1d9e0091f398fd84b30bb6984a342cd9d47d75eb3355a7ff2", kill_on_drop: false }` [INFO] [stdout] 14e6d625a42828f1d9e0091f398fd84b30bb6984a342cd9d47d75eb3355a7ff2