[INFO] cloning repository https://github.com/valvecore/ALLP-linux-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/valvecore/ALLP-linux-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvalvecore%2FALLP-linux-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvalvecore%2FALLP-linux-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f4d4f7ad3e4b0e57b2a63dd7c4f6edd6cd4c5e2 [INFO] checking valvecore/ALLP-linux-compiler against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvalvecore%2FALLP-linux-compiler" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/valvecore/ALLP-linux-compiler [INFO] finished tweaking git repo https://github.com/valvecore/ALLP-linux-compiler [INFO] tweaked toml for git repo https://github.com/valvecore/ALLP-linux-compiler written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/valvecore/ALLP-linux-compiler on toolchain 9c3064e131f4939cc95a29bb11413c49bbda1491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/valvecore/ALLP-linux-compiler 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" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking valvecore/ALLP-linux-compiler against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvalvecore%2FALLP-linux-compiler" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/valvecore/ALLP-linux-compiler [INFO] finished tweaking git repo https://github.com/valvecore/ALLP-linux-compiler [INFO] tweaked toml for git repo https://github.com/valvecore/ALLP-linux-compiler written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/valvecore/ALLP-linux-compiler on toolchain 9c3064e131f4939cc95a29bb11413c49bbda1491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/valvecore/ALLP-linux-compiler 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" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0683f0ce0ff00ba18c59ccc1fd26c98fc93a420582acb8b5aa2864f29d76b4a7 [INFO] running `Command { std: "docker" "start" "-a" "0683f0ce0ff00ba18c59ccc1fd26c98fc93a420582acb8b5aa2864f29d76b4a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0683f0ce0ff00ba18c59ccc1fd26c98fc93a420582acb8b5aa2864f29d76b4a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0683f0ce0ff00ba18c59ccc1fd26c98fc93a420582acb8b5aa2864f29d76b4a7", kill_on_drop: false }` [INFO] [stdout] 0683f0ce0ff00ba18c59ccc1fd26c98fc93a420582acb8b5aa2864f29d76b4a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3615deb5355dbf89bf12b29c9e8c57092b537900e1215e5e0a7c776721aea965 [INFO] running `Command { std: "docker" "start" "-a" "3615deb5355dbf89bf12b29c9e8c57092b537900e1215e5e0a7c776721aea965", kill_on_drop: false }` [INFO] [stderr] Checking allp_lc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `fasm_output` [INFO] [stdout] --> src/lc.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let fasm_output:String=match std::process::Command::new(path).arg(file).status(){ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fasm_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lld_output` [INFO] [stdout] --> src/lc.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | ... let lld_output:String=match std::process::Command::new(path).args(&["-r".to_string(),"-o".to_string(),format!("{}.o",output.to_stri... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lld_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lld_output` [INFO] [stdout] --> src/lc.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let lld_output:String=match std::process::Command::new(path).args(&["-o",output,&format!("{}.o",file)]).status(){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lld_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lc.rs:387:27 [INFO] [stdout] | [INFO] [stdout] 387 | fn create_array_8(mut array:Vec,mut file_data:FileData)->Result{ [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/lc.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | let mut file_data=FileData{ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fasm_output` [INFO] [stdout] --> src/lc.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let fasm_output:String=match std::process::Command::new(path).arg(file).status(){ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fasm_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lld_output` [INFO] [stdout] --> src/lc.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | ... let lld_output:String=match std::process::Command::new(path).args(&["-r".to_string(),"-o".to_string(),format!("{}.o",output.to_stri... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lld_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lld_output` [INFO] [stdout] --> src/lc.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let lld_output:String=match std::process::Command::new(path).args(&["-o",output,&format!("{}.o",file)]).status(){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lld_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lc.rs:689:17 [INFO] [stdout] | [INFO] [stdout] 689 | Err(err)=>std::fs::File::open("./text.asm").unwrap() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lc.rs:693:17 [INFO] [stdout] | [INFO] [stdout] 693 | Err(err)=>std::fs::File::open("./data.asm").unwrap() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `length` is never read [INFO] [stdout] --> src/lc.rs:699:17 [INFO] [stdout] | [INFO] [stdout] 699 | let mut length:usize=0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `label` is never read [INFO] [stdout] --> src/lc.rs:700:17 [INFO] [stdout] | [INFO] [stdout] 700 | let mut label:String=String::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `iterator` is never read [INFO] [stdout] --> src/lc.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | let mut iterator:usize=0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string_data`, `string_lengths`, and `string_labels` are never read [INFO] [stdout] --> src/lc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct StringTable{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | string_data:Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | string_lengths:Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | string_labels:Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data`, `data_lengths`, and `data_labels` are never read [INFO] [stdout] --> src/lc.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct RoDataTable{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 16 | data:Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | data_lengths:Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | data_labels:Vec [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVALID_PARAMETERS` is never used [INFO] [stdout] --> src/lc.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | pub const INVALID_PARAMETERS:&str="invalid parameters for the spawn function"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lc.rs:387:27 [INFO] [stdout] | [INFO] [stdout] 387 | fn create_array_8(mut array:Vec,mut file_data:FileData)->Result{ [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: constant `data_section` should have an upper case name [INFO] [stdout] --> src/lc.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | pub const data_section:&str="format ELF64\nsection \".data\" writeable\n"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 98 - pub const data_section:&str="format ELF64\nsection \".data\" writeable\n"; [INFO] [stdout] 98 + pub const DATA_SECTION:&str="format ELF64\nsection \".data\" writeable\n"; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `text_section` should have an upper case name [INFO] [stdout] --> src/lc.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | pub const text_section:&str="format ELF64\nsection \".text\" executable\n"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 99 - pub const text_section:&str="format ELF64\nsection \".text\" executable\n"; [INFO] [stdout] 99 + pub const TEXT_SECTION:&str="format ELF64\nsection \".text\" executable\n"; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lc.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | check_label(&label); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 287 | let _ = check_label(&label); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lc.rs:723:9 [INFO] [stdout] | [INFO] [stdout] 723 | text_file.write_all(file_data.flat_code.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 723 | let _ = text_file.write_all(file_data.flat_code.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lc.rs:724:9 [INFO] [stdout] | [INFO] [stdout] 724 | data_file.write_all(data_code.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 724 | let _ = data_file.write_all(data_code.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lc.rs:727:9 [INFO] [stdout] | [INFO] [stdout] 727 | lld_wrapper64::link("text.o".to_string(),"data.o".to_string(),&file_data.file_name,&file_data.lld_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 727 | let _ = lld_wrapper64::link("text.o".to_string(),"data.o".to_string(),&file_data.file_name,&file_data.lld_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lc.rs:728:9 [INFO] [stdout] | [INFO] [stdout] 728 | lld_wrapper64::make_execution(&file_data.file_name,&file_data.file_name,&file_data.lld_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 728 | let _ = lld_wrapper64::make_execution(&file_data.file_name,&file_data.file_name,&file_data.lld_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lc.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | let mut file_data=FileData{ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lc.rs:689:17 [INFO] [stdout] | [INFO] [stdout] 689 | Err(err)=>std::fs::File::open("./text.asm").unwrap() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/lc.rs:693:17 [INFO] [stdout] | [INFO] [stdout] 693 | Err(err)=>std::fs::File::open("./data.asm").unwrap() [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `length` is never read [INFO] [stdout] --> src/lc.rs:699:17 [INFO] [stdout] | [INFO] [stdout] 699 | let mut length:usize=0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `label` is never read [INFO] [stdout] --> src/lc.rs:700:17 [INFO] [stdout] | [INFO] [stdout] 700 | let mut label:String=String::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `iterator` is never read [INFO] [stdout] --> src/lc.rs:702:17 [INFO] [stdout] | [INFO] [stdout] 702 | let mut iterator:usize=0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `string_data`, `string_lengths`, and `string_labels` are never read [INFO] [stdout] --> src/lc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct StringTable{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 9 | string_data:Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | string_lengths:Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | string_labels:Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data`, `data_lengths`, and `data_labels` are never read [INFO] [stdout] --> src/lc.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct RoDataTable{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 16 | data:Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | data_lengths:Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | data_labels:Vec [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INVALID_PARAMETERS` is never used [INFO] [stdout] --> src/lc.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | pub const INVALID_PARAMETERS:&str="invalid parameters for the spawn function"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `data_section` should have an upper case name [INFO] [stdout] --> src/lc.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | pub const data_section:&str="format ELF64\nsection \".data\" writeable\n"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 98 - pub const data_section:&str="format ELF64\nsection \".data\" writeable\n"; [INFO] [stdout] 98 + pub const DATA_SECTION:&str="format ELF64\nsection \".data\" writeable\n"; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `text_section` should have an upper case name [INFO] [stdout] --> src/lc.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | pub const text_section:&str="format ELF64\nsection \".text\" executable\n"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 99 - pub const text_section:&str="format ELF64\nsection \".text\" executable\n"; [INFO] [stdout] 99 + pub const TEXT_SECTION:&str="format ELF64\nsection \".text\" executable\n"; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lc.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | check_label(&label); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 287 | let _ = check_label(&label); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lc.rs:723:9 [INFO] [stdout] | [INFO] [stdout] 723 | text_file.write_all(file_data.flat_code.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 723 | let _ = text_file.write_all(file_data.flat_code.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lc.rs:724:9 [INFO] [stdout] | [INFO] [stdout] 724 | data_file.write_all(data_code.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 724 | let _ = data_file.write_all(data_code.as_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lc.rs:727:9 [INFO] [stdout] | [INFO] [stdout] 727 | lld_wrapper64::link("text.o".to_string(),"data.o".to_string(),&file_data.file_name,&file_data.lld_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 727 | let _ = lld_wrapper64::link("text.o".to_string(),"data.o".to_string(),&file_data.file_name,&file_data.lld_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lc.rs:728:9 [INFO] [stdout] | [INFO] [stdout] 728 | lld_wrapper64::make_execution(&file_data.file_name,&file_data.file_name,&file_data.lld_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 728 | let _ = lld_wrapper64::make_execution(&file_data.file_name,&file_data.file_name,&file_data.lld_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "3615deb5355dbf89bf12b29c9e8c57092b537900e1215e5e0a7c776721aea965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3615deb5355dbf89bf12b29c9e8c57092b537900e1215e5e0a7c776721aea965", kill_on_drop: false }` [INFO] [stdout] 3615deb5355dbf89bf12b29c9e8c57092b537900e1215e5e0a7c776721aea965