[INFO] cloning repository https://github.com/mayoko/hack_assembler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mayoko/hack_assembler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmayoko%2Fhack_assembler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmayoko%2Fhack_assembler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df373a4fe7483ea19c77d5c40d960bf5d2507298 [INFO] checking mayoko/hack_assembler against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmayoko%2Fhack_assembler" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mayoko/hack_assembler on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mayoko/hack_assembler [INFO] finished tweaking git repo https://github.com/mayoko/hack_assembler [INFO] tweaked toml for git repo https://github.com/mayoko/hack_assembler written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/mayoko/hack_assembler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fff497bf190351ffb88f0b694671654ff03d1168da6a6c16fa4d8ff9bd96e35d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fff497bf190351ffb88f0b694671654ff03d1168da6a6c16fa4d8ff9bd96e35d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fff497bf190351ffb88f0b694671654ff03d1168da6a6c16fa4d8ff9bd96e35d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff497bf190351ffb88f0b694671654ff03d1168da6a6c16fa4d8ff9bd96e35d", kill_on_drop: false }` [INFO] [stdout] fff497bf190351ffb88f0b694671654ff03d1168da6a6c16fa4d8ff9bd96e35d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05c9ed1cd7be11a86d2ea6fe53bef685132cc10bce8a518f72882f045611fafe [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "05c9ed1cd7be11a86d2ea6fe53bef685132cc10bce8a518f72882f045611fafe", kill_on_drop: false }` [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking hack_assembler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `Code` [INFO] [stdout] --> src/Code.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Code { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dest` [INFO] [stdout] --> src/Code.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | fn dest(&self, mnemonic: &str) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `comp` [INFO] [stdout] --> src/Code.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn comp(&self, mnemonic: &str) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jump` [INFO] [stdout] --> src/Code.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn jump(&self, mnemonic: &str) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `map` [INFO] [stdout] --> src/SymbolTable.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | map: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `addEntry` [INFO] [stdout] --> src/SymbolTable.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn addEntry(&mut self, symbol: &str, address: u32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/SymbolTable.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn contains(&self, symbol: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `getAddress` [INFO] [stdout] --> src/SymbolTable.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn getAddress(&self, symbol: &str) -> Option<&u32> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `CommandType` [INFO] [stdout] --> src/Parser/OneLineParser.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum CommandType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `command_type` [INFO] [stdout] --> src/Parser/OneLineParser.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn command_type(line: &str) -> CommandType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `symbol` [INFO] [stdout] --> src/Parser/OneLineParser.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn symbol(line: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dest` [INFO] [stdout] --> src/Parser/OneLineParser.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn dest(line: &str) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `comp` [INFO] [stdout] --> src/Parser/OneLineParser.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn comp(line: &str) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `jump` [INFO] [stdout] --> src/Parser/OneLineParser.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn jump(line: &str) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Parser` [INFO] [stdout] --> src/Parser.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/Parser.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn new(path: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `advance` [INFO] [stdout] --> src/Parser.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn advance(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `command_type` [INFO] [stdout] --> src/Parser.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn command_type(&self) -> CommandType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `symbol` [INFO] [stdout] --> src/Parser.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn symbol(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dest` [INFO] [stdout] --> src/Parser.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn dest(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `comp` [INFO] [stdout] --> src/Parser.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn comp(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `jump` [INFO] [stdout] --> src/Parser.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn jump(&self) -> Option<&str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Code` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Code; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SymbolTable` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod SymbolTable; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `symbol_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Parser` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Parser; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addEntry` should have a snake case name [INFO] [stdout] --> src/SymbolTable.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn addEntry(&mut self, symbol: &str, address: u32) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `add_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAddress` should have a snake case name [INFO] [stdout] --> src/SymbolTable.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn getAddress(&self, symbol: &str) -> Option<&u32> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `get_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `OneLineParser` should have a snake case name [INFO] [stdout] --> src/Parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod OneLineParser; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `one_line_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Code` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod Code; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `SymbolTable` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod SymbolTable; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `symbol_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Parser` should have a snake case name [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod Parser; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addEntry` should have a snake case name [INFO] [stdout] --> src/SymbolTable.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn addEntry(&mut self, symbol: &str, address: u32) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `add_entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAddress` should have a snake case name [INFO] [stdout] --> src/SymbolTable.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn getAddress(&self, symbol: &str) -> Option<&u32> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `get_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `OneLineParser` should have a snake case name [INFO] [stdout] --> src/Parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mod OneLineParser; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `one_line_parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `command_type_should_return_type_A` should have a snake case name [INFO] [stdout] --> src/Parser/OneLineParser.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | fn command_type_should_return_type_A() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `command_type_should_return_type_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `command_type_should_return_type_L` should have a snake case name [INFO] [stdout] --> src/Parser/OneLineParser.rs:90:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn command_type_should_return_type_L() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `command_type_should_return_type_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `command_type_should_return_type_C` should have a snake case name [INFO] [stdout] --> src/Parser/OneLineParser.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn command_type_should_return_type_C() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `command_type_should_return_type_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `symbol_should_return_symbol_for_type_A` should have a snake case name [INFO] [stdout] --> src/Parser/OneLineParser.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | fn symbol_should_return_symbol_for_type_A() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `symbol_should_return_symbol_for_type_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `symbol_should_return_symbol_for_type_L` should have a snake case name [INFO] [stdout] --> src/Parser/OneLineParser.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | fn symbol_should_return_symbol_for_type_L() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `symbol_should_return_symbol_for_type_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `symbol_should_return_None_for_other_type` should have a snake case name [INFO] [stdout] --> src/Parser/OneLineParser.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | fn symbol_should_return_None_for_other_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `symbol_should_return_none_for_other_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.70s [INFO] running `Command { std: "docker" "inspect" "05c9ed1cd7be11a86d2ea6fe53bef685132cc10bce8a518f72882f045611fafe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05c9ed1cd7be11a86d2ea6fe53bef685132cc10bce8a518f72882f045611fafe", kill_on_drop: false }` [INFO] [stdout] 05c9ed1cd7be11a86d2ea6fe53bef685132cc10bce8a518f72882f045611fafe