[INFO] cloning repository https://github.com/M1cha/cdbpatch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/M1cha/cdbpatch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1cha%2Fcdbpatch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1cha%2Fcdbpatch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5b7009aab86e3c7eba6ddfeeeb0e00a6ed2cf88 [INFO] checking M1cha/cdbpatch 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%2FM1cha%2Fcdbpatch" "/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/M1cha/cdbpatch [INFO] finished tweaking git repo https://github.com/M1cha/cdbpatch [INFO] tweaked toml for git repo https://github.com/M1cha/cdbpatch written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/M1cha/cdbpatch 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/M1cha/cdbpatch 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] b55cbd230359bc55390ce904a849abe5c0ec2ca0b5ddd9df61a56db14fc3fef4 [INFO] running `Command { std: "docker" "start" "-a" "b55cbd230359bc55390ce904a849abe5c0ec2ca0b5ddd9df61a56db14fc3fef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b55cbd230359bc55390ce904a849abe5c0ec2ca0b5ddd9df61a56db14fc3fef4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b55cbd230359bc55390ce904a849abe5c0ec2ca0b5ddd9df61a56db14fc3fef4", kill_on_drop: false }` [INFO] [stdout] b55cbd230359bc55390ce904a849abe5c0ec2ca0b5ddd9df61a56db14fc3fef4 [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] 42ed7e36be77347ebfb98d12f5657c8da89807bfa60dd5101e343dea723cc193 [INFO] running `Command { std: "docker" "start" "-a" "42ed7e36be77347ebfb98d12f5657c8da89807bfa60dd5101e343dea723cc193", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking os_str_bytes v3.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking shellwords v1.1.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 (https://github.com/clap-rs/clap.git#610d56d1) [INFO] [stderr] Checking clap v3.0.0-beta.2 (https://github.com/clap-rs/clap.git#610d56d1) [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking cdbpatch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / /// additional C compiler arguments [INFO] [stdout] 8 | | #[clap( [INFO] [stdout] 9 | | long, [INFO] [stdout] 10 | | allow_hyphen_values = true, [INFO] [stdout] ... | [INFO] [stdout] 13 | | )] [INFO] [stdout] 14 | | ccadd: 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/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /// remove C compiler arguments [INFO] [stdout] 17 | | #[clap( [INFO] [stdout] 18 | | long, [INFO] [stdout] 19 | | allow_hyphen_values = true, [INFO] [stdout] ... | [INFO] [stdout] 22 | | )] [INFO] [stdout] 23 | | ccdel: Vec, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / /// override C compiler [INFO] [stdout] 26 | | #[clap(long)] [INFO] [stdout] 27 | | use_cc: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / /// override C++ compiler [INFO] [stdout] 30 | | #[clap(long)] [INFO] [stdout] 31 | | use_cxx: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / /// Path to patched compilation database [INFO] [stdout] 39 | | #[clap(long, short)] [INFO] [stdout] 40 | | out: String, [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / /// Path to compilation database (e.g. compile_commands.json) [INFO] [stdout] 43 | | cdb: String, [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / /// additional C compiler arguments [INFO] [stdout] 8 | | #[clap( [INFO] [stdout] 9 | | long, [INFO] [stdout] 10 | | allow_hyphen_values = true, [INFO] [stdout] ... | [INFO] [stdout] 13 | | )] [INFO] [stdout] 14 | | ccadd: 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/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /// remove C compiler arguments [INFO] [stdout] 17 | | #[clap( [INFO] [stdout] 18 | | long, [INFO] [stdout] 19 | | allow_hyphen_values = true, [INFO] [stdout] ... | [INFO] [stdout] 22 | | )] [INFO] [stdout] 23 | | ccdel: Vec, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / /// override C compiler [INFO] [stdout] 26 | | #[clap(long)] [INFO] [stdout] 27 | | use_cc: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / /// override C++ compiler [INFO] [stdout] 30 | | #[clap(long)] [INFO] [stdout] 31 | | use_cxx: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / /// Path to patched compilation database [INFO] [stdout] 39 | | #[clap(long, short)] [INFO] [stdout] 40 | | out: String, [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / /// Path to compilation database (e.g. compile_commands.json) [INFO] [stdout] 43 | | cdb: String, [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cdbpatch` (bin "cdbpatch") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cdbpatch` (bin "cdbpatch" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "42ed7e36be77347ebfb98d12f5657c8da89807bfa60dd5101e343dea723cc193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ed7e36be77347ebfb98d12f5657c8da89807bfa60dd5101e343dea723cc193", kill_on_drop: false }` [INFO] [stdout] 42ed7e36be77347ebfb98d12f5657c8da89807bfa60dd5101e343dea723cc193