[INFO] cloning repository https://github.com/suhr/med [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suhr/med" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhr%2Fmed", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhr%2Fmed'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9348517979e0c668a7933c259ad20b2ad4d4210c [INFO] testing suhr/med against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuhr%2Fmed" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suhr/med on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-6/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded portmidi v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 754cb4679f7128db3ace19ef5c40bacc58f1e7d135f7c12d365f2208206cb902 [INFO] running `Command { std: "docker" "start" "-a" "754cb4679f7128db3ace19ef5c40bacc58f1e7d135f7c12d365f2208206cb902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "754cb4679f7128db3ace19ef5c40bacc58f1e7d135f7c12d365f2208206cb902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "754cb4679f7128db3ace19ef5c40bacc58f1e7d135f7c12d365f2208206cb902", kill_on_drop: false }` [INFO] [stdout] 754cb4679f7128db3ace19ef5c40bacc58f1e7d135f7c12d365f2208206cb902 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8db82b36814677165e31ccdd218473437c745c28d358cc29750cdd353fcaf8ab [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" "8db82b36814677165e31ccdd218473437c745c28d358cc29750cdd353fcaf8ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.36 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling strsim v0.6.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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `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 `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 `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 `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 status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-Wl,--as-needed" "-L" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.med.5n6ycidd-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58" "/opt/rustwide/target/debug/deps/med-f2eb34bfd07c7a58.25bollatttqgrgqj.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libclap-f4250dffb5f197a5.rlib" "/opt/rustwide/target/debug/deps/libvec_map-0f667780fa24fa65.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-cb683af192da5022.rlib" "/opt/rustwide/target/debug/deps/libstrsim-cbc164d579d02dc7.rlib" "/opt/rustwide/target/debug/deps/libbitflags-ec20b1bda562d4d0.rlib" "/opt/rustwide/target/debug/deps/libatty-59688014b7126265.rlib" "/opt/rustwide/target/debug/deps/libansi_term-d83d411f4cc1f135.rlib" "/opt/rustwide/target/debug/deps/librustyline-acfc67ccca6f7119.rlib" "/opt/rustwide/target/debug/deps/libencode_unicode-891930bacce71362.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-add75d418171d5c3.rlib" "/opt/rustwide/target/debug/deps/libnix-59bd50652856abfc.rlib" "/opt/rustwide/target/debug/deps/libbitflags-3aed4555acd8ccfe.rlib" "/opt/rustwide/target/debug/deps/liblibc-79167d57efd4c1e0.rlib" "/opt/rustwide/target/debug/deps/libmonochord-8fe47be71cdd7287.rlib" "/opt/rustwide/target/debug/deps/libportmidi-60d3bc35aa23eaa2.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-21256c14e4504640.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-986e7fea4474d4d2.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-91d85f45babdb06e.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-756509c31813f9a6.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-5c2ef587e740c0cc.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-ad8f9371d31db1b3.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-402820fb3b4d3dd8.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-5e8e903f07dc8747.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7ab9ae5080c07187.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c8e8d47c6bf14de2.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5a02dbb58abd015a.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-cedc8fec61444895.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a1c96351c52bc56a.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e41c6d24baeb2249.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-62493b241881590c.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a1fd7734706d5518.rlib" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-c8ded1707ad10767.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1eec8756baa5bc24.rlib" "-Wl,-Bdynamic" "-lutil" "-lportmidi" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [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" "8db82b36814677165e31ccdd218473437c745c28d358cc29750cdd353fcaf8ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8db82b36814677165e31ccdd218473437c745c28d358cc29750cdd353fcaf8ab", kill_on_drop: false }` [INFO] [stdout] 8db82b36814677165e31ccdd218473437c745c28d358cc29750cdd353fcaf8ab