[INFO] fetching crate witness 0.3.0... [INFO] checking witness-0.3.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate witness 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate witness 0.3.0 [INFO] finished tweaking crates.io crate witness 0.3.0 [INFO] tweaked toml for crates.io crate witness 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate witness 0.3.0 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 witness 0.3.0 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 22f997df725d0ca6ede27dda59e9099748d0de0326216cbaba508360359ec61b [INFO] running `Command { std: "docker" "start" "-a" "22f997df725d0ca6ede27dda59e9099748d0de0326216cbaba508360359ec61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22f997df725d0ca6ede27dda59e9099748d0de0326216cbaba508360359ec61b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f997df725d0ca6ede27dda59e9099748d0de0326216cbaba508360359ec61b", kill_on_drop: false }` [INFO] [stdout] 22f997df725d0ca6ede27dda59e9099748d0de0326216cbaba508360359ec61b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e6cfc5788c73082098c554181e25beedc886d97c636c88182a355bd0b5b384d6 [INFO] running `Command { std: "docker" "start" "-a" "e6cfc5788c73082098c554181e25beedc886d97c636c88182a355bd0b5b384d6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking tracing-core v0.1.24 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking tracing v0.1.33 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Checking clap v3.1.8 [INFO] [stderr] Checking witness v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /// The command to execute. This is passed to your shell. [INFO] [stdout] 35 | | /// [INFO] [stdout] 36 | | /// If you want to chain commands or pipe output from one command to another, surround the [INFO] [stdout] 37 | | /// commands in quotes. Example: `witness "ls | less"` would run `ls` and pipe its output to [INFO] [stdout] ... | [INFO] [stdout] 41 | | #[clap(value_hint = clap::ValueHint::CommandWithArguments)] [INFO] [stdout] 42 | | pub command: Vec, [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:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / /// Only files with these extensions trigger execution [INFO] [stdout] 77 | | #[clap(short, long)] [INFO] [stdout] 78 | | #[clap(value_delimiter = ',')] [INFO] [stdout] 79 | | pub extensions: Option>, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | / /// Only network requests containing this exact string will trigger execution. [INFO] [stdout] 107 | | /// Set to the empty string to allow any request. [INFO] [stdout] 108 | | #[clap(long = "key")] [INFO] [stdout] 109 | | #[clap(default_value = DEFAULT_KEY)] [INFO] [stdout] 110 | | pub key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / /// The shell used to interpret commands [INFO] [stdout] 134 | | #[clap(long)] [INFO] [stdout] 135 | | #[clap(default_value = "sh")] [INFO] [stdout] 136 | | #[clap(env = "SHELL")] [INFO] [stdout] 137 | | pub shell: OsString, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `witness` (bin "witness" test) due to 4 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/cli.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /// The command to execute. This is passed to your shell. [INFO] [stdout] 35 | | /// [INFO] [stdout] 36 | | /// If you want to chain commands or pipe output from one command to another, surround the [INFO] [stdout] 37 | | /// commands in quotes. Example: `witness "ls | less"` would run `ls` and pipe its output to [INFO] [stdout] ... | [INFO] [stdout] 41 | | #[clap(value_hint = clap::ValueHint::CommandWithArguments)] [INFO] [stdout] 42 | | pub command: Vec, [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:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / /// Only files with these extensions trigger execution [INFO] [stdout] 77 | | #[clap(short, long)] [INFO] [stdout] 78 | | #[clap(value_delimiter = ',')] [INFO] [stdout] 79 | | pub extensions: Option>, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | / /// Only network requests containing this exact string will trigger execution. [INFO] [stdout] 107 | | /// Set to the empty string to allow any request. [INFO] [stdout] 108 | | #[clap(long = "key")] [INFO] [stdout] 109 | | #[clap(default_value = DEFAULT_KEY)] [INFO] [stdout] 110 | | pub key: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / /// The shell used to interpret commands [INFO] [stdout] 134 | | #[clap(long)] [INFO] [stdout] 135 | | #[clap(default_value = "sh")] [INFO] [stdout] 136 | | #[clap(env = "SHELL")] [INFO] [stdout] 137 | | pub shell: OsString, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `witness` (bin "witness") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "e6cfc5788c73082098c554181e25beedc886d97c636c88182a355bd0b5b384d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6cfc5788c73082098c554181e25beedc886d97c636c88182a355bd0b5b384d6", kill_on_drop: false }` [INFO] [stdout] e6cfc5788c73082098c554181e25beedc886d97c636c88182a355bd0b5b384d6