[INFO] fetching crate cpucycles 0.2.0... [INFO] building cpucycles-0.2.0 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate cpucycles 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate cpucycles 0.2.0 [INFO] finished tweaking crates.io crate cpucycles 0.2.0 [INFO] tweaked toml for crates.io crate cpucycles 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cpucycles 0.2.0 on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 51 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31a5ecef4fbd4582e48b5cd57e9dd6fe123eca74fb6d1ed5cfb3993afc5f0e3d [INFO] running `Command { std: "docker" "start" "-a" "31a5ecef4fbd4582e48b5cd57e9dd6fe123eca74fb6d1ed5cfb3993afc5f0e3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31a5ecef4fbd4582e48b5cd57e9dd6fe123eca74fb6d1ed5cfb3993afc5f0e3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31a5ecef4fbd4582e48b5cd57e9dd6fe123eca74fb6d1ed5cfb3993afc5f0e3d", kill_on_drop: false }` [INFO] [stdout] 31a5ecef4fbd4582e48b5cd57e9dd6fe123eca74fb6d1ed5cfb3993afc5f0e3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] fc85febe12dd57647cc4fe128329d38e8e5bd60b99b2ecc80b977ecae11f2427 [INFO] running `Command { std: "docker" "start" "-a" "fc85febe12dd57647cc4fe128329d38e8e5bd60b99b2ecc80b977ecae11f2427", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bindgen v0.53.3 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling copy_dir v0.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cpucycles-sys v0.1.2 [INFO] [stderr] Compiling cpucycles v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.57s [INFO] running `Command { std: "docker" "inspect" "fc85febe12dd57647cc4fe128329d38e8e5bd60b99b2ecc80b977ecae11f2427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc85febe12dd57647cc4fe128329d38e8e5bd60b99b2ecc80b977ecae11f2427", kill_on_drop: false }` [INFO] [stdout] fc85febe12dd57647cc4fe128329d38e8e5bd60b99b2ecc80b977ecae11f2427 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 90f9e564bbfec2687b7e19c2afb53b41ae0908b438b0e40aaa941bfc8dcaf0ea [INFO] running `Command { std: "docker" "start" "-a" "90f9e564bbfec2687b7e19c2afb53b41ae0908b438b0e40aaa941bfc8dcaf0ea", kill_on_drop: false }` [INFO] [stderr] Compiling cpucycles v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/libcpucycles_sys-aaf6f22f30667f5a.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/libonce_cell-bcd15b06b8f373b9.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/cpucycles-sys-fd281f0d9fc0b02f/out/lib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/cpucycles-5d69b3225456f2e7.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpucycles_sys-aaf6f22f30667f5a.rlib: archive member 'amd64-pmc.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpucycles_sys-aaf6f22f30667f5a.rlib: archive member 'amd64-tsc.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpucycles_sys-aaf6f22f30667f5a.rlib: archive member 'amd64-tscasm.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpucycles_sys-aaf6f22f30667f5a.rlib: archive member 'default-perfevent.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpucycles_sys-aaf6f22f30667f5a.rlib: archive member 'default-mach.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpucycles_sys-aaf6f22f30667f5a.rlib: archive member 'default-monotonic.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpucycles_sys-aaf6f22f30667f5a.rlib: archive member 'default-gettimeofday.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpucycles_sys-aaf6f22f30667f5a.rlib: archive member 'default-zero.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcpucycles_sys-aaf6f22f30667f5a.rlib: archive member 'wrapper.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/cpucycles-5d69b3225456f2e7.cpucycles.6a477fc38cef67bb-cgu.0.rcgu.o: undefined symbol: cpucycles [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/cpucycles-5d69b3225456f2e7.cpucycles.6a477fc38cef67bb-cgu.0.rcgu.o: undefined symbol: cpucycles [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/cpucycles-5d69b3225456f2e7.cpucycles.6a477fc38cef67bb-cgu.0.rcgu.o: undefined symbol: cpucycles [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/cpucycles-5d69b3225456f2e7.cpucycles.6a477fc38cef67bb-cgu.0.rcgu.o: undefined symbol: cpucycles [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/cpucycles-5d69b3225456f2e7.cpucycles.6a477fc38cef67bb-cgu.0.rcgu.o: undefined symbol: cpucycles_persecond [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/cpucycles-5d69b3225456f2e7.cpucycles.6a477fc38cef67bb-cgu.0.rcgu.o: undefined symbol: cpucycles_implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpucycles` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "90f9e564bbfec2687b7e19c2afb53b41ae0908b438b0e40aaa941bfc8dcaf0ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90f9e564bbfec2687b7e19c2afb53b41ae0908b438b0e40aaa941bfc8dcaf0ea", kill_on_drop: false }` [INFO] [stdout] 90f9e564bbfec2687b7e19c2afb53b41ae0908b438b0e40aaa941bfc8dcaf0ea