[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#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelixnaredi%2Fprepro" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/felixnaredi/prepro on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fa10b77b4bcf55fe6fc62c8a5f17867220e8ba71e1c628809d6e9faa3a9e47f [INFO] running `Command { std: "docker" "start" "-a" "4fa10b77b4bcf55fe6fc62c8a5f17867220e8ba71e1c628809d6e9faa3a9e47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fa10b77b4bcf55fe6fc62c8a5f17867220e8ba71e1c628809d6e9faa3a9e47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fa10b77b4bcf55fe6fc62c8a5f17867220e8ba71e1c628809d6e9faa3a9e47f", kill_on_drop: false }` [INFO] [stdout] 4fa10b77b4bcf55fe6fc62c8a5f17867220e8ba71e1c628809d6e9faa3a9e47f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 817430f9d018629f147207b7f8d8740ef3baec673b38c3d19c28c97bd4af6a97 [INFO] running `Command { std: "docker" "start" "-a" "817430f9d018629f147207b7f8d8740ef3baec673b38c3d19c28c97bd4af6a97", 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: `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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "817430f9d018629f147207b7f8d8740ef3baec673b38c3d19c28c97bd4af6a97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "817430f9d018629f147207b7f8d8740ef3baec673b38c3d19c28c97bd4af6a97", kill_on_drop: false }` [INFO] [stdout] 817430f9d018629f147207b7f8d8740ef3baec673b38c3d19c28c97bd4af6a97