[INFO] fetching crate gitlab-cli 0.1.6... [INFO] checking gitlab-cli-0.1.6 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate gitlab-cli 0.1.6 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate gitlab-cli 0.1.6 [INFO] finished tweaking crates.io crate gitlab-cli 0.1.6 [INFO] tweaked toml for crates.io crate gitlab-cli 0.1.6 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gitlab-cli 0.1.6 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 gitlab-cli 0.1.6 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] 3ff70c09f1ceeb9f4330108501c3fbd36835943b243be7b38daa3b5361bf7aab [INFO] running `Command { std: "docker" "start" "-a" "3ff70c09f1ceeb9f4330108501c3fbd36835943b243be7b38daa3b5361bf7aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ff70c09f1ceeb9f4330108501c3fbd36835943b243be7b38daa3b5361bf7aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ff70c09f1ceeb9f4330108501c3fbd36835943b243be7b38daa3b5361bf7aab", kill_on_drop: false }` [INFO] [stdout] 3ff70c09f1ceeb9f4330108501c3fbd36835943b243be7b38daa3b5361bf7aab [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] e410b0bfc1369cab5e85ea5b0e66b62a99da11b9695c46dcac2ff41a72b466fa [INFO] running `Command { std: "docker" "start" "-a" "e410b0bfc1369cab5e85ea5b0e66b62a99da11b9695c46dcac2ff41a72b466fa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking openssl-sys v0.9.75 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking bytecount v0.6.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking open v3.0.2 [INFO] [stderr] Checking terminal-link v0.1.0 [INFO] [stderr] Checking strip-ansi-escapes v0.1.1 [INFO] [stderr] Checking ansitok v0.1.0 [INFO] [stderr] Checking ansi-str v0.3.0 [INFO] [stderr] Checking papergrid v0.5.1 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling tabled_derive v0.4.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking openssl v0.10.41 [INFO] [stderr] Checking tabled v0.8.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking native-tls v0.2.10 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking gitlab-cli v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Test` is never constructed [INFO] [stdout] --> src/print.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | struct Test<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyLink` is never constructed [INFO] [stdout] --> src/print.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | struct MyLink<'a>(Link<'a>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / /// Target gitlab url [INFO] [stdout] 21 | | #[structopt(short, long)] [INFO] [stdout] 22 | | url: String, [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.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / /// Personal token [INFO] [stdout] 24 | | #[structopt(short, long)] [INFO] [stdout] 25 | | token: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / #[structopt(short, long)] [INFO] [stdout] 36 | | search_name: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | / #[structopt(short, long)] [INFO] [stdout] 56 | | search_name: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / #[structopt(short, long)] [INFO] [stdout] 63 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | / #[structopt(short, long, about = "Branch off target branch")] [INFO] [stdout] 65 | | base_branch: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/config.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(save_file: &'a str) -> Configator { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(save_file: &'a str) -> Configator<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gitlab-cli` (bin "gitlab-cli") due to 6 previous errors; 3 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/cli.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / /// Target gitlab url [INFO] [stdout] 21 | | #[structopt(short, long)] [INFO] [stdout] 22 | | url: String, [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.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / /// Personal token [INFO] [stdout] 24 | | #[structopt(short, long)] [INFO] [stdout] 25 | | token: String, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / #[structopt(short, long)] [INFO] [stdout] 36 | | search_name: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | / #[structopt(short, long)] [INFO] [stdout] 56 | | search_name: Option, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | / #[structopt(short, long)] [INFO] [stdout] 63 | | name: String, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | / #[structopt(short, long, about = "Branch off target branch")] [INFO] [stdout] 65 | | base_branch: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/config.rs:25:39 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(save_file: &'a str) -> Configator { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(save_file: &'a str) -> Configator<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gitlab-cli` (bin "gitlab-cli" test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e410b0bfc1369cab5e85ea5b0e66b62a99da11b9695c46dcac2ff41a72b466fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e410b0bfc1369cab5e85ea5b0e66b62a99da11b9695c46dcac2ff41a72b466fa", kill_on_drop: false }` [INFO] [stdout] e410b0bfc1369cab5e85ea5b0e66b62a99da11b9695c46dcac2ff41a72b466fa