[INFO] cloning repository https://github.com/ryanpbrewster/rust-ffi-libsnappy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryanpbrewster/rust-ffi-libsnappy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanpbrewster%2Frust-ffi-libsnappy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanpbrewster%2Frust-ffi-libsnappy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e4fe43d31dff17a509d4bf1820f633472cd25b9 [INFO] testing ryanpbrewster/rust-ffi-libsnappy against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanpbrewster%2Frust-ffi-libsnappy" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryanpbrewster/rust-ffi-libsnappy on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ryanpbrewster/rust-ffi-libsnappy [INFO] finished tweaking git repo https://github.com/ryanpbrewster/rust-ffi-libsnappy [INFO] tweaked toml for git repo https://github.com/ryanpbrewster/rust-ffi-libsnappy written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/ryanpbrewster/rust-ffi-libsnappy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ed1467cf2e7b9b401907c3b2f3381177b56055dd2c391bab5604f0dc58938e8 [INFO] running `Command { std: "docker" "start" "-a" "0ed1467cf2e7b9b401907c3b2f3381177b56055dd2c391bab5604f0dc58938e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ed1467cf2e7b9b401907c3b2f3381177b56055dd2c391bab5604f0dc58938e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ed1467cf2e7b9b401907c3b2f3381177b56055dd2c391bab5604f0dc58938e8", kill_on_drop: false }` [INFO] [stdout] 0ed1467cf2e7b9b401907c3b2f3381177b56055dd2c391bab5604f0dc58938e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4500129dbd89e53e0e2cdebe2ed1e61b5aa75176206bb6da3d11acdcd1222f2c [INFO] running `Command { std: "docker" "start" "-a" "4500129dbd89e53e0e2cdebe2ed1e61b5aa75176206bb6da3d11acdcd1222f2c", kill_on_drop: false }` [INFO] [stderr] Compiling ffi-example-2 v0.1.0 (/opt/rustwide/workdir) [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/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.ffi_example_2.aj2vh0zn-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81" "/opt/rustwide/target/debug/deps/ffi_example_2-71660c97e7b88f81.158vfdai5mb8kmp0.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "./lib" "-L" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lsnappy" "-lc++" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/liblibc-7a70711042a43204.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-21256c14e4504640.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-986e7fea4474d4d2.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-91d85f45babdb06e.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-756509c31813f9a6.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-5c2ef587e740c0cc.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-ad8f9371d31db1b3.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-402820fb3b4d3dd8.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-5e8e903f07dc8747.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7ab9ae5080c07187.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c8e8d47c6bf14de2.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5a02dbb58abd015a.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-cedc8fec61444895.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-a1c96351c52bc56a.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-e41c6d24baeb2249.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-62493b241881590c.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a1fd7734706d5518.rlib" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-c8ded1707ad10767.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/99e3aef02079e9c10583638520cd0c134dc3a01d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1eec8756baa5bc24.rlib" "-Wl,-Bdynamic" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lc++ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ffi-example-2` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "4500129dbd89e53e0e2cdebe2ed1e61b5aa75176206bb6da3d11acdcd1222f2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4500129dbd89e53e0e2cdebe2ed1e61b5aa75176206bb6da3d11acdcd1222f2c", kill_on_drop: false }` [INFO] [stdout] 4500129dbd89e53e0e2cdebe2ed1e61b5aa75176206bb6da3d11acdcd1222f2c