[INFO] crate snap7-sys 0.1.4 is already in cache [INFO] testing snap7-sys-0.1.4 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate snap7-sys 0.1.4 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate snap7-sys 0.1.4 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate snap7-sys 0.1.4 [INFO] finished tweaking crates.io crate snap7-sys 0.1.4 [INFO] tweaked toml for crates.io crate snap7-sys 0.1.4 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate snap7-sys 0.1.4 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0097870e8222eb04cd668e91ee50378356232fd1705b3259084d939e5737575c [INFO] running `"docker" "start" "-a" "0097870e8222eb04cd668e91ee50378356232fd1705b3259084d939e5737575c"` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling which v3.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling cexpr v0.3.5 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling snap7-sys v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.36s [INFO] running `"docker" "inspect" "0097870e8222eb04cd668e91ee50378356232fd1705b3259084d939e5737575c"` [INFO] running `"docker" "rm" "-f" "0097870e8222eb04cd668e91ee50378356232fd1705b3259084d939e5737575c"` [INFO] [stdout] 0097870e8222eb04cd668e91ee50378356232fd1705b3259084d939e5737575c [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3c4fe2cbe33dc896d831317c1e066b7d093f3aa0b24bf9ca4f21d6db0e9e944c [INFO] running `"docker" "start" "-a" "3c4fe2cbe33dc896d831317c1e066b7d093f3aa0b24bf9ca4f21d6db0e9e944c"` [INFO] [stderr] Compiling snap7-sys v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/simple.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `CtlRecord` [INFO] [stderr] --> examples/simple.rs:125:8 [INFO] [stderr] | [INFO] [stderr] 125 | struct CtlRecord { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.simple.1h5cgc9k-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09" "/opt/rustwide/target/debug/examples/simple-ff25e17064e80c09.psmslxd1r32c7jr.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsnap7_sys-33837460dbbc870c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-62f93208e14fa8f0.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b2c4dbe979cef5e2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8b9b66cb3e9f891d.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5998b08bf29f56ac.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-efd1670396ccb585.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6435b9209e888961.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-866e5dfb603b34d2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-75eac3089695b3b4.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-35744537b4825584.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-f7ee5081d96fb2cd.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-5b28479cb639d76c.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-f827473dd3b319fa.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-53f9c299c549c6a9.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-44132fbb3fcc18d3.rlib" "-Wl,-Bdynamic" "-lsnap7" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lsnap7 [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `snap7-sys`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/snap7_sys-6144b3833a8fa479.snap7_sys.b8wsxnlt-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/snap7_sys-6144b3833a8fa479.snap7_sys.b8wsxnlt-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/snap7_sys-6144b3833a8fa479.snap7_sys.b8wsxnlt-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/snap7_sys-6144b3833a8fa479.snap7_sys.b8wsxnlt-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/snap7_sys-6144b3833a8fa479.snap7_sys.b8wsxnlt-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/snap7_sys-6144b3833a8fa479.snap7_sys.b8wsxnlt-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/snap7_sys-6144b3833a8fa479.snap7_sys.b8wsxnlt-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/snap7_sys-6144b3833a8fa479.snap7_sys.b8wsxnlt-cgu.7.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/snap7_sys-6144b3833a8fa479" "/opt/rustwide/target/debug/deps/snap7_sys-6144b3833a8fa479.65x4ok31gpepgsh.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lsnap7" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-a6274e2eaafd361e.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-2c85f64fb49c1603.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-ed84df1a106a13ed.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-e159833bdb71170b.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-5f1c8c824853fda4.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-62f93208e14fa8f0.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-b2c4dbe979cef5e2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8b9b66cb3e9f891d.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-5998b08bf29f56ac.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-efd1670396ccb585.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-6435b9209e888961.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-866e5dfb603b34d2.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-75eac3089695b3b4.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-35744537b4825584.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-f7ee5081d96fb2cd.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-5b28479cb639d76c.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-f827473dd3b319fa.rlib" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-53f9c299c549c6a9.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/41997647ba6a77908f6ef64401414feb00bccf16/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-44132fbb3fcc18d3.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lsnap7 [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: could not compile `snap7-sys`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3c4fe2cbe33dc896d831317c1e066b7d093f3aa0b24bf9ca4f21d6db0e9e944c"` [INFO] running `"docker" "rm" "-f" "3c4fe2cbe33dc896d831317c1e066b7d093f3aa0b24bf9ca4f21d6db0e9e944c"` [INFO] [stdout] 3c4fe2cbe33dc896d831317c1e066b7d093f3aa0b24bf9ca4f21d6db0e9e944c