[INFO] cloning repository https://github.com/felixnaredi/prepro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/felixnaredi/prepro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixnaredi%2Fprepro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixnaredi%2Fprepro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e045d6fc8cd48426acf32764c146ddaf6a5f6d2f [INFO] checking felixnaredi/prepro against master#fc5af1813307d25a84d633f21e2e53c9376eb547 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixnaredi%2Fprepro" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/felixnaredi/prepro [INFO] finished tweaking git repo https://github.com/felixnaredi/prepro [INFO] tweaked toml for git repo https://github.com/felixnaredi/prepro written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/felixnaredi/prepro on toolchain fc5af1813307d25a84d633f21e2e53c9376eb547 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/felixnaredi/prepro 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" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ad20a22df1ccda74c4fa88a2ea666877f0eed9885a51b3d26ed7a1c315cb002 [INFO] running `Command { std: "docker" "start" "-a" "2ad20a22df1ccda74c4fa88a2ea666877f0eed9885a51b3d26ed7a1c315cb002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ad20a22df1ccda74c4fa88a2ea666877f0eed9885a51b3d26ed7a1c315cb002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad20a22df1ccda74c4fa88a2ea666877f0eed9885a51b3d26ed7a1c315cb002", kill_on_drop: false }` [INFO] [stdout] 2ad20a22df1ccda74c4fa88a2ea666877f0eed9885a51b3d26ed7a1c315cb002 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56de2d07272a29b0288806ccf8a726bb733888c71693f7190863420352db3694 [INFO] running `Command { std: "docker" "start" "-a" "56de2d07272a29b0288806ccf8a726bb733888c71693f7190863420352db3694", kill_on_drop: false }` [INFO] [stderr] Checking prepro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/state_machine.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | fn step(&mut self, state: StateMachine) -> StateMachine [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/state_machine.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let context = Context::new(input); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StateMachine` is never used [INFO] [stdout] --> src/state_machine.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | enum StateMachine [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Text` and `Command` are never constructed [INFO] [stdout] --> src/state_machine.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum Chunk [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 22 | { [INFO] [stdout] 23 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Command(Receiver), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input` and `chunks` are never read [INFO] [stdout] --> src/state_machine.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct Context [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 29 | { [INFO] [stdout] 30 | input: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | chunks: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_char`, `step`, and `collapse` are never used [INFO] [stdout] --> src/state_machine.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Context [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | fn read_char(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | fn step(&mut self, state: StateMachine) -> StateMachine [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn collapse(self) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PreproError` is never used [INFO] [stdout] --> src/state_machine/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum PreproError [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseCommand` is never used [INFO] [stdout] --> src/state_machine/parse_command.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum ParseCommand [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_command` is never used [INFO] [stdout] --> src/state_machine/parse_command.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Context [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 14 | { [INFO] [stdout] 15 | pub fn parse_command(&mut self) -> StateMachine [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseText` is never used [INFO] [stdout] --> src/state_machine/parse_text.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum ParseText [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_text` is never used [INFO] [stdout] --> src/state_machine/parse_text.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Context [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 16 | { [INFO] [stdout] 17 | pub fn parse_text(&mut self) -> StateMachine [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/state_machine.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | fn step(&mut self, state: StateMachine) -> StateMachine [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/state_machine.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let context = Context::new(input); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ParseText`, `ParseCommand`, and `Done` are never constructed [INFO] [stdout] --> src/state_machine.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum StateMachine [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 11 | { [INFO] [stdout] 12 | ParseText, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | StoreTextChunk(String), [INFO] [stdout] 14 | ParseCommand, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | StoreCommandChunk(String), [INFO] [stdout] 16 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateMachine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Text` and `Command` are never constructed [INFO] [stdout] --> src/state_machine.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum Chunk [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 22 | { [INFO] [stdout] 23 | Text(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Command(Receiver), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chunks` is never read [INFO] [stdout] --> src/state_machine.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct Context [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | chunks: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `step` and `collapse` are never used [INFO] [stdout] --> src/state_machine.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Context [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | fn step(&mut self, state: StateMachine) -> StateMachine [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn collapse(self) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PreproError` is never used [INFO] [stdout] --> src/state_machine/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum PreproError [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_command_containing_brackets_with_no_closing` is never used [INFO] [stdout] --> src/state_machine/parse_command.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn parse_command_containing_brackets_with_no_closing() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "56de2d07272a29b0288806ccf8a726bb733888c71693f7190863420352db3694", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56de2d07272a29b0288806ccf8a726bb733888c71693f7190863420352db3694", kill_on_drop: false }` [INFO] [stdout] 56de2d07272a29b0288806ccf8a726bb733888c71693f7190863420352db3694