[INFO] cloning repository https://github.com/dchaiken/Homonym [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dchaiken/Homonym" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdchaiken%2FHomonym", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdchaiken%2FHomonym'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cbfc4a36d9a6d53108d764ebc0880a7f2751d319 [INFO] checking dchaiken/Homonym against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdchaiken%2FHomonym" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dchaiken/Homonym [INFO] finished tweaking git repo https://github.com/dchaiken/Homonym [INFO] tweaked toml for git repo https://github.com/dchaiken/Homonym written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dchaiken/Homonym on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dchaiken/Homonym 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97f7d490e1c60a362a7c023b5feb0681ff9bf85e76ac5f900691870c4fef114b [INFO] running `Command { std: "docker" "start" "-a" "97f7d490e1c60a362a7c023b5feb0681ff9bf85e76ac5f900691870c4fef114b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97f7d490e1c60a362a7c023b5feb0681ff9bf85e76ac5f900691870c4fef114b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97f7d490e1c60a362a7c023b5feb0681ff9bf85e76ac5f900691870c4fef114b", kill_on_drop: false }` [INFO] [stdout] 97f7d490e1c60a362a7c023b5feb0681ff9bf85e76ac5f900691870c4fef114b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b6d52be210f14de219109b4073fa6ade0c9280253b9126431c2c06ef7a235f2 [INFO] running `Command { std: "docker" "start" "-a" "5b6d52be210f14de219109b4073fa6ade0c9280253b9126431c2c06ef7a235f2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Checking logos v0.11.4 [INFO] [stderr] Checking homonym_impl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Logos` [INFO] [stdout] --> src/HomonymParser.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use logos::{Lexer, Logos}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Logos` [INFO] [stdout] --> src/HomonymParser.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use logos::{Lexer, Logos}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/HomonymInterpreter.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn interpret_expr(expr: &Expression, context: &mut Context) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/HomonymInterpreter.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn interpret_expr(expr: &Expression, context: &mut Context) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/HomonymParser.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut variable_map: HashMap> = HashMap::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/HomonymParser.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut function_map: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymInterpreter` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod HomonymInterpreter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_interpreter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymLexer` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod HomonymLexer; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymParser` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod HomonymParser; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymRepl` should have a snake case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod HomonymRepl; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_repl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymTypechecker` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod HomonymTypechecker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_typechecker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymUtils` should have a snake case name [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mod HomonymUtils; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/HomonymParser.rs:110:45 [INFO] [stdout] | [INFO] [stdout] 110 | panic!("Binary operator at location {} is not accompanied by a type reference"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 110 | panic!("Binary operator at location {} is not accompanied by a type reference", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 110 | panic!("{}", "Binary operator at location {} is not accompanied by a type reference"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/HomonymInterpreter.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn interpret_expr(expr: &Expression, context: &mut Context) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/HomonymInterpreter.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn interpret_expr(expr: &Expression, context: &mut Context) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/HomonymParser.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut variable_map: HashMap> = HashMap::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/HomonymParser.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut function_map: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymInterpreter` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod HomonymInterpreter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_interpreter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymLexer` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod HomonymLexer; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymParser` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod HomonymParser; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymRepl` should have a snake case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | mod HomonymRepl; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_repl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymTypechecker` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | mod HomonymTypechecker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_typechecker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `HomonymUtils` should have a snake case name [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | mod HomonymUtils; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `homonym_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/HomonymParser.rs:110:45 [INFO] [stdout] | [INFO] [stdout] 110 | panic!("Binary operator at location {} is not accompanied by a type reference"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 110 | panic!("Binary operator at location {} is not accompanied by a type reference", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 110 | panic!("{}", "Binary operator at location {} is not accompanied by a type reference"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.58s [INFO] running `Command { std: "docker" "inspect" "5b6d52be210f14de219109b4073fa6ade0c9280253b9126431c2c06ef7a235f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b6d52be210f14de219109b4073fa6ade0c9280253b9126431c2c06ef7a235f2", kill_on_drop: false }` [INFO] [stdout] 5b6d52be210f14de219109b4073fa6ade0c9280253b9126431c2c06ef7a235f2