[INFO] fetching crate rebackup 1.0.2... [INFO] checking rebackup-1.0.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate rebackup 1.0.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rebackup 1.0.2 [INFO] finished tweaking crates.io crate rebackup 1.0.2 [INFO] tweaked toml for crates.io crate rebackup 1.0.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rebackup 1.0.2 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 rebackup 1.0.2 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3e3530b19da330557a3d18a296eaf7f3ce6f284cec487b39b6b890d8d6a384bc [INFO] running `Command { std: "docker" "start" "-a" "3e3530b19da330557a3d18a296eaf7f3ce6f284cec487b39b6b890d8d6a384bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e3530b19da330557a3d18a296eaf7f3ce6f284cec487b39b6b890d8d6a384bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e3530b19da330557a3d18a296eaf7f3ce6f284cec487b39b6b890d8d6a384bc", kill_on_drop: false }` [INFO] [stdout] 3e3530b19da330557a3d18a296eaf7f3ce6f284cec487b39b6b890d8d6a384bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c5890016da1778d4f6c14927ae1f02f9cd30ed4af49a4019dc74bddd238ad918 [INFO] running `Command { std: "docker" "start" "-a" "c5890016da1778d4f6c14927ae1f02f9cd30ed4af49a4019dc74bddd238ad918", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.62 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling atomic v0.5.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking rebackup v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `rebackup` (bin "rebackup" test) 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/bin/rebackup/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / #[clap(about = "Source directory")] [INFO] [stdout] 19 | | pub source: PathBuf, [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/bin/rebackup/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / #[clap(short, long, about = "Output file (will print to STDOUT if empty)")] [INFO] [stdout] 22 | | pub output: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / #[clap(short, long, about = "Prefix all output lines with a specific string")] [INFO] [stdout] 28 | | pub prefix: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/rules/glob_patterns.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / #[clap(long, about = "Ignore all following rules when matching")] [INFO] [stdout] 8 | | pub include_absolute: Vec, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/rules/glob_patterns.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / #[clap(long, about = "Only include items with a glob pattern")] [INFO] [stdout] 11 | | pub include_only: Vec, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/rules/glob_patterns.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / #[clap(short, long, about = "Exclude items with a glob pattern")] [INFO] [stdout] 14 | | pub exclude: Vec, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/rules/shell_filters.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / #[clap(short, long, about = "Exclude items when provided commands fail (use REBACKUP_ITEM variable)")] [INFO] [stdout] 8 | | pub filter_with: Vec, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/rules/shell_filters.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / #[clap(long, about = "The binary shell to use for filtering")] [INFO] [stdout] 11 | | pub shell: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/rules/shell_filters.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / #[clap(long, about = "Shell arguments provided before commands", requires = "shell")] [INFO] [stdout] 14 | | pub shell_head_args: Vec, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/rules/shell_filters.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / #[clap(long, about = "Shell arguments provided after commands", requires = "shell")] [INFO] [stdout] 17 | | pub shell_tail_args: Vec, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / #[clap(about = "Source directory")] [INFO] [stdout] 19 | | pub source: PathBuf, [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/bin/rebackup/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / #[clap(short, long, about = "Output file (will print to STDOUT if empty)")] [INFO] [stdout] 22 | | pub output: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / #[clap(short, long, about = "Prefix all output lines with a specific string")] [INFO] [stdout] 28 | | pub prefix: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/rules/glob_patterns.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / #[clap(long, about = "Ignore all following rules when matching")] [INFO] [stdout] 8 | | pub include_absolute: Vec, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/rules/glob_patterns.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / #[clap(long, about = "Only include items with a glob pattern")] [INFO] [stdout] 11 | | pub include_only: Vec, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/rules/glob_patterns.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / #[clap(short, long, about = "Exclude items with a glob pattern")] [INFO] [stdout] 14 | | pub exclude: Vec, [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/rules/shell_filters.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / #[clap(short, long, about = "Exclude items when provided commands fail (use REBACKUP_ITEM variable)")] [INFO] [stdout] 8 | | pub filter_with: Vec, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/rules/shell_filters.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / #[clap(long, about = "The binary shell to use for filtering")] [INFO] [stdout] 11 | | pub shell: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/rules/shell_filters.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / #[clap(long, about = "Shell arguments provided before commands", requires = "shell")] [INFO] [stdout] 14 | | pub shell_head_args: Vec, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/rebackup/rules/shell_filters.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / #[clap(long, about = "Shell arguments provided after commands", requires = "shell")] [INFO] [stdout] 17 | | pub shell_tail_args: Vec, [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rebackup` (bin "rebackup") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "c5890016da1778d4f6c14927ae1f02f9cd30ed4af49a4019dc74bddd238ad918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5890016da1778d4f6c14927ae1f02f9cd30ed4af49a4019dc74bddd238ad918", kill_on_drop: false }` [INFO] [stdout] c5890016da1778d4f6c14927ae1f02f9cd30ed4af49a4019dc74bddd238ad918