[INFO] fetching crate spidior 0.2.2... [INFO] checking spidior-0.2.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate spidior 0.2.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate spidior 0.2.2 [INFO] finished tweaking crates.io crate spidior 0.2.2 [INFO] tweaked toml for crates.io crate spidior 0.2.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spidior 0.2.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 spidior 0.2.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-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] 50d8572dde384208f40a3d99e077c9a5f029ee52cdf00172ab58106109a37373 [INFO] running `Command { std: "docker" "start" "-a" "50d8572dde384208f40a3d99e077c9a5f029ee52cdf00172ab58106109a37373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50d8572dde384208f40a3d99e077c9a5f029ee52cdf00172ab58106109a37373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50d8572dde384208f40a3d99e077c9a5f029ee52cdf00172ab58106109a37373", kill_on_drop: false }` [INFO] [stdout] 50d8572dde384208f40a3d99e077c9a5f029ee52cdf00172ab58106109a37373 [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] eb08c42405f3b431d0a5ba45441ff605e909c33d2de3b8ccce293a094a104507 [INFO] running `Command { std: "docker" "start" "-a" "eb08c42405f3b431d0a5ba45441ff605e909c33d2de3b8ccce293a094a104507", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling string_cache v0.8.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking lalrpop-util v0.19.7 [INFO] [stderr] Compiling lalrpop v0.19.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling clap_derive v3.1.0 [INFO] [stderr] Checking clap v3.1.1 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Compiling spidior v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Rustlike` is never constructed [INFO] [stdout] --> src/languages/rustlike.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Rustlike {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nt` is never read [INFO] [stdout] --> src/nfa/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 59 | transitions: Vec, [INFO] [stdout] 60 | nt: NodeType, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NfaModel` is never constructed [INFO] [stdout] --> src/nfa/mod.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | pub struct NfaModel { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/regexparser/ast.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Any(Box), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Elementary` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 - Any(Box), [INFO] [stdout] 66 + Any(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/regexparser/ast.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Eos(Box), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Elementary` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 67 - Eos(Box), [INFO] [stdout] 67 + Eos(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `global` is never read [INFO] [stdout] --> src/regexparser/ast.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Replace { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 198 | pub global: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Replace` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /// The path to the files we are reading [INFO] [stdout] 23 | | #[clap(short, long, default_value = ".")] [INFO] [stdout] 24 | | path: 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/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / /// The query string for find/replace for each file we find in the input, required if `dump` is not set [INFO] [stdout] 26 | | #[clap(short = 'q', long, required_unless_present("dump"))] [INFO] [stdout] 27 | | query: Option, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spidior` (bin "spidior") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `Rustlike` is never constructed [INFO] [stdout] --> src/languages/rustlike.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Rustlike {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `nt` is never read [INFO] [stdout] --> src/nfa/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 59 | transitions: Vec, [INFO] [stdout] 60 | nt: NodeType, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NfaModel` is never constructed [INFO] [stdout] --> src/nfa/mod.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | pub struct NfaModel { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/regexparser/ast.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Any(Box), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Elementary` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 - Any(Box), [INFO] [stdout] 66 + Any(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/regexparser/ast.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | Eos(Box), [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Elementary` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 67 - Eos(Box), [INFO] [stdout] 67 + Eos(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `global` is never read [INFO] [stdout] --> src/regexparser/ast.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct Replace { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 198 | pub global: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Replace` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /// The path to the files we are reading [INFO] [stdout] 23 | | #[clap(short, long, default_value = ".")] [INFO] [stdout] 24 | | path: 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/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | / /// The query string for find/replace for each file we find in the input, required if `dump` is not set [INFO] [stdout] 26 | | #[clap(short = 'q', long, required_unless_present("dump"))] [INFO] [stdout] 27 | | query: Option, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spidior` (bin "spidior" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eb08c42405f3b431d0a5ba45441ff605e909c33d2de3b8ccce293a094a104507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb08c42405f3b431d0a5ba45441ff605e909c33d2de3b8ccce293a094a104507", kill_on_drop: false }` [INFO] [stdout] eb08c42405f3b431d0a5ba45441ff605e909c33d2de3b8ccce293a094a104507