[INFO] fetching crate wrought 0.1.2... [INFO] building wrought-0.1.2 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate wrought 0.1.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate wrought 0.1.2 [INFO] finished tweaking crates.io crate wrought 0.1.2 [INFO] tweaked toml for crates.io crate wrought 0.1.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wrought 0.1.2 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wrought 0.1.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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8047c6a443179cf9fcc4c2cf4d864fcb3c4182c032892f86c2eb03f535cc543 [INFO] running `Command { std: "docker" "start" "-a" "f8047c6a443179cf9fcc4c2cf4d864fcb3c4182c032892f86c2eb03f535cc543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8047c6a443179cf9fcc4c2cf4d864fcb3c4182c032892f86c2eb03f535cc543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8047c6a443179cf9fcc4c2cf4d864fcb3c4182c032892f86c2eb03f535cc543", kill_on_drop: false }` [INFO] [stdout] f8047c6a443179cf9fcc4c2cf4d864fcb3c4182c032892f86c2eb03f535cc543 [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccba479d078288d094c304022aa7446d23f2fba3561bb8b030b60544bc6f6783 [INFO] running `Command { std: "docker" "start" "-a" "ccba479d078288d094c304022aa7446d23f2fba3561bb8b030b60544bc6f6783", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling codespan-reporting v0.11.0 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling codespan v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling logos v0.11.4 [INFO] [stderr] Compiling wrought v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/parser.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexer::{ Token, TokenData }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `M` [INFO] [stdout] --> src/parser.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{ M, Module }; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_data` [INFO] [stdout] --> src/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse(token_data: TokenData) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Compile(Compile), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 27 - Compile(Compile), [INFO] [stdout] 27 + Compile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input_path` is never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct Compile { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 33 | #[clap(long)] [INFO] [stdout] 34 | input_path: PathBuf [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Compile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParserData` is never constructed [INFO] [stdout] --> src/parser.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct ParserData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse(token_data: TokenData) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.91s [INFO] running `Command { std: "docker" "inspect" "ccba479d078288d094c304022aa7446d23f2fba3561bb8b030b60544bc6f6783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccba479d078288d094c304022aa7446d23f2fba3561bb8b030b60544bc6f6783", kill_on_drop: false }` [INFO] [stdout] ccba479d078288d094c304022aa7446d23f2fba3561bb8b030b60544bc6f6783 [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c4db9e4f34bb3c71b93b127d1e5c864d1a48b55271efee56fb4b7054ac1212f [INFO] running `Command { std: "docker" "start" "-a" "3c4db9e4f34bb3c71b93b127d1e5c864d1a48b55271efee56fb4b7054ac1212f", kill_on_drop: false }` [INFO] [stderr] Compiling wrought v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/parser.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexer::{ Token, TokenData }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `M` [INFO] [stdout] --> src/parser.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ast::{ M, Module }; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token_data` [INFO] [stdout] --> src/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse(token_data: TokenData) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParserData` is never constructed [INFO] [stdout] --> src/parser.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct ParserData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse(token_data: TokenData) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | Compile(Compile), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is 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] 27 - Compile(Compile), [INFO] [stdout] 27 + Compile(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input_path` is never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct Compile { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 33 | #[clap(long)] [INFO] [stdout] 34 | input_path: PathBuf [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Compile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.50s [INFO] running `Command { std: "docker" "inspect" "3c4db9e4f34bb3c71b93b127d1e5c864d1a48b55271efee56fb4b7054ac1212f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c4db9e4f34bb3c71b93b127d1e5c864d1a48b55271efee56fb4b7054ac1212f", kill_on_drop: false }` [INFO] [stdout] 3c4db9e4f34bb3c71b93b127d1e5c864d1a48b55271efee56fb4b7054ac1212f