[INFO] fetching crate wurl 0.1.0... [INFO] checking wurl-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate wurl 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate wurl 0.1.0 [INFO] finished tweaking crates.io crate wurl 0.1.0 [INFO] tweaked toml for crates.io crate wurl 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wurl 0.1.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 91 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.51) [INFO] [stderr] Adding rprompt v1.0.5 (available: v2.2.0) [INFO] [stderr] Adding stderrlog v0.3.0 (available: v0.6.0) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.7) [INFO] [stderr] Adding ws v0.7.9 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/bin/messages.rs [INFO] [stderr] * src/bin/app.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 499057e0e4aed43c907130aa67caf648e27a1c7a25e120aee4597fb00640fed4 [INFO] running `Command { std: "docker" "start" "-a" "499057e0e4aed43c907130aa67caf648e27a1c7a25e120aee4597fb00640fed4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "499057e0e4aed43c907130aa67caf648e27a1c7a25e120aee4597fb00640fed4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "499057e0e4aed43c907130aa67caf648e27a1c7a25e120aee4597fb00640fed4", kill_on_drop: false }` [INFO] [stdout] 499057e0e4aed43c907130aa67caf648e27a1c7a25e120aee4597fb00640fed4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 825a56ca44cbe241590a5020af33a28183cdf932ed6f80cbdb51c7893218000d [INFO] running `Command { std: "docker" "start" "-a" "825a56ca44cbe241590a5020af33a28183cdf932ed6f80cbdb51c7893218000d", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/bin/messages.rs [INFO] [stderr] * src/bin/app.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rprompt v1.0.5 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking stderrlog v0.3.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling ws v0.7.9 [INFO] [stderr] Compiling wurl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `ssl` [INFO] [stdout] --> src/bin/app.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | if cfg!(feature = "ssl") { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `cli`, `default`, `rprompt`, and `stderrlog` [INFO] [stdout] = help: consider adding `ssl` as a feature in `Cargo.toml` [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: field `reason` is never read [INFO] [stdout] --> src/util/options.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OptionParseError { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 8 | /// The human-readable error message [INFO] [stdout] 9 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionParseError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reason` is never read [INFO] [stdout] --> src/util/options.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct OptionParseError { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 8 | /// The human-readable error message [INFO] [stdout] 9 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptionParseError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ssl` [INFO] [stdout] --> src/bin/app.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | if cfg!(feature = "ssl") { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `cli`, `default`, `rprompt`, and `stderrlog` [INFO] [stdout] = help: consider adding `ssl` as a feature in `Cargo.toml` [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: unexpected `cfg` condition value: `ssl` [INFO] [stdout] --> src/bin/app.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | if cfg!(feature = "ssl") { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `clap`, `cli`, `default`, `rprompt`, and `stderrlog` [INFO] [stdout] = help: consider adding `ssl` as a feature in `Cargo.toml` [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: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/wurl.rs:71:52 [INFO] [stdout] | [INFO] [stdout] 71 | eprintln!("Error: {:?}", error.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/bin/wurl.rs:71:52 [INFO] [stdout] | [INFO] [stdout] 71 | eprintln!("Error: {:?}", error.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/wurl.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | if let Ok(url) = value_t!(matches, "url", String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `value_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/wurl.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | if let Ok(headers) = values_t!(matches, "headers", String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `values_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wurl` (bin "wurl") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/wurl.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | if let Ok(url) = value_t!(matches, "url", String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `value_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/wurl.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | if let Ok(headers) = values_t!(matches, "headers", String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `values_t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wurl` (bin "wurl" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "825a56ca44cbe241590a5020af33a28183cdf932ed6f80cbdb51c7893218000d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "825a56ca44cbe241590a5020af33a28183cdf932ed6f80cbdb51c7893218000d", kill_on_drop: false }` [INFO] [stdout] 825a56ca44cbe241590a5020af33a28183cdf932ed6f80cbdb51c7893218000d