[INFO] fetching crate phpup 0.1.8... [INFO] checking phpup-0.1.8 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate phpup 0.1.8 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate phpup 0.1.8 [INFO] finished tweaking crates.io crate phpup 0.1.8 [INFO] tweaked toml for crates.io crate phpup 0.1.8 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate phpup 0.1.8 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] crate crates.io crate phpup 0.1.8 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c2dd144ead7ab60ae1baa34210bc23a8330e13b48e64f9141191c71a68f2b8d7 [INFO] running `Command { std: "docker" "start" "-a" "c2dd144ead7ab60ae1baa34210bc23a8330e13b48e64f9141191c71a68f2b8d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2dd144ead7ab60ae1baa34210bc23a8330e13b48e64f9141191c71a68f2b8d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2dd144ead7ab60ae1baa34210bc23a8330e13b48e64f9141191c71a68f2b8d7", kill_on_drop: false }` [INFO] [stdout] c2dd144ead7ab60ae1baa34210bc23a8330e13b48e64f9141191c71a68f2b8d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 10aa2c337018fb1916b06c131406bc65d83b58377df5c92b94a337b967688178 [INFO] running `Command { std: "docker" "start" "-a" "10aa2c337018fb1916b06c131406bc65d83b58377df5c92b94a337b967688178", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking fastrand v1.6.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking which v4.2.4 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling clap_derive v3.0.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Checking clap v3.0.10 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Checking clap_complete v3.0.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_with v1.11.0 [INFO] [stderr] Checking phpup v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/alias.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub alias: crate::version::Alias, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/install.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / /// Specify configure options used by the PHP configure scripts. [INFO] [stdout] 37 | | /// To specify two or more options, enclose them with quotation marks. [INFO] [stdout] 38 | | #[clap(long, env = "PHPUP_CONFIGURE_OPTS", allow_hyphen_values = true)] [INFO] [stdout] 39 | | configure_opts: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/unalias.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | alias: alias::Alias, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/use.rs:140:45 [INFO] [stdout] | [INFO] [stdout] 140 | .or_else(|_| Ok(Self::Alias(s.parse().unwrap()))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / /// Specify a custom PHP-UP directory [INFO] [stdout] 9 | | #[clap(long = "phpup-dir", env = "PHPUP_DIR")] [INFO] [stdout] 10 | | base_dir: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/config.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / /// Specify a custom symbolic link used for version switching [INFO] [stdout] 13 | | #[clap(long, env = "PHPUP_MULTISHELL_PATH", hide = true)] [INFO] [stdout] 14 | | multishell_path: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/version/alias.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Display, FromStr, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `FromStr` (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: ControlFlow, std::string::String> [INFO] [stdout] --> src/version/alias.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Display, FromStr, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/version/alias.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Display, FromStr, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `FromStr` (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/version/alias.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Display, FromStr, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/version/file.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / /// Spacify a custom version file name [INFO] [stdout] 12 | | #[clap(long = "version-file-name", env = "PHPUP_VERSION_FILE_NAME", default_value = DEFAULT_VERSION_FILE_NAME)] [INFO] [stdout] 13 | | filename: PathBuf, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `phpup` (lib test) due to 11 previous errors [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/commands/alias.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub alias: crate::version::Alias, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/install.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / /// Specify configure options used by the PHP configure scripts. [INFO] [stdout] 37 | | /// To specify two or more options, enclose them with quotation marks. [INFO] [stdout] 38 | | #[clap(long, env = "PHPUP_CONFIGURE_OPTS", allow_hyphen_values = true)] [INFO] [stdout] 39 | | configure_opts: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/unalias.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | alias: alias::Alias, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/commands/use.rs:140:45 [INFO] [stdout] | [INFO] [stdout] 140 | .or_else(|_| Ok(Self::Alias(s.parse().unwrap()))) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / /// Specify a custom PHP-UP directory [INFO] [stdout] 9 | | #[clap(long = "phpup-dir", env = "PHPUP_DIR")] [INFO] [stdout] 10 | | base_dir: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/config.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / /// Specify a custom symbolic link used for version switching [INFO] [stdout] 13 | | #[clap(long, env = "PHPUP_MULTISHELL_PATH", hide = true)] [INFO] [stdout] 14 | | multishell_path: Option, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/version/alias.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Display, FromStr, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `FromStr` (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: ControlFlow, std::string::String> [INFO] [stdout] --> src/version/alias.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Display, FromStr, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/version/alias.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Display, FromStr, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `FromStr` (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/version/alias.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Display, FromStr, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/version/file.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / /// Spacify a custom version file name [INFO] [stdout] 12 | | #[clap(long = "version-file-name", env = "PHPUP_VERSION_FILE_NAME", default_value = DEFAULT_VERSION_FILE_NAME)] [INFO] [stdout] 13 | | filename: PathBuf, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `phpup` (lib) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "10aa2c337018fb1916b06c131406bc65d83b58377df5c92b94a337b967688178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10aa2c337018fb1916b06c131406bc65d83b58377df5c92b94a337b967688178", kill_on_drop: false }` [INFO] [stdout] 10aa2c337018fb1916b06c131406bc65d83b58377df5c92b94a337b967688178