[INFO] cloning repository https://github.com/PhotonQuantum/rust-dylib-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PhotonQuantum/rust-dylib-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhotonQuantum%2Frust-dylib-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhotonQuantum%2Frust-dylib-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6cc13bb2111146afad366e3fa19a91b5105f34ea [INFO] building PhotonQuantum/rust-dylib-example against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPhotonQuantum%2Frust-dylib-example" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PhotonQuantum/rust-dylib-example on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PhotonQuantum/rust-dylib-example [INFO] finished tweaking git repo https://github.com/PhotonQuantum/rust-dylib-example [INFO] tweaked toml for git repo https://github.com/PhotonQuantum/rust-dylib-example written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/PhotonQuantum/rust-dylib-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c114c33657eb432137468a2dea3ffe803d4cef713c82c903dd2bf7c6e485a5ab [INFO] running `Command { std: "docker" "start" "-a" "c114c33657eb432137468a2dea3ffe803d4cef713c82c903dd2bf7c6e485a5ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c114c33657eb432137468a2dea3ffe803d4cef713c82c903dd2bf7c6e485a5ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c114c33657eb432137468a2dea3ffe803d4cef713c82c903dd2bf7c6e485a5ab", kill_on_drop: false }` [INFO] [stdout] c114c33657eb432137468a2dea3ffe803d4cef713c82c903dd2bf7c6e485a5ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e213fef4b8e0e5852b7a9f5ce360cf531dfee7723effd70aeb421a4b19075fb [INFO] running `Command { std: "docker" "start" "-a" "9e213fef4b8e0e5852b7a9f5ce360cf531dfee7723effd70aeb421a4b19075fb", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling rust-dylib-example v0.1.0 (/opt/rustwide/workdir/bin) [INFO] [stderr] Compiling is_odd_lib v0.1.0 (/opt/rustwide/workdir/is_odd_lib) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcJJnfKw/symbols.o" "/opt/rustwide/target/debug/deps/rust_dylib_example-3b3e0048f993b9f0.rust_dylib_example.c41e10639350439-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rust_dylib_example-3b3e0048f993b9f0.p5e2hjcjono9kcz.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/workdir/bin" "-L" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bdynamic" "-lis_odd_lib" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-72b35984a787fb54.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-0fdedff926cd8b5a.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-fe0525e327a5464a.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-795b2243f06bd098.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-86ce554ff6ad08cd.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1be635a4727d8e5e.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-1e55d89766af9c5f.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-02605c7065574d0d.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-0d17ba1067febc2c.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-2408fbe38b247900.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-b3c63e8997fdca47.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-bfa7a39ebb77d49a.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4b955078cf51c0a1.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1a6fbee0083900be.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-2b93db426c5a26c2.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-b30975e2b876cf32.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-cd2f2bc505f56f50.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-ec02dd343723da85.rlib" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-408115ade0360d2a.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rust_dylib_example-3b3e0048f993b9f0" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/rust_dylib_example-3b3e0048f993b9f0.rust_dylib_example.c41e10639350439-cgu.0.rcgu.o: in function `rust_dylib_example::main': [INFO] [stdout] /opt/rustwide/workdir/bin/src/main.rs:13: undefined reference to `is_odd' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-dylib-example` (bin "rust-dylib-example") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9e213fef4b8e0e5852b7a9f5ce360cf531dfee7723effd70aeb421a4b19075fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e213fef4b8e0e5852b7a9f5ce360cf531dfee7723effd70aeb421a4b19075fb", kill_on_drop: false }` [INFO] [stdout] 9e213fef4b8e0e5852b7a9f5ce360cf531dfee7723effd70aeb421a4b19075fb