[INFO] cloning repository https://github.com/Pastramicity/qmi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pastramicity/qmi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPastramicity%2Fqmi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPastramicity%2Fqmi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d61c893781ffadbfc6231d67f16baf11132bcb9f [INFO] checking Pastramicity/qmi against try#4e3d7541a523df82cea75064e44e60ae9a008bcb for pr-97427 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPastramicity%2Fqmi" "/workspace/builds/worker-34/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-34/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pastramicity/qmi on toolchain 4e3d7541a523df82cea75064e44e60ae9a008bcb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Pastramicity/qmi [INFO] finished tweaking git repo https://github.com/Pastramicity/qmi [INFO] tweaked toml for git repo https://github.com/Pastramicity/qmi written to /workspace/builds/worker-34/source/Cargo.toml [INFO] crate git repo https://github.com/Pastramicity/qmi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "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-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3032258b19f54bc9355a05d267001f786352ac1144f11ca5af39eb7bc0e7c453 [INFO] running `Command { std: "docker" "start" "-a" "3032258b19f54bc9355a05d267001f786352ac1144f11ca5af39eb7bc0e7c453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3032258b19f54bc9355a05d267001f786352ac1144f11ca5af39eb7bc0e7c453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3032258b19f54bc9355a05d267001f786352ac1144f11ca5af39eb7bc0e7c453", kill_on_drop: false }` [INFO] [stdout] 3032258b19f54bc9355a05d267001f786352ac1144f11ca5af39eb7bc0e7c453 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+4e3d7541a523df82cea75064e44e60ae9a008bcb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c2b71b3f2ac03faf677a07636b28d4bc7e9f1dc01e62454f38b13be06be9135 [INFO] running `Command { std: "docker" "start" "-a" "2c2b71b3f2ac03faf677a07636b28d4bc7e9f1dc01e62454f38b13be06be9135", kill_on_drop: false }` [INFO] [stderr] Checking qmi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `endI` is assigned to, but never used [INFO] [stdout] --> src/main.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let mut endI:u32 = tokens.len() as u32 -1; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_endI` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `endI` is assigned to, but never used [INFO] [stdout] --> src/main.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let mut endI:u32 = tokens.len() as u32 -1; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_endI` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `endI` is never read [INFO] [stdout] --> src/main.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | endI = i; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tc` [INFO] [stdout] --> src/main.rs:146:86 [INFO] [stdout] | [INFO] [stdout] 146 | ...vars:&mut Vec, start_i:u32, tc:&mut u32)->bool{ // tc is token counter, modified for user [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `endI` is never read [INFO] [stdout] --> src/main.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | endI = i; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tc` [INFO] [stdout] --> src/main.rs:146:86 [INFO] [stdout] | [INFO] [stdout] 146 | ...vars:&mut Vec, start_i:u32, tc:&mut u32)->bool{ // tc is token counter, modified for user [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let mut ret = Vec::new(); [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/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let mut ret = Vec::new(); [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: field is never read: `v` [INFO] [stdout] --> src/main.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | v:Bit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reg` [INFO] [stdout] --> src/main.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | Reg, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `VarType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `v` [INFO] [stdout] --> src/main.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | v:Bit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Reg` [INFO] [stdout] --> src/main.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | Reg, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `VarType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/main.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | b:bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Debug,Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `one` [INFO] [stdout] --> src/main.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | fn one()->Bit{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_b` [INFO] [stdout] --> src/main.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | fn from_b(val:bool) ->Bit{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [INFO] [stdout] --> src/main.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | fn from_str(val:String)->Bit{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> src/main.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | b:bool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:232:10 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Debug,Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_num` [INFO] [stdout] --> src/main.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | fn from_num(val:u32)->Bit{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `one` [INFO] [stdout] --> src/main.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | fn one()->Bit{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_b` [INFO] [stdout] --> src/main.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | fn from_b(val:bool) ->Bit{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `endI` should have a snake case name [INFO] [stdout] --> src/main.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let mut endI:u32 = tokens.len() as u32 -1; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `end_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_str` [INFO] [stdout] --> src/main.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | fn from_str(val:String)->Bit{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_num` [INFO] [stdout] --> src/main.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | fn from_num(val:u32)->Bit{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `endI` should have a snake case name [INFO] [stdout] --> src/main.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let mut endI:u32 = tokens.len() as u32 -1; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `end_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "2c2b71b3f2ac03faf677a07636b28d4bc7e9f1dc01e62454f38b13be06be9135", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c2b71b3f2ac03faf677a07636b28d4bc7e9f1dc01e62454f38b13be06be9135", kill_on_drop: false }` [INFO] [stdout] 2c2b71b3f2ac03faf677a07636b28d4bc7e9f1dc01e62454f38b13be06be9135