[INFO] cloning repository https://github.com/tscritch/west-lexer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tscritch/west-lexer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftscritch%2Fwest-lexer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftscritch%2Fwest-lexer-rs'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/applypatch-msg.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftscritch%2Fwest-lexer-rs/hooks/applypatch-msg.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/tscritch/west-lexer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tscritch/west-lexer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftscritch%2Fwest-lexer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftscritch%2Fwest-lexer-rs'... [INFO] [stderr] error: failed to write new configuration file /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftscritch%2Fwest-lexer-rs/config.lock [INFO] [stderr] fatal: could not set 'core.bare' to 'true' [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/tscritch/west-lexer-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tscritch/west-lexer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftscritch%2Fwest-lexer-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftscritch%2Fwest-lexer-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4664c18973612ef3e592ebb59d0ac2ad3eb18413 [INFO] checking tscritch/west-lexer-rs against try#de39175d9e0f63ff8967b81f9639ba28d11ae6ef for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftscritch%2Fwest-lexer-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tscritch/west-lexer-rs on toolchain de39175d9e0f63ff8967b81f9639ba28d11ae6ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tscritch/west-lexer-rs [INFO] finished tweaking git repo https://github.com/tscritch/west-lexer-rs [INFO] tweaked toml for git repo https://github.com/tscritch/west-lexer-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tscritch/west-lexer-rs 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" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63947d762984e82f13a75d4a710ff10944fefeecba691dca36ce9b07a02f84cc [INFO] running `Command { std: "docker" "start" "-a" "63947d762984e82f13a75d4a710ff10944fefeecba691dca36ce9b07a02f84cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63947d762984e82f13a75d4a710ff10944fefeecba691dca36ce9b07a02f84cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63947d762984e82f13a75d4a710ff10944fefeecba691dca36ce9b07a02f84cc", kill_on_drop: false }` [INFO] [stdout] 63947d762984e82f13a75d4a710ff10944fefeecba691dca36ce9b07a02f84cc [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" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7a085807785562ba3fa89036ae170449221fe4d94801ad41df97f07a8fcce0e [INFO] running `Command { std: "docker" "start" "-a" "b7a085807785562ba3fa89036ae170449221fe4d94801ad41df97f07a8fcce0e", kill_on_drop: false }` [INFO] [stderr] Checking west-lexer-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut current: String = String::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut state = LexState::Default; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut current: String = String::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut state = LexState::Default; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `t` is never read [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 23 | t: Types, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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 `Identifier`, `Function`, and `Literal` are never constructed [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | enum LexState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 28 | Default, [INFO] [stdout] 29 | Identifier, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | Literal [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/main.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut current: String = String::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut state = LexState::Default; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut current: String = String::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let mut state = LexState::Default; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `t` is never read [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Token { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 23 | t: Types, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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 `Identifier`, `Function`, and `Literal` are never constructed [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | enum LexState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 28 | Default, [INFO] [stdout] 29 | Identifier, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | Function, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | Literal [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "b7a085807785562ba3fa89036ae170449221fe4d94801ad41df97f07a8fcce0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7a085807785562ba3fa89036ae170449221fe4d94801ad41df97f07a8fcce0e", kill_on_drop: false }` [INFO] [stdout] b7a085807785562ba3fa89036ae170449221fe4d94801ad41df97f07a8fcce0e