[INFO] updating cached repository https://github.com/misterfish/fish-readline-hooks [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] a30e687e577ba42faf45dd643b13d4b0c39688c9 [INFO] testing misterfish/fish-readline-hooks against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmisterfish%2Ffish-readline-hooks" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/misterfish/fish-readline-hooks 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/misterfish/fish-readline-hooks [INFO] finished tweaking git repo https://github.com/misterfish/fish-readline-hooks [INFO] tweaked toml for git repo https://github.com/misterfish/fish-readline-hooks written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/misterfish/fish-readline-hooks 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] [stderr] error: the lock file /workspace/builds/worker-8/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 642f32f3d05f88df3f873400f01675c03af389c069eaf9202c99a55c414b5ad9 [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" "642f32f3d05f88df3f873400f01675c03af389c069eaf9202c99a55c414b5ad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "642f32f3d05f88df3f873400f01675c03af389c069eaf9202c99a55c414b5ad9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "642f32f3d05f88df3f873400f01675c03af389c069eaf9202c99a55c414b5ad9", kill_on_drop: false }` [INFO] [stdout] 642f32f3d05f88df3f873400f01675c03af389c069eaf9202c99a55c414b5ad9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] 46bf0228f4a426c17d13549b68cd4f3c64b99df5beb5283898255a3fc02b83dd [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" "46bf0228f4a426c17d13549b68cd4f3c64b99df5beb5283898255a3fc02b83dd", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling readline-hooks v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:386:28 [INFO] [stdout] | [INFO] [stdout] 386 | _ => return panic!(), [INFO] [stdout] | ^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `CommandParseParsed` [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | type CommandParseParsed<'a> = (String, String, String, String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.readline_hooks.3o6vuy08-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a" "/opt/rustwide/target/debug/deps/readline_hooks-3ac06421ca7a8f5a.29ojmre9z46gxd8x.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" "-Wl,--whole-archive" "-lrh-parse" "-Wl,--no-whole-archive" "/opt/rustwide/target/debug/deps/libshlex-94cb6686a4941263.rlib" "/opt/rustwide/target/debug/deps/libregex-d81d9c3526f46098.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-f3b1a88dafe69a35.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-0f30367a12de9575.rlib" "/opt/rustwide/target/debug/deps/libthread_local-80f15b4a453d4cf2.rlib" "/opt/rustwide/target/debug/deps/libthread_id-4440277b0d8e5c49.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-285048991994ca97.rlib" "/opt/rustwide/target/debug/deps/libmemchr-cf456b39fb018017.rlib" "/opt/rustwide/target/debug/deps/liblibc-e834449672905d13.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" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lrh-parse [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `readline-hooks`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "46bf0228f4a426c17d13549b68cd4f3c64b99df5beb5283898255a3fc02b83dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46bf0228f4a426c17d13549b68cd4f3c64b99df5beb5283898255a3fc02b83dd", kill_on_drop: false }` [INFO] [stdout] 46bf0228f4a426c17d13549b68cd4f3c64b99df5beb5283898255a3fc02b83dd