[INFO] fetching crate wasix_http_client 0.4.0... [INFO] testing wasix_http_client-0.4.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate wasix_http_client 0.4.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate wasix_http_client 0.4.0 [INFO] finished tweaking crates.io crate wasix_http_client 0.4.0 [INFO] tweaked toml for crates.io crate wasix_http_client 0.4.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wasix_http_client 0.4.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wasix_http_client 0.4.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wai-bindgen-gen-rust-wasm v0.2.3 [INFO] [stderr] Downloaded wai-bindgen-rust v0.2.3 [INFO] [stderr] Downloaded wai-bindgen-rust-impl v0.2.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bab36d20a7ade63c78a7c9ce65147c02bdafdb2c5adadd8aea9b34bf8ffc4210 [INFO] running `Command { std: "docker" "start" "-a" "bab36d20a7ade63c78a7c9ce65147c02bdafdb2c5adadd8aea9b34bf8ffc4210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bab36d20a7ade63c78a7c9ce65147c02bdafdb2c5adadd8aea9b34bf8ffc4210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bab36d20a7ade63c78a7c9ce65147c02bdafdb2c5adadd8aea9b34bf8ffc4210", kill_on_drop: false }` [INFO] [stdout] bab36d20a7ade63c78a7c9ce65147c02bdafdb2c5adadd8aea9b34bf8ffc4210 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9db905687fb09287665f090cdd6578f21927ae231f9411428cef2c3637344d9 [INFO] running `Command { std: "docker" "start" "-a" "a9db905687fb09287665f090cdd6578f21927ae231f9411428cef2c3637344d9", kill_on_drop: false }` [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling wai-bindgen-gen-rust-wasm v0.2.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling wai-parser v0.2.3 [INFO] [stderr] Compiling wai-bindgen-gen-core v0.2.3 [INFO] [stderr] Compiling wai-bindgen-gen-rust v0.2.3 [INFO] [stderr] Compiling wai-bindgen-rust-impl v0.2.3 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling wai-bindgen-rust v0.2.3 [INFO] [stderr] Compiling wasix_http_client v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasix_http_client_v1.rs:192:24 [INFO] [stdout] | [INFO] [stdout] 192 | let ptr0 = WASIX_HTTP_CLIENT_V1_RET_AREA.0.as_mut_ptr() as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasix_http_client_v1.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | let ptr0 = WASIX_HTTP_CLIENT_V1_RET_AREA.0.as_mut_ptr() as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasix_http_client_v1.rs:404:25 [INFO] [stdout] | [INFO] [stdout] 404 | let ptr10 = WASIX_HTTP_CLIENT_V1_RET_AREA.0.as_mut_ptr() as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.15s [INFO] running `Command { std: "docker" "inspect" "a9db905687fb09287665f090cdd6578f21927ae231f9411428cef2c3637344d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9db905687fb09287665f090cdd6578f21927ae231f9411428cef2c3637344d9", kill_on_drop: false }` [INFO] [stdout] a9db905687fb09287665f090cdd6578f21927ae231f9411428cef2c3637344d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a747bd2f4dc448797f32275d1fa1a2fdc1c54358c1b51df96458fee2e64266f5 [INFO] running `Command { std: "docker" "start" "-a" "a747bd2f4dc448797f32275d1fa1a2fdc1c54358c1b51df96458fee2e64266f5", kill_on_drop: false }` [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasix_http_client_v1.rs:192:24 [INFO] [stdout] | [INFO] [stdout] 192 | let ptr0 = WASIX_HTTP_CLIENT_V1_RET_AREA.0.as_mut_ptr() as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasix_http_client_v1.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | let ptr0 = WASIX_HTTP_CLIENT_V1_RET_AREA.0.as_mut_ptr() as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasix_http_client_v1.rs:404:25 [INFO] [stdout] | [INFO] [stdout] 404 | let ptr10 = WASIX_HTTP_CLIENT_V1_RET_AREA.0.as_mut_ptr() as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasix_http_client v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasix_http_client_v1.rs:192:24 [INFO] [stdout] | [INFO] [stdout] 192 | let ptr0 = WASIX_HTTP_CLIENT_V1_RET_AREA.0.as_mut_ptr() as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasix_http_client_v1.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | let ptr0 = WASIX_HTTP_CLIENT_V1_RET_AREA.0.as_mut_ptr() as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/wasix_http_client_v1.rs:404:25 [INFO] [stdout] | [INFO] [stdout] 404 | let ptr10 = WASIX_HTTP_CLIENT_V1_RET_AREA.0.as_mut_ptr() as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc0Bj0ST/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwasix_http_client-45d25db704ee3886,libwai_bindgen_rust-2b1b331fa7530ce2,libbitflags-e2b4db6c651223da,libhttp-331e4ae3847cc79b,libitoa-6040b7234596f809,libbytes-89d7ab79dfdabb18,libfnv-2d77ec4f6f971b24,libanyhow-75bbb1ee37c3c03d}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc0Bj0ST/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/http_client-e04f834369480d55" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: wasix_http_client_v1_client::new [INFO] [stdout] >>> referenced by wasix_http_client_v1.rs:202 (src/wasix_http_client_v1.rs:202) [INFO] [stdout] >>> wasix_http_client-45d25db704ee3886.wasix_http_client.dfeff544feec8255-cgu.0.rcgu.o:(wasix_http_client::wasix_http_client_v1::Client::new::h1538e560f540da99) in archive /opt/rustwide/target/debug/deps/libwasix_http_client-45d25db704ee3886.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: wasix_http_client_v1_client::send [INFO] [stdout] >>> referenced by wasix_http_client_v1.rs:414 (src/wasix_http_client_v1.rs:414) [INFO] [stdout] >>> wasix_http_client-45d25db704ee3886.wasix_http_client.dfeff544feec8255-cgu.0.rcgu.o:(wasix_http_client::wasix_http_client_v1::Client::send::h0356758eb1e8834f) in archive /opt/rustwide/target/debug/deps/libwasix_http_client-45d25db704ee3886.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: resource_drop_client [INFO] [stdout] >>> referenced by wasix_http_client_v1.rs:175 (src/wasix_http_client_v1.rs:175) [INFO] [stdout] >>> wasix_http_client-45d25db704ee3886.wasix_http_client.dfeff544feec8255-cgu.0.rcgu.o:(_$LT$wasix_http_client..wasix_http_client_v1..Client$u20$as$u20$core..ops..drop..Drop$GT$::drop::hb527cfc837d9618f) in archive /opt/rustwide/target/debug/deps/libwasix_http_client-45d25db704ee3886.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasix_http_client` (example "http_client") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a747bd2f4dc448797f32275d1fa1a2fdc1c54358c1b51df96458fee2e64266f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a747bd2f4dc448797f32275d1fa1a2fdc1c54358c1b51df96458fee2e64266f5", kill_on_drop: false }` [INFO] [stdout] a747bd2f4dc448797f32275d1fa1a2fdc1c54358c1b51df96458fee2e64266f5