[INFO] cloning repository https://github.com/Qwertyman95/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/Qwertyman95/Hack-Assembler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQwertyman95%2FHack-Assembler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQwertyman95%2FHack-Assembler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1bca3e3644ae4529233926d544fece7fe66f740 [INFO] testing Qwertyman95/Hack-Assembler against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQwertyman95%2FHack-Assembler" "/workspace/builds/worker-33/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-33/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Qwertyman95/Hack-Assembler on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Qwertyman95/Hack-Assembler [INFO] finished tweaking git repo https://github.com/Qwertyman95/Hack-Assembler [INFO] tweaked toml for git repo https://github.com/Qwertyman95/Hack-Assembler written to /workspace/builds/worker-33/source/Cargo.toml [INFO] crate git repo https://github.com/Qwertyman95/Hack-Assembler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 563181e197a68d8422d4169f680e7b1016b21941b619bc9621809de806c0c8b3 [INFO] running `Command { std: "docker" "start" "-a" "563181e197a68d8422d4169f680e7b1016b21941b619bc9621809de806c0c8b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "563181e197a68d8422d4169f680e7b1016b21941b619bc9621809de806c0c8b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "563181e197a68d8422d4169f680e7b1016b21941b619bc9621809de806c0c8b3", kill_on_drop: false }` [INFO] [stdout] 563181e197a68d8422d4169f680e7b1016b21941b619bc9621809de806c0c8b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3506a00f15971d8adbad25e367dd738f0e8bd49c48ba75066bd7406850c1e76 [INFO] running `Command { std: "docker" "start" "-a" "b3506a00f15971d8adbad25e367dd738f0e8bd49c48ba75066bd7406850c1e76", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling assembler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | static ref WHITESPACE_LINE_REGEX: Regex = { Regex::new(r#"^\s*$"#).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | static ref COMMENT_LINE_REGEX: Regex = { Regex::new(r#"^//.*"#).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:53:42 [INFO] [stdout] | [INFO] [stdout] 53 | static ref A_INSTRUCTION_REGEX: Regex = { Regex::new(r#"@(.+)"#).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | writeln!(output_file, "0{:0>15b}", value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | writeln!(output_file, "0{:0>15b}", address_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | / writeln!(output_file, "111{}{}{}", [INFO] [stdout] 141 | | operation.get_machine_code_string(), [INFO] [stdout] 142 | | destination.get_machine_code_string(), [INFO] [stdout] 143 | | jump.get_machine_code_string()); [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.97s [INFO] running `Command { std: "docker" "inspect" "b3506a00f15971d8adbad25e367dd738f0e8bd49c48ba75066bd7406850c1e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3506a00f15971d8adbad25e367dd738f0e8bd49c48ba75066bd7406850c1e76", kill_on_drop: false }` [INFO] [stdout] b3506a00f15971d8adbad25e367dd738f0e8bd49c48ba75066bd7406850c1e76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4499c61cc60f1f8506ff4b5dd2a3b3a43f6e9872245f36288ab96d0405b70687 [INFO] running `Command { std: "docker" "start" "-a" "4499c61cc60f1f8506ff4b5dd2a3b3a43f6e9872245f36288ab96d0405b70687", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling assembler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:51:44 [INFO] [stdout] | [INFO] [stdout] 51 | static ref WHITESPACE_LINE_REGEX: Regex = { Regex::new(r#"^\s*$"#).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | static ref COMMENT_LINE_REGEX: Regex = { Regex::new(r#"^//.*"#).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:53:42 [INFO] [stdout] | [INFO] [stdout] 53 | static ref A_INSTRUCTION_REGEX: Regex = { Regex::new(r#"@(.+)"#).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/main.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / lazy_static! { [INFO] [stdout] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | writeln!(output_file, "0{:0>15b}", value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | writeln!(output_file, "0{:0>15b}", address_value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | / writeln!(output_file, "111{}{}{}", [INFO] [stdout] 141 | | operation.get_machine_code_string(), [INFO] [stdout] 142 | | destination.get_machine_code_string(), [INFO] [stdout] 143 | | jump.get_machine_code_string()); [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.66s [INFO] running `Command { std: "docker" "inspect" "4499c61cc60f1f8506ff4b5dd2a3b3a43f6e9872245f36288ab96d0405b70687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4499c61cc60f1f8506ff4b5dd2a3b3a43f6e9872245f36288ab96d0405b70687", kill_on_drop: false }` [INFO] [stdout] 4499c61cc60f1f8506ff4b5dd2a3b3a43f6e9872245f36288ab96d0405b70687 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fcdcd3ad88be08c69279eb49d4139808f8f4c469f5189ad127a669154c80dc06 [INFO] running `Command { std: "docker" "start" "-a" "fcdcd3ad88be08c69279eb49d4139808f8f4c469f5189ad127a669154c80dc06", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/main.rs:48:39 [INFO] [stderr] | [INFO] [stderr] 48 | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/main.rs:49:38 [INFO] [stderr] | [INFO] [stderr] 49 | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/main.rs:51:44 [INFO] [stderr] | [INFO] [stderr] 51 | static ref WHITESPACE_LINE_REGEX: Regex = { Regex::new(r#"^\s*$"#).unwrap() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/main.rs:52:41 [INFO] [stderr] | [INFO] [stderr] 52 | static ref COMMENT_LINE_REGEX: Regex = { Regex::new(r#"^//.*"#).unwrap() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/main.rs:53:42 [INFO] [stderr] | [INFO] [stderr] 53 | static ref A_INSTRUCTION_REGEX: Regex = { Regex::new(r#"@(.+)"#).unwrap() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/main.rs:60:37 [INFO] [stderr] | [INFO] [stderr] 60 | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/main.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | / lazy_static! { [INFO] [stderr] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stderr] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stderr] 50 | | [INFO] [stderr] ... | [INFO] [stderr] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stderr] 61 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/main.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | / lazy_static! { [INFO] [stderr] 48 | | static ref IDENTIFIER_REGEX: Regex = { Regex::new(&format!("^{}$", IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stderr] 49 | | static ref IMMEDIATE_REGEX: Regex = { Regex::new(r#"^[0-9]+$"#).unwrap() }; [INFO] [stderr] 50 | | [INFO] [stderr] ... | [INFO] [stderr] 60 | | static ref LABEL_REGEX: Regex = { Regex::new(&format!(r#"\(({})\)"#, IDENTIFIER_REGEX_STRING)).unwrap() }; [INFO] [stderr] 61 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:128:17 [INFO] [stderr] | [INFO] [stderr] 128 | writeln!(output_file, "0{:0>15b}", value); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:137:17 [INFO] [stderr] | [INFO] [stderr] 137 | writeln!(output_file, "0{:0>15b}", address_value); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:140:17 [INFO] [stderr] | [INFO] [stderr] 140 | / writeln!(output_file, "111{}{}{}", [INFO] [stderr] 141 | | operation.get_machine_code_string(), [INFO] [stderr] 142 | | destination.get_machine_code_string(), [INFO] [stderr] 143 | | jump.get_machine_code_string()); [INFO] [stderr] | |_________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `assembler` (bin "assembler" test) generated 23 warnings (12 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/assembler-a0496d8f5548d4ac) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fcdcd3ad88be08c69279eb49d4139808f8f4c469f5189ad127a669154c80dc06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcdcd3ad88be08c69279eb49d4139808f8f4c469f5189ad127a669154c80dc06", kill_on_drop: false }` [INFO] [stdout] fcdcd3ad88be08c69279eb49d4139808f8f4c469f5189ad127a669154c80dc06