[INFO] updating cached repository https://github.com/mikeycgto/ruru-rstring-encoding [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] 580edf61e9c0942706726a4bd3b5cfa2c62b2520 [INFO] testing mikeycgto/ruru-rstring-encoding against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeycgto%2Fruru-rstring-encoding" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikeycgto/ruru-rstring-encoding on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mikeycgto/ruru-rstring-encoding [INFO] finished tweaking git repo https://github.com/mikeycgto/ruru-rstring-encoding [INFO] tweaked toml for git repo https://github.com/mikeycgto/ruru-rstring-encoding written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/mikeycgto/ruru-rstring-encoding already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] 0827c44f0f4b80a33d8a52b113dc988253e51c90168742daeb7f5bf7a7fd80d1 [INFO] running `Command { std: "docker" "start" "-a" "0827c44f0f4b80a33d8a52b113dc988253e51c90168742daeb7f5bf7a7fd80d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0827c44f0f4b80a33d8a52b113dc988253e51c90168742daeb7f5bf7a7fd80d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0827c44f0f4b80a33d8a52b113dc988253e51c90168742daeb7f5bf7a7fd80d1", kill_on_drop: false }` [INFO] [stdout] 0827c44f0f4b80a33d8a52b113dc988253e51c90168742daeb7f5bf7a7fd80d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b30e934fa7b6201eabf6770829e74bd82deb168c50edae18fac251277d680ec [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" "6b30e934fa7b6201eabf6770829e74bd82deb168c50edae18fac251277d680ec", kill_on_drop: false }` [INFO] [stderr] Compiling ruby-sys v0.2.20 [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling ruru v0.9.3 [INFO] [stderr] Compiling ruru-rstring-encoding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `StringTest`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | StringTest, [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | class!(StringTest); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/ruru_rstring_encoding.ruru_rstring_encoding.6bttikwg-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/ruru_rstring_encoding.ruru_rstring_encoding.6bttikwg-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/ruru_rstring_encoding.ruru_rstring_encoding.6bttikwg-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/ruru_rstring_encoding.ruru_rstring_encoding.6bttikwg-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/ruru_rstring_encoding.ruru_rstring_encoding.6bttikwg-cgu.4.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/libruru_rstring_encoding.so" "-Wl,--version-script=/tmp/rustcg0wfDe/list" "/opt/rustwide/target/debug/deps/ruru_rstring_encoding.3fls2zr0q9ji5af3.rcgu.o" "/opt/rustwide/target/debug/deps/ruru_rstring_encoding.u5uxsqe3micgw3a.rcgu.o" "-shared" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib" "-L" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/libruru-3cdbd4f3e084ef45.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/libruby_sys-dc8e43ed0ba5571d.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/liblibc-828489f84bacaba4.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/liblazy_static-53fb8e8621861752.rlib" "-Wl,--no-whole-archive" "-Wl,--start-group" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/libstd-5989bcf78182f65e.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/libpanic_unwind-4d6da34bc177af8d.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/libhashbrown-10e0d6c948699482.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/librustc_std_workspace_alloc-c2318e2415657781.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/libbacktrace-3815b93ed84badbb.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/libbacktrace_sys-d7999143d95238cb.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/librustc_demangle-c58298a0d40df8b8.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/libunwind-b7de97e2ba6fb4e2.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/libcfg_if-6f71c9f654d72cce.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/liblibc-95ea48ddc44a311b.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/liballoc-7402cd4761aebc14.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/librustc_std_workspace_core-68f423c59dc48a40.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcg0wfDe/libcore-54580c7798bf2225.rlib" "-Wl,--no-whole-archive" "-Wl,--end-group" "/tmp/rustcg0wfDe/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" "-lruby-2.7" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lruby-2.7 [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ruru-rstring-encoding`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "6b30e934fa7b6201eabf6770829e74bd82deb168c50edae18fac251277d680ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b30e934fa7b6201eabf6770829e74bd82deb168c50edae18fac251277d680ec", kill_on_drop: false }` [INFO] [stdout] 6b30e934fa7b6201eabf6770829e74bd82deb168c50edae18fac251277d680ec