[INFO] cloning repository https://github.com/r-darwish/alma [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r-darwish/alma" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-darwish%2Falma", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-darwish%2Falma'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7860cdaa78ece06060f26262c5452d36e1eeef9 [INFO] checking r-darwish/alma 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%2Fr-darwish%2Falma" "/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/r-darwish/alma [INFO] finished tweaking git repo https://github.com/r-darwish/alma [INFO] tweaked toml for git repo https://github.com/r-darwish/alma written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/r-darwish/alma 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/r-darwish/alma 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] d61a445d408dfd0ec2e9db11123139ebcf1018f70c0debdca076ccc20db2a16f [INFO] running `Command { std: "docker" "start" "-a" "d61a445d408dfd0ec2e9db11123139ebcf1018f70c0debdca076ccc20db2a16f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d61a445d408dfd0ec2e9db11123139ebcf1018f70c0debdca076ccc20db2a16f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d61a445d408dfd0ec2e9db11123139ebcf1018f70c0debdca076ccc20db2a16f", kill_on_drop: false }` [INFO] [stdout] d61a445d408dfd0ec2e9db11123139ebcf1018f70c0debdca076ccc20db2a16f [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] dde810b876fa7b0d4e6f662622d73eb014a39240a9dda4eb1e467db123978eed [INFO] running `Command { std: "docker" "start" "-a" "dde810b876fa7b0d4e6f662622d73eb014a39240a9dda4eb1e467db123978eed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.113 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling serde v1.0.113 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Checking zeroize v0.9.3 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking utf8-width v0.1.4 [INFO] [stderr] Checking byte-unit v4.0.9 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.15 [INFO] [stderr] Checking nix v0.19.0 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking console v0.13.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking dialoguer v0.7.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Compiling structopt-derive v0.4.8 [INFO] [stderr] Checking which v4.0.0 [INFO] [stderr] Checking structopt v0.3.15 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking alma v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / /// Path to a pacman.conf file which will be used to pacstrap packages into the image. [INFO] [stdout] 42 | | /// [INFO] [stdout] 43 | | /// This pacman.conf will also be copied into the resulting Arch Linux image. [INFO] [stdout] 44 | | #[structopt(short = "c", long = "pacman-conf", value_name = "pacman_conf")] [INFO] [stdout] 45 | | pub pacman_conf: 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/args.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / /// Additional packages to install [INFO] [stdout] 48 | | #[structopt(short = "p", long = "extra-packages", value_name = "package")] [INFO] [stdout] 49 | | pub extra_packages: Vec, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / /// Additional packages to install [INFO] [stdout] 52 | | #[structopt(long = "aur-packages", value_name = "aurpackage")] [INFO] [stdout] 53 | | pub aur_packages: Vec, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / /// Path to preset files [INFO] [stdout] 68 | | #[structopt(long = "presets", value_name = "preset")] [INFO] [stdout] 69 | | pub presets: Vec, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / /// Path to a pacman.conf file which will be used to pacstrap packages into the image. [INFO] [stdout] 42 | | /// [INFO] [stdout] 43 | | /// This pacman.conf will also be copied into the resulting Arch Linux image. [INFO] [stdout] 44 | | #[structopt(short = "c", long = "pacman-conf", value_name = "pacman_conf")] [INFO] [stdout] 45 | | pub pacman_conf: 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/args.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / /// Additional packages to install [INFO] [stdout] 48 | | #[structopt(short = "p", long = "extra-packages", value_name = "package")] [INFO] [stdout] 49 | | pub extra_packages: Vec, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / /// Optional command to run [INFO] [stdout] 106 | | #[structopt()] [INFO] [stdout] 107 | | pub command: Vec, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / /// Additional packages to install [INFO] [stdout] 52 | | #[structopt(long = "aur-packages", value_name = "aurpackage")] [INFO] [stdout] 53 | | pub aur_packages: Vec, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | / /// Arguments to pass to qemu [INFO] [stdout] 117 | | #[structopt()] [INFO] [stdout] 118 | | pub args: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / /// Path to preset files [INFO] [stdout] 68 | | #[structopt(long = "presets", value_name = "preset")] [INFO] [stdout] 69 | | pub presets: Vec, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / /// Optional command to run [INFO] [stdout] 106 | | #[structopt()] [INFO] [stdout] 107 | | pub command: Vec, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | / /// Arguments to pass to qemu [INFO] [stdout] 117 | | #[structopt()] [INFO] [stdout] 118 | | pub args: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage/storage_device.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_partition(&self, index: u8) -> anyhow::Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_partition(&self, index: u8) -> anyhow::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/storage/storage_device.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_partition(&self, index: u8) -> anyhow::Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | pub fn get_partition(&self, index: u8) -> anyhow::Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `alma` (bin "alma") due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `alma` (bin "alma" test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "dde810b876fa7b0d4e6f662622d73eb014a39240a9dda4eb1e467db123978eed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dde810b876fa7b0d4e6f662622d73eb014a39240a9dda4eb1e467db123978eed", kill_on_drop: false }` [INFO] [stdout] dde810b876fa7b0d4e6f662622d73eb014a39240a9dda4eb1e467db123978eed