[INFO] fetching crate hyperjson 0.2.4... [INFO] building hyperjson-0.2.4 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate hyperjson 0.2.4 into /workspace/builds/worker-7-tc2/source [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate hyperjson 0.2.4 [INFO] finished tweaking crates.io crate hyperjson 0.2.4 [INFO] tweaked toml for crates.io crate hyperjson 0.2.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hyperjson 0.2.4 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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 48 packages to latest compatible versions [INFO] [stderr] Adding indoc-impl v0.3.6 (available: v0.3.7) [INFO] [stderr] Adding pyo3 v0.8.5 (available: v0.27.2) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7993fb760cbe29bc5edc3672dc81f5289c7f9fbeb7aff4849a13fc30749fbb19 [INFO] running `Command { std: "docker" "start" "-a" "7993fb760cbe29bc5edc3672dc81f5289c7f9fbeb7aff4849a13fc30749fbb19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7993fb760cbe29bc5edc3672dc81f5289c7f9fbeb7aff4849a13fc30749fbb19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7993fb760cbe29bc5edc3672dc81f5289c7f9fbeb7aff4849a13fc30749fbb19", kill_on_drop: false }` [INFO] [stdout] 7993fb760cbe29bc5edc3672dc81f5289c7f9fbeb7aff4849a13fc30749fbb19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a7898c482f53a6eb8d8c5d21d325200c4b1b75116b2c7b84408b5a7f1ae61ea3 [INFO] running `Command { std: "docker" "start" "-a" "a7898c482f53a6eb8d8c5d21d325200c4b1b75116b2c7b84408b5a7f1ae61ea3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling ghost v0.1.20 [INFO] [stderr] Compiling inventory-impl v0.1.11 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling pyo3-derive-backend v0.8.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling pyo3cls v0.8.5 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling pyo3 v0.8.5 [INFO] [stderr] Compiling hyperjson v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_HyperJsonError` [INFO] [stdout] 16 | pub enum HyperJsonError { [INFO] [stdout] | -------------- `HyperJsonError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_HyperJsonError` [INFO] [stdout] 16 | pub enum HyperJsonError { [INFO] [stdout] | -------------- `HyperJsonError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "PyInit_hyperjson" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<6 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libserde_json-f6876f2d56c502ae,libmemchr-7415f7f53c525d15,libitoa-b50560bd97dc0e7d,libryu-94576936089e9220,libserde-887a6b934d946970,libserde_core-7054782e1b276604,libpyo3-b1d3ea32046c1b7c,libnum_traits-3a8e83649fd78d15,libspin-d5f06904c2ae1004,libunindent-b1e22bd2801282fc,liblibc-17683462cc868e72,libinventory-dcd36983fab9f6a0,libindoc-2cfe1a254c207199,libpaste-39b973aaf390d8ef,libfailure-9e6e2b2165d0cb82,libbacktrace-f9f275f401c2fb7b,libcfg_if-d6bc76d3bc4619c0,librustc_demangle-ee551842d694ad1d}.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" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.wasm" "--gc-sections" "--no-entry" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: PyErr_Restore [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: PySequence_Check [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: PySequence_Size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: PyObject_GetAttr [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: PyObject_Call [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: PyObject_GetAttr [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: PyObject_Call [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: PyObject_GetAttr [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: PyObject_Call [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: PyDict_SetItem [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: PyObject_SetAttr [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: PyObject_SetAttr [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: _Py_TrueStruct [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: _Py_TrueStruct [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: _Py_FalseStruct [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: _Py_FalseStruct [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: PyCFunction_NewEx [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: _PyObject_NextNotImplemented [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: PyLong_FromUnsignedLongLong [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/hyperjson.hyperjson.698c1adde599f607-cgu.0.rcgu.o: undefined symbol: PyDict_Next [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hyperjson` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a7898c482f53a6eb8d8c5d21d325200c4b1b75116b2c7b84408b5a7f1ae61ea3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7898c482f53a6eb8d8c5d21d325200c4b1b75116b2c7b84408b5a7f1ae61ea3", kill_on_drop: false }` [INFO] [stdout] a7898c482f53a6eb8d8c5d21d325200c4b1b75116b2c7b84408b5a7f1ae61ea3