[INFO] fetching crate rua 0.19.10... [INFO] checking rua-0.19.10 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate rua 0.19.10 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate rua 0.19.10 [INFO] finished tweaking crates.io crate rua 0.19.10 [INFO] tweaked toml for crates.io crate rua 0.19.10 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rua 0.19.10 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 rua 0.19.10 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-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] 42fcce31c55fcd6727fbfa82249c0e7ba223793dec97d6e3aba53a5816bc6885 [INFO] running `Command { std: "docker" "start" "-a" "42fcce31c55fcd6727fbfa82249c0e7ba223793dec97d6e3aba53a5816bc6885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42fcce31c55fcd6727fbfa82249c0e7ba223793dec97d6e3aba53a5816bc6885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42fcce31c55fcd6727fbfa82249c0e7ba223793dec97d6e3aba53a5816bc6885", kill_on_drop: false }` [INFO] [stdout] 42fcce31c55fcd6727fbfa82249c0e7ba223793dec97d6e3aba53a5816bc6885 [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] 9fcab93744017b3eb5fda4c18bbd3c25893cc6ff1e9e4f58e4cfa9a9d7c28e50 [INFO] running `Command { std: "docker" "start" "-a" "9fcab93744017b3eb5fda4c18bbd3c25893cc6ff1e9e4f58e4cfa9a9d7c28e50", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling libscmp v0.2.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling serde_json v1.0.110 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling thiserror-core v1.0.50 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking webpki-roots v0.25.3 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking libflate_lz77 v2.0.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking dary_heap v0.3.6 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking libflate v2.0.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking rm_rf v0.6.2 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking uname v0.1.1 [INFO] [stderr] Checking termize v0.1.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Checking srcinfo v1.1.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking prettytable-rs v0.10.0 [INFO] [stderr] Compiling thiserror-core-impl v1.0.50 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking ruzstd v0.4.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Compiling rua v0.19.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `color` and `action` are never read [INFO] [stdout] --> src/cli_args.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct CliArgs { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub color: CLIColorType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | #[structopt(subcommand)] [INFO] [stdout] 35 | pub action: Action, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CliArgs` has a derived impl for the trait `Debug`, but this is 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: fields `offline`, `force`, and `target` are never read [INFO] [stdout] --> src/cli_args.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 42 | Builddir { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 49 | offline: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | force: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | target: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/cli_args.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 62 | Info { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 63 | #[structopt(help = "Target to show for", multiple = true, required = true)] [INFO] [stdout] 64 | target: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `asdeps`, `offline`, and `target` are never read [INFO] [stdout] --> src/cli_args.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 67 | Install { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 68 | #[structopt(long = "asdeps", help = "Install package as dependency")] [INFO] [stdout] 69 | asdeps: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | offline: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 77 | #[structopt(help = "Target package", multiple = true, required = true)] [INFO] [stdout] 78 | target: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/cli_args.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 83 | Search { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 84 | #[structopt(help = "Target to search for", multiple = true, required = true)] [INFO] [stdout] 85 | target: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/cli_args.rs:94:3 [INFO] [stdout] | [INFO] [stdout] 90 | Shellcheck { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] ... [INFO] [stdout] 94 | target: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `target` is never read [INFO] [stdout] --> src/cli_args.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 99 | Tarcheck { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 100 | #[structopt(help = "Archive to check", required = true)] [INFO] [stdout] 101 | target: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `devel`, `printonly`, and `ignored` are never read [INFO] [stdout] --> src/cli_args.rs:113:3 [INFO] [stdout] | [INFO] [stdout] 106 | Upgrade { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 113 | devel: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | printonly: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | ignored: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli_args.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | / #[structopt( [INFO] [stdout] 57 | | help = "Target directory. Defaults to current directory '.' if not specified." [INFO] [stdout] 58 | | )] [INFO] [stdout] 59 | | target: Option, [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/cli_args.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | / #[structopt(help = "Target to show for", multiple = true, required = true)] [INFO] [stdout] 64 | | target: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli_args.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | / #[structopt(help = "Target package", multiple = true, required = true)] [INFO] [stdout] 78 | | target: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli_args.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | / #[structopt(help = "Target to search for", multiple = true, required = true)] [INFO] [stdout] 85 | | target: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli_args.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | / #[structopt( [INFO] [stdout] 92 | | help = "PKGBUILD or directory to check. Defaults to /dev/stdin if not specified. Appends ./PKGBUILD for directories" [INFO] [stdout] 93 | | )] [INFO] [stdout] 94 | | target: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli_args.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | / #[structopt(help = "Archive to check", required = true)] [INFO] [stdout] 101 | | target: PathBuf, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli_args.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 119 | / #[structopt( [INFO] [stdout] 120 | | long = "ignore", [INFO] [stdout] 121 | | help = "Don't upgrade the specified package(s). Accepts multiple arguments separated by `,`." [INFO] [stdout] 122 | | )] [INFO] [stdout] 123 | | ignored: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rua` (build script) due to 7 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9fcab93744017b3eb5fda4c18bbd3c25893cc6ff1e9e4f58e4cfa9a9d7c28e50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fcab93744017b3eb5fda4c18bbd3c25893cc6ff1e9e4f58e4cfa9a9d7c28e50", kill_on_drop: false }` [INFO] [stdout] 9fcab93744017b3eb5fda4c18bbd3c25893cc6ff1e9e4f58e4cfa9a9d7c28e50