[INFO] cloning repository https://github.com/olekhov/rust-ffi-closure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/olekhov/rust-ffi-closure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folekhov%2Frust-ffi-closure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folekhov%2Frust-ffi-closure'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 16cbd7a31a27a844d52e8399fc123570f7ac1022 [INFO] testing olekhov/rust-ffi-closure against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folekhov%2Frust-ffi-closure" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/olekhov/rust-ffi-closure on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/olekhov/rust-ffi-closure [INFO] finished tweaking git repo https://github.com/olekhov/rust-ffi-closure [INFO] tweaked toml for git repo https://github.com/olekhov/rust-ffi-closure written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/olekhov/rust-ffi-closure already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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] 3ceb4794c368bd75a21562d6ae1b81f6bfed6f4eac005d0287240f467d2552b3 [INFO] running `Command { std: "docker" "start" "-a" "3ceb4794c368bd75a21562d6ae1b81f6bfed6f4eac005d0287240f467d2552b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ceb4794c368bd75a21562d6ae1b81f6bfed6f4eac005d0287240f467d2552b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ceb4794c368bd75a21562d6ae1b81f6bfed6f4eac005d0287240f467d2552b3", kill_on_drop: false }` [INFO] [stdout] 3ceb4794c368bd75a21562d6ae1b81f6bfed6f4eac005d0287240f467d2552b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a85609aff05fee112020a6e8dead8bdaa21d9b1b0df8b006af12d6ac92a90448 [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" "a85609aff05fee112020a6e8dead8bdaa21d9b1b0df8b006af12d6ac92a90448", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling ffi-closure v0.1.0 (/opt/rustwide/workdir) [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/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.ffi_closure.e00a23fn-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56" "/opt/rustwide/target/debug/deps/ffi_closure-8f02caaef166ca56.3k0ihi6j2obla7tc.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lmylib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblibc-1394abe0633c5989.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c659455244c9d2ca.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-448643d99e633b5d.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-c7c3d631a525883a.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d7659a11bb201e01.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-9aceb6f83a33a9b6.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-876c3057c8a2a7c2.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-2f02aa3e24d2aa49.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-1d4694108f8cb543.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-79eaa6e630880f50.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-0df1a4ec96f80cf7.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-bba9b0f0f4d77257.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f848f9c987265235.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d5ea4f2d39b8e27.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c22053fa5fc00a3b.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-c52e5d6301e1bd59.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-2675a9a46b5cec89.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-6e3d052afeb9f711.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lmylib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ffi-closure` [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a85609aff05fee112020a6e8dead8bdaa21d9b1b0df8b006af12d6ac92a90448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a85609aff05fee112020a6e8dead8bdaa21d9b1b0df8b006af12d6ac92a90448", kill_on_drop: false }` [INFO] [stdout] a85609aff05fee112020a6e8dead8bdaa21d9b1b0df8b006af12d6ac92a90448