[INFO] cloning repository https://github.com/khora-seule/urn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/khora-seule/urn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhora-seule%2Furn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhora-seule%2Furn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a1c821ab3931b109c48cbb2298048b10155a378 [INFO] checking khora-seule/urn against master#6d05c430d2f0573bf98320bb1d2457a72ea1e67f for pr-116607 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhora-seule%2Furn" "/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/khora-seule/urn on toolchain 6d05c430d2f0573bf98320bb1d2457a72ea1e67f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6d05c430d2f0573bf98320bb1d2457a72ea1e67f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/khora-seule/urn [INFO] finished tweaking git repo https://github.com/khora-seule/urn [INFO] tweaked toml for git repo https://github.com/khora-seule/urn written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/khora-seule/urn 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" "+6d05c430d2f0573bf98320bb1d2457a72ea1e67f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+6d05c430d2f0573bf98320bb1d2457a72ea1e67f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81e0222f7a2f7bb5ce4b63f6efb00ba49390ca619564c0739182b24fcfef750a [INFO] running `Command { std: "docker" "start" "-a" "81e0222f7a2f7bb5ce4b63f6efb00ba49390ca619564c0739182b24fcfef750a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81e0222f7a2f7bb5ce4b63f6efb00ba49390ca619564c0739182b24fcfef750a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81e0222f7a2f7bb5ce4b63f6efb00ba49390ca619564c0739182b24fcfef750a", kill_on_drop: false }` [INFO] [stdout] 81e0222f7a2f7bb5ce4b63f6efb00ba49390ca619564c0739182b24fcfef750a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+6d05c430d2f0573bf98320bb1d2457a72ea1e67f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bb732731f2e78fe889438b438388b2c9828702035fe721a760586dca1670add [INFO] running `Command { std: "docker" "start" "-a" "5bb732731f2e78fe889438b438388b2c9828702035fe721a760586dca1670add", kill_on_drop: false }` [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking urn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/runtime.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn run_file( term_path: &String, rule_path: &String, flags: Option> ) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/runtime.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let stdin = io::stdin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/runtime.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let line = &mut String::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/runtime.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | Some(flags) => { todo!() } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `steps` [INFO] [stdout] --> src/runtime.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut steps = 1; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_steps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/runtime.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn run_file( term_path: &String, rule_path: &String, flags: Option> ) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/runtime.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let stdin = io::stdin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/runtime.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let line = &mut String::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/runtime.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | Some(flags) => { todo!() } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `steps` [INFO] [stdout] --> src/runtime.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut steps = 1; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_steps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut steps = 1; [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/runtime.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut steps = 1; [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: unused variable: `failed` [INFO] [stdout] --> src/lexer.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | let mut failed = false; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_failed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `failed` [INFO] [stdout] --> src/lexer.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | let mut failed = false; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_failed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let mut failed = false; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let mut failed = false; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term_type` [INFO] [stdout] --> src/solver.rs:212:38 [INFO] [stdout] | [INFO] [stdout] 212 | let ( stripped_term, term_type ) = self.terms.get_index(&term_index); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_term_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `term_type` [INFO] [stdout] --> src/solver.rs:212:38 [INFO] [stdout] | [INFO] [stdout] 212 | let ( stripped_term, term_type ) = self.terms.get_index(&term_index); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_term_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParseError` is never constructed [INFO] [stdout] --> src/error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Error{ [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 17 | LexError(LexError), [INFO] [stdout] 18 | ParseError(ParseError), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exp_token` and `err_token` are never read [INFO] [stdout] --> src/error.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct LexError { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | pub pos: Position, [INFO] [stdout] 24 | exp_token: Token, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | err_token: Token, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ParseError` is never constructed [INFO] [stdout] --> src/error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Error{ [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 17 | LexError(LexError), [INFO] [stdout] 18 | ParseError(ParseError), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exp_token` and `err_token` are never read [INFO] [stdout] --> src/error.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct LexError { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | pub pos: Position, [INFO] [stdout] 24 | exp_token: Token, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | err_token: Token, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "5bb732731f2e78fe889438b438388b2c9828702035fe721a760586dca1670add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bb732731f2e78fe889438b438388b2c9828702035fe721a760586dca1670add", kill_on_drop: false }` [INFO] [stdout] 5bb732731f2e78fe889438b438388b2c9828702035fe721a760586dca1670add