[INFO] cloning repository https://github.com/aidos9/archer-pm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aidos9/archer-pm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faidos9%2Farcher-pm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faidos9%2Farcher-pm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b60bd804144dd6aa3b251196d626c9c970ee1a51 [INFO] checking aidos9/archer-pm against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faidos9%2Farcher-pm" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aidos9/archer-pm [INFO] finished tweaking git repo https://github.com/aidos9/archer-pm [INFO] tweaked toml for git repo https://github.com/aidos9/archer-pm written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aidos9/archer-pm 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 git repo https://github.com/aidos9/archer-pm 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] eb01bae929b496521fee525cfe9921e07fdb9223b69dcde936692eb625296d4e [INFO] running `Command { std: "docker" "start" "-a" "eb01bae929b496521fee525cfe9921e07fdb9223b69dcde936692eb625296d4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb01bae929b496521fee525cfe9921e07fdb9223b69dcde936692eb625296d4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb01bae929b496521fee525cfe9921e07fdb9223b69dcde936692eb625296d4e", kill_on_drop: false }` [INFO] [stdout] eb01bae929b496521fee525cfe9921e07fdb9223b69dcde936692eb625296d4e [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] f277e2284e82310bde339210970b19e49d2c31fc75d74d1c28128c8381e14661 [INFO] running `Command { std: "docker" "start" "-a" "f277e2284e82310bde339210970b19e49d2c31fc75d74d1c28128c8381e14661", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking typenum v1.15.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking base64ct v1.0.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking password-hash v0.3.2 [INFO] [stderr] Checking num_threads v0.1.5 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking clap_lex v0.1.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.1 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking pbkdf2 v0.10.1 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Checking clap v3.1.12 [INFO] [stderr] Checking zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.2 [INFO] [stderr] Checking archer_package_manager v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zip_manipulation.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut f = OpenOptions::new() [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `contents` and `source_path` are never read [INFO] [stdout] --> src/packages.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Package { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | contents: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | source_path: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/zip_manipulation.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut f = OpenOptions::new() [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `contents` and `source_path` are never read [INFO] [stdout] --> src/packages.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Package { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | contents: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | source_path: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / #[clap( [INFO] [stdout] 33 | | conflicts_with = "path", [INFO] [stdout] 34 | | short, [INFO] [stdout] 35 | | help = "The name of the package as stored in the management DB", [INFO] [stdout] 36 | | required_unless_present = "path" [INFO] [stdout] 37 | | )] [INFO] [stdout] 38 | | name: 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/executable/cli.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | / #[clap( [INFO] [stdout] 40 | | conflicts_with = "name", [INFO] [stdout] 41 | | short, [INFO] [stdout] 42 | | help = "The path to the archer zip file", [INFO] [stdout] 43 | | required_unless_present = "name" [INFO] [stdout] 44 | | )] [INFO] [stdout] 45 | | path: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / #[clap(short, help = "The path to the output zip file")] [INFO] [stdout] 47 | | output_path: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | / #[clap( [INFO] [stdout] 58 | | conflicts_with = "path", [INFO] [stdout] 59 | | short, [INFO] [stdout] 60 | | help = "The name of the package as stored in the management DB" [INFO] [stdout] 61 | | )] [INFO] [stdout] 62 | | name: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | / #[clap( [INFO] [stdout] 66 | | short, [INFO] [stdout] 67 | | help = "The path to the archer zip file", [INFO] [stdout] 68 | | required_unless_present = "name", [INFO] [stdout] 69 | | conflicts_with = "name" [INFO] [stdout] 70 | | )] [INFO] [stdout] 71 | | path: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | / #[clap(short, help = "The path to the output zip file")] [INFO] [stdout] 73 | | output_path: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | input_directory: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / #[clap( [INFO] [stdout] 90 | | long = "name", [INFO] [stdout] 91 | | help = "Specify the name of the package if adding to the db" [INFO] [stdout] 92 | | )] [INFO] [stdout] 93 | | name: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | / #[clap(long = "version", help = "Specify the version of the package")] [INFO] [stdout] 95 | | version: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | / #[clap( [INFO] [stdout] 97 | | name = "output_path", [INFO] [stdout] 98 | | short = 'o', [INFO] [stdout] 99 | | long = "output", [INFO] [stdout] 100 | | help = "Specify the output path for the package" [INFO] [stdout] 101 | | )] [INFO] [stdout] 102 | | output_path: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `archer_package_manager` (bin "apm") due to 10 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/executable/cli.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / #[clap( [INFO] [stdout] 33 | | conflicts_with = "path", [INFO] [stdout] 34 | | short, [INFO] [stdout] 35 | | help = "The name of the package as stored in the management DB", [INFO] [stdout] 36 | | required_unless_present = "path" [INFO] [stdout] 37 | | )] [INFO] [stdout] 38 | | name: 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/executable/cli.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | / #[clap( [INFO] [stdout] 40 | | conflicts_with = "name", [INFO] [stdout] 41 | | short, [INFO] [stdout] 42 | | help = "The path to the archer zip file", [INFO] [stdout] 43 | | required_unless_present = "name" [INFO] [stdout] 44 | | )] [INFO] [stdout] 45 | | path: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / #[clap(short, help = "The path to the output zip file")] [INFO] [stdout] 47 | | output_path: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | / #[clap( [INFO] [stdout] 58 | | conflicts_with = "path", [INFO] [stdout] 59 | | short, [INFO] [stdout] 60 | | help = "The name of the package as stored in the management DB" [INFO] [stdout] 61 | | )] [INFO] [stdout] 62 | | name: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | / #[clap( [INFO] [stdout] 66 | | short, [INFO] [stdout] 67 | | help = "The path to the archer zip file", [INFO] [stdout] 68 | | required_unless_present = "name", [INFO] [stdout] 69 | | conflicts_with = "name" [INFO] [stdout] 70 | | )] [INFO] [stdout] 71 | | path: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | / #[clap(short, help = "The path to the output zip file")] [INFO] [stdout] 73 | | output_path: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | input_directory: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | / #[clap( [INFO] [stdout] 90 | | long = "name", [INFO] [stdout] 91 | | help = "Specify the name of the package if adding to the db" [INFO] [stdout] 92 | | )] [INFO] [stdout] 93 | | name: Option, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | / #[clap(long = "version", help = "Specify the version of the package")] [INFO] [stdout] 95 | | version: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/executable/cli.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | / #[clap( [INFO] [stdout] 97 | | name = "output_path", [INFO] [stdout] 98 | | short = 'o', [INFO] [stdout] 99 | | long = "output", [INFO] [stdout] 100 | | help = "Specify the output path for the package" [INFO] [stdout] 101 | | )] [INFO] [stdout] 102 | | output_path: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `archer_package_manager` (bin "apm" test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "f277e2284e82310bde339210970b19e49d2c31fc75d74d1c28128c8381e14661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f277e2284e82310bde339210970b19e49d2c31fc75d74d1c28128c8381e14661", kill_on_drop: false }` [INFO] [stdout] f277e2284e82310bde339210970b19e49d2c31fc75d74d1c28128c8381e14661