[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 master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdchaiken%2FHomonym" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dchaiken/Homonym on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded beef v0.4.4 [INFO] [stderr] Downloaded logos v0.11.4 [INFO] [stderr] Downloaded logos-derive v0.11.5 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3682200f43d5e597b983eb9340dc78771d1d3c9348e022f1d11ba69388e3f07 [INFO] running `Command { std: "docker" "start" "-a" "e3682200f43d5e597b983eb9340dc78771d1d3c9348e022f1d11ba69388e3f07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3682200f43d5e597b983eb9340dc78771d1d3c9348e022f1d11ba69388e3f07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3682200f43d5e597b983eb9340dc78771d1d3c9348e022f1d11ba69388e3f07", kill_on_drop: false }` [INFO] [stdout] e3682200f43d5e597b983eb9340dc78771d1d3c9348e022f1d11ba69388e3f07 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a623f166490e0934cceb8910abf15a1bea5cc9de8b2f71755708d3e724919c9 [INFO] running `Command { std: "docker" "start" "-a" "0a623f166490e0934cceb8910abf15a1bea5cc9de8b2f71755708d3e724919c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Checking aho-corasick v0.7.15 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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: for more information, see [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(nonstandard_style)]`) 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: for more information, see [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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 9.34s [INFO] running `Command { std: "docker" "inspect" "0a623f166490e0934cceb8910abf15a1bea5cc9de8b2f71755708d3e724919c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a623f166490e0934cceb8910abf15a1bea5cc9de8b2f71755708d3e724919c9", kill_on_drop: false }` [INFO] [stdout] 0a623f166490e0934cceb8910abf15a1bea5cc9de8b2f71755708d3e724919c9