[INFO] updating cached repository https://github.com/suhr/med [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9348517979e0c668a7933c259ad20b2ad4d4210c [INFO] testing suhr/med against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhr%2Fmed" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suhr/med on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/suhr/med [INFO] finished tweaking git repo https://github.com/suhr/med [INFO] tweaked toml for git repo https://github.com/suhr/med written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/suhr/med already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f16bcd5bcf32519bf9bda707eb6d635f50c5c3b1a276f91e4744619681d6983c [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" "f16bcd5bcf32519bf9bda707eb6d635f50c5c3b1a276f91e4744619681d6983c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f16bcd5bcf32519bf9bda707eb6d635f50c5c3b1a276f91e4744619681d6983c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f16bcd5bcf32519bf9bda707eb6d635f50c5c3b1a276f91e4744619681d6983c", kill_on_drop: false }` [INFO] [stdout] f16bcd5bcf32519bf9bda707eb6d635f50c5c3b1a276f91e4744619681d6983c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d0b71d4ec2cfc52973322fbece2363c47c644b3ce1870e95dc83f483a7a07e4 [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" "3d0b71d4ec2cfc52973322fbece2363c47c644b3ce1870e95dc83f483a7a07e4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling monochord v0.1.1 [INFO] [stderr] Compiling portmidi v0.2.4 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling clap v2.29.2 [INFO] [stderr] Compiling rustyline v1.0.0 [INFO] [stderr] Compiling med v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Read, BufReader, BufRead}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | 'A'...'Z' | 'a'...'z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:164:24 [INFO] [stdout] | [INFO] [stdout] 164 | 'A'...'Z' | 'a'...'z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 171 | l @ 'a'...'h' => Some(l as i8 - 'd' as i8), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | self.exec(l); [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] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | self.exec(&l); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | int.exec(&line.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:485:17 [INFO] [stdout] | [INFO] [stdout] 485 | int.exec(&line); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/med-7833461231399041.med.4odxq6hq-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/med-7833461231399041" "/opt/rustwide/target/debug/deps/med-7833461231399041.2axdu66izo33r3km.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libclap-ba4576ea44830417.rlib" "/opt/rustwide/target/debug/deps/libvec_map-c018f5f757bdfee7.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-5f1041b78864d122.rlib" "/opt/rustwide/target/debug/deps/libstrsim-a2531661b04b65ea.rlib" "/opt/rustwide/target/debug/deps/libbitflags-432b05d325b83a4e.rlib" "/opt/rustwide/target/debug/deps/libatty-198fe165470b7794.rlib" "/opt/rustwide/target/debug/deps/libansi_term-6e59a915a6d22a6f.rlib" "/opt/rustwide/target/debug/deps/librustyline-bf632dcca0a86b62.rlib" "/opt/rustwide/target/debug/deps/libencode_unicode-6718859f8cc56c41.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-a0e0a1b5ffc6af20.rlib" "/opt/rustwide/target/debug/deps/libnix-0548cab3350e36b5.rlib" "/opt/rustwide/target/debug/deps/libbitflags-72d3a0bb89c626e1.rlib" "/opt/rustwide/target/debug/deps/liblibc-d7c70810c57fa4e4.rlib" "/opt/rustwide/target/debug/deps/libmonochord-d02a2542f8702a80.rlib" "/opt/rustwide/target/debug/deps/libportmidi-8dcc5c563aaad43a.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5989bcf78182f65e.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4d6da34bc177af8d.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-10e0d6c948699482.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c2318e2415657781.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-3815b93ed84badbb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-d7999143d95238cb.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c58298a0d40df8b8.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b7de97e2ba6fb4e2.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f71c9f654d72cce.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-95ea48ddc44a311b.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-7402cd4761aebc14.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-lportmidi" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lportmidi [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `med`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "3d0b71d4ec2cfc52973322fbece2363c47c644b3ce1870e95dc83f483a7a07e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d0b71d4ec2cfc52973322fbece2363c47c644b3ce1870e95dc83f483a7a07e4", kill_on_drop: false }` [INFO] [stdout] 3d0b71d4ec2cfc52973322fbece2363c47c644b3ce1870e95dc83f483a7a07e4