[INFO] cloning repository https://github.com/psy-core/simple-lexer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psy-core/simple-lexer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsy-core%2Fsimple-lexer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsy-core%2Fsimple-lexer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de003e55b1babe308b9e5de384503d4f4a5287fa [INFO] checking psy-core/simple-lexer against master#5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea for pr-124336 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsy-core%2Fsimple-lexer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psy-core/simple-lexer on toolchain 5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/psy-core/simple-lexer [INFO] finished tweaking git repo https://github.com/psy-core/simple-lexer [INFO] tweaked toml for git repo https://github.com/psy-core/simple-lexer written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/psy-core/simple-lexer 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" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking psy-core/simple-lexer against try#311f8b6ca41358db8ae08490a9ca0916f11e9de3 for pr-124336 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsy-core%2Fsimple-lexer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psy-core/simple-lexer on toolchain 311f8b6ca41358db8ae08490a9ca0916f11e9de3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/psy-core/simple-lexer [INFO] finished tweaking git repo https://github.com/psy-core/simple-lexer [INFO] tweaked toml for git repo https://github.com/psy-core/simple-lexer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/psy-core/simple-lexer 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" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking psy-core/simple-lexer against try#311f8b6ca41358db8ae08490a9ca0916f11e9de3 for pr-124336 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsy-core%2Fsimple-lexer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psy-core/simple-lexer on toolchain 311f8b6ca41358db8ae08490a9ca0916f11e9de3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/psy-core/simple-lexer [INFO] finished tweaking git repo https://github.com/psy-core/simple-lexer [INFO] tweaked toml for git repo https://github.com/psy-core/simple-lexer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/psy-core/simple-lexer 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" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44c7016909451bcb927ca42c7f0c7d8e684489a14bc61841373b1b804bc7185a [INFO] running `Command { std: "docker" "start" "-a" "44c7016909451bcb927ca42c7f0c7d8e684489a14bc61841373b1b804bc7185a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44c7016909451bcb927ca42c7f0c7d8e684489a14bc61841373b1b804bc7185a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44c7016909451bcb927ca42c7f0c7d8e684489a14bc61841373b1b804bc7185a", kill_on_drop: false }` [INFO] [stdout] 44c7016909451bcb927ca42c7f0c7d8e684489a14bc61841373b1b804bc7185a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e7d2bab7cf66c23c61c262b18dc45d748f8954fb6a394d8a20daf52479f0fe0 [INFO] running `Command { std: "docker" "start" "-a" "2e7d2bab7cf66c23c61c262b18dc45d748f8954fb6a394d8a20daf52479f0fe0", kill_on_drop: false }` [INFO] [stderr] Checking simple-lexer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lexer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum DFAState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | IdIf1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | IdIf2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | IdElse1, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | IdElse2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | IdElse3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | IdElse4, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/lexer.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum DFAState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 6 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | IdIf1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | IdIf2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | IdElse1, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | IdElse2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | IdElse3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | IdElse4, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `EQ`, `LE`, `LT`, `If`, `Else`, and `StringLiteral` are never constructed [INFO] [stdout] --> src/token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | EQ, // == [INFO] [stdout] | ^^ [INFO] [stdout] 13 | LE, // <= [INFO] [stdout] | ^^ [INFO] [stdout] 14 | LT, // < [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 22 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | StringLiteral, //字符串字面量 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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: variants `EQ`, `LE`, `LT`, `If`, `Else`, and `StringLiteral` are never constructed [INFO] [stdout] --> src/token.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum TokenType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | EQ, // == [INFO] [stdout] | ^^ [INFO] [stdout] 13 | LE, // <= [INFO] [stdout] | ^^ [INFO] [stdout] 14 | LT, // < [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 22 | If, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | Else, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | StringLiteral, //字符串字面量 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenType` 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: methods `peek`, `unread`, `get_position`, and `set_position` are never used [INFO] [stdout] --> src/token.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub trait TokenReader { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 103 | fn read(&mut self) -> Option<&Box>; [INFO] [stdout] 104 | fn peek(&self) -> Option<&Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | fn unread(&mut self); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 106 | fn get_position(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 107 | fn set_position(&mut self, position: usize); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `peek`, `unread`, `get_position`, and `set_position` are never used [INFO] [stdout] --> src/token.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub trait TokenReader { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 103 | fn read(&mut self) -> Option<&Box>; [INFO] [stdout] 104 | fn peek(&self) -> Option<&Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 105 | fn unread(&mut self); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 106 | fn get_position(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 107 | fn set_position(&mut self, position: usize); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "2e7d2bab7cf66c23c61c262b18dc45d748f8954fb6a394d8a20daf52479f0fe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e7d2bab7cf66c23c61c262b18dc45d748f8954fb6a394d8a20daf52479f0fe0", kill_on_drop: false }` [INFO] [stdout] 2e7d2bab7cf66c23c61c262b18dc45d748f8954fb6a394d8a20daf52479f0fe0