[INFO] fetching crate ShellcodeGenerator 0.1.0... [INFO] checking ShellcodeGenerator-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate ShellcodeGenerator 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ShellcodeGenerator 0.1.0 [INFO] finished tweaking crates.io crate ShellcodeGenerator 0.1.0 [INFO] tweaked toml for crates.io crate ShellcodeGenerator 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ShellcodeGenerator 0.1.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a654b556b4712920b7dfd09a882f4b53fdc2a9225a8cb130d9874b3cb494a66c [INFO] running `Command { std: "docker" "start" "-a" "a654b556b4712920b7dfd09a882f4b53fdc2a9225a8cb130d9874b3cb494a66c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a654b556b4712920b7dfd09a882f4b53fdc2a9225a8cb130d9874b3cb494a66c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a654b556b4712920b7dfd09a882f4b53fdc2a9225a8cb130d9874b3cb494a66c", kill_on_drop: false }` [INFO] [stdout] a654b556b4712920b7dfd09a882f4b53fdc2a9225a8cb130d9874b3cb494a66c [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f86b33364b8a6510a215b0ee4f25f4f8c3b8f7f0194db19fc04e8d7f98c0ae96 [INFO] running `Command { std: "docker" "start" "-a" "f86b33364b8a6510a215b0ee4f25f4f8c3b8f7f0194db19fc04e8d7f98c0ae96", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Checking ShellcodeGenerator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/Mips/Linux.rs:281:30 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn OpenFile (&mut self, filename: &str, mode: u32) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/Mips/Linux.rs:281:46 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn OpenFile (&mut self, filename: &str, mode: u32) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/Mips/Linux.rs:286:34 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn ReadFromFile (&mut self, filename: &str, bufAddr: MipsRegister, size: usize) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bufAddr` [INFO] [stdout] --> src/Mips/Linux.rs:286:50 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn ReadFromFile (&mut self, filename: &str, bufAddr: MipsRegister, size: usize) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bufAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/Mips/Linux.rs:286:73 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn ReadFromFile (&mut self, filename: &str, bufAddr: MipsRegister, size: usize) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/Mips/Linux.rs:326:33 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn WriteToFile (&mut self, filename: &str, bufAddr: MipsRegister, size: usize) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bufAddr` [INFO] [stdout] --> src/Mips/Linux.rs:326:49 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn WriteToFile (&mut self, filename: &str, bufAddr: MipsRegister, size: usize) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bufAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/Mips/Linux.rs:326:72 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn WriteToFile (&mut self, filename: &str, bufAddr: MipsRegister, size: usize) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/Mips/Linux.rs:366:38 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn ReadLineFromFile (&mut self, filename: &str, bufAddr: MipsRegister, maxSize: usize) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bufAddr` [INFO] [stdout] --> src/Mips/Linux.rs:366:54 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn ReadLineFromFile (&mut self, filename: &str, bufAddr: MipsRegister, maxSize: usize) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bufAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxSize` [INFO] [stdout] --> src/Mips/Linux.rs:366:77 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn ReadLineFromFile (&mut self, filename: &str, bufAddr: MipsRegister, maxSize: usize) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/Mips/Linux.rs:371:36 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn ReadLineFromFd (&mut self, fd: usize, bufAddr: MipsRegister, maxSize: usize) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bufAddr` [INFO] [stdout] --> src/Mips/Linux.rs:371:47 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn ReadLineFromFd (&mut self, fd: usize, bufAddr: MipsRegister, maxSize: usize) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bufAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxSize` [INFO] [stdout] --> src/Mips/Linux.rs:371:70 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn ReadLineFromFd (&mut self, fd: usize, bufAddr: MipsRegister, maxSize: usize) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/Mips/Linux.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | let shamt = (imm&0b00000_00000_00000_11111).try_into ().unwrap (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ShellcodeGenerator` (lib test) due to 1 previous error; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/Mips/Linux.rs:281:30 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn OpenFile (&mut self, filename: &str, mode: u32) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/Mips/Linux.rs:281:46 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn OpenFile (&mut self, filename: &str, mode: u32) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/Mips/Linux.rs:286:34 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn ReadFromFile (&mut self, filename: &str, bufAddr: MipsRegister, size: usize) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bufAddr` [INFO] [stdout] --> src/Mips/Linux.rs:286:50 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn ReadFromFile (&mut self, filename: &str, bufAddr: MipsRegister, size: usize) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bufAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/Mips/Linux.rs:286:73 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn ReadFromFile (&mut self, filename: &str, bufAddr: MipsRegister, size: usize) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/Mips/Linux.rs:326:33 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn WriteToFile (&mut self, filename: &str, bufAddr: MipsRegister, size: usize) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bufAddr` [INFO] [stdout] --> src/Mips/Linux.rs:326:49 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn WriteToFile (&mut self, filename: &str, bufAddr: MipsRegister, size: usize) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bufAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/Mips/Linux.rs:326:72 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn WriteToFile (&mut self, filename: &str, bufAddr: MipsRegister, size: usize) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/Mips/Linux.rs:366:38 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn ReadLineFromFile (&mut self, filename: &str, bufAddr: MipsRegister, maxSize: usize) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bufAddr` [INFO] [stdout] --> src/Mips/Linux.rs:366:54 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn ReadLineFromFile (&mut self, filename: &str, bufAddr: MipsRegister, maxSize: usize) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bufAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxSize` [INFO] [stdout] --> src/Mips/Linux.rs:366:77 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn ReadLineFromFile (&mut self, filename: &str, bufAddr: MipsRegister, maxSize: usize) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fd` [INFO] [stdout] --> src/Mips/Linux.rs:371:36 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn ReadLineFromFd (&mut self, fd: usize, bufAddr: MipsRegister, maxSize: usize) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_fd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bufAddr` [INFO] [stdout] --> src/Mips/Linux.rs:371:47 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn ReadLineFromFd (&mut self, fd: usize, bufAddr: MipsRegister, maxSize: usize) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bufAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxSize` [INFO] [stdout] --> src/Mips/Linux.rs:371:70 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn ReadLineFromFd (&mut self, fd: usize, bufAddr: MipsRegister, maxSize: usize) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxSize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/Mips/Linux.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | let shamt = (imm&0b00000_00000_00000_11111).try_into ().unwrap (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ShellcodeGenerator` (lib) due to 1 previous error; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f86b33364b8a6510a215b0ee4f25f4f8c3b8f7f0194db19fc04e8d7f98c0ae96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f86b33364b8a6510a215b0ee4f25f4f8c3b8f7f0194db19fc04e8d7f98c0ae96", kill_on_drop: false }` [INFO] [stdout] f86b33364b8a6510a215b0ee4f25f4f8c3b8f7f0194db19fc04e8d7f98c0ae96