[INFO] cloning repository https://github.com/marianopw/mrandomer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marianopw/mrandomer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarianopw%2Fmrandomer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarianopw%2Fmrandomer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f31085be23516589be4e330006ac48418695359 [INFO] checking marianopw/mrandomer against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarianopw%2Fmrandomer" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marianopw/mrandomer on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marianopw/mrandomer [INFO] removed path dependency midir from git repo https://github.com/marianopw/mrandomer [INFO] finished tweaking git repo https://github.com/marianopw/mrandomer [INFO] tweaked toml for git repo https://github.com/marianopw/mrandomer written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/marianopw/mrandomer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (midir) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-11/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (midir) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76c4193e6f8770bfde3017526f596a74a7c477d4e325ad73a179017a3870eaf4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "76c4193e6f8770bfde3017526f596a74a7c477d4e325ad73a179017a3870eaf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76c4193e6f8770bfde3017526f596a74a7c477d4e325ad73a179017a3870eaf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76c4193e6f8770bfde3017526f596a74a7c477d4e325ad73a179017a3870eaf4", kill_on_drop: false }` [INFO] [stdout] 76c4193e6f8770bfde3017526f596a74a7c477d4e325ad73a179017a3870eaf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bea38d262af66a6ebf4ae927cec746133fa09acb9e9bfb288cf5ce7211e1f3e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7bea38d262af66a6ebf4ae927cec746133fa09acb9e9bfb288cf5ce7211e1f3e", kill_on_drop: false }` [INFO] [stderr] warning: dependency (midir) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking alsa v0.4.3 [INFO] [stderr] Checking midir v0.7.0 [INFO] [stderr] Checking mrandomer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i64` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::i64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:184:51 [INFO] [stdout] | [INFO] [stdout] 184 | fn run(path: &Path, port: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | (*number as u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | (*value as u8) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | (*pause as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | (*duration as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | (*velocity as u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | (*number as u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i64` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::i64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:184:51 [INFO] [stdout] | [INFO] [stdout] 184 | fn run(path: &Path, port: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | (*number as u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | (*value as u8) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | (*pause as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | (*duration as u64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:438:9 [INFO] [stdout] | [INFO] [stdout] 438 | (*velocity as u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | (*number as u8) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:174:47 [INFO] [stdout] | [INFO] [stdout] 174 | Err(err) => println!("Error: {}", err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:174:47 [INFO] [stdout] | [INFO] [stdout] 174 | Err(err) => println!("Error: {}", err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:231:65 [INFO] [stdout] | [INFO] [stdout] 231 | Err(why) => panic!("couldn't open {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:237:65 [INFO] [stdout] | [INFO] [stdout] 237 | Err(why) => panic!("couldn't read {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 288 | for (c, cc) in ccvalues.iter().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minpause` [INFO] [stdout] --> src/main.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | let minpause = match &cc.minpause { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minpause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxpause` [INFO] [stdout] --> src/main.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | let maxpause = match &cc.maxpause { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxpause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:365:10 [INFO] [stdout] | [INFO] [stdout] 365 | for (c, note) in notevalues.iter().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:465:10 [INFO] [stdout] | [INFO] [stdout] 465 | for (c, sysex) in sysexvalues.iter().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw` [INFO] [stdout] --> src/main.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | let raw = if item == &"r1".to_string(){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:231:65 [INFO] [stdout] | [INFO] [stdout] 231 | Err(why) => panic!("couldn't open {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:237:65 [INFO] [stdout] | [INFO] [stdout] 237 | Err(why) => panic!("couldn't read {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:288:10 [INFO] [stdout] | [INFO] [stdout] 288 | for (c, cc) in ccvalues.iter().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `minpause` [INFO] [stdout] --> src/main.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | let minpause = match &cc.minpause { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_minpause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxpause` [INFO] [stdout] --> src/main.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | let maxpause = match &cc.maxpause { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxpause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:365:10 [INFO] [stdout] | [INFO] [stdout] 365 | for (c, note) in notevalues.iter().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:465:10 [INFO] [stdout] | [INFO] [stdout] 465 | for (c, sysex) in sysexvalues.iter().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw` [INFO] [stdout] --> src/main.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | let raw = if item == &"r1".to_string(){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_raw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.29s [INFO] running `Command { std: "docker" "inspect" "7bea38d262af66a6ebf4ae927cec746133fa09acb9e9bfb288cf5ce7211e1f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bea38d262af66a6ebf4ae927cec746133fa09acb9e9bfb288cf5ce7211e1f3e", kill_on_drop: false }` [INFO] [stdout] 7bea38d262af66a6ebf4ae927cec746133fa09acb9e9bfb288cf5ce7211e1f3e