[INFO] fetching crate wai-bindgen-gen-c 0.2.3... [INFO] checking wai-bindgen-gen-c-0.2.3 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate wai-bindgen-gen-c 0.2.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate wai-bindgen-gen-c 0.2.3 [INFO] finished tweaking crates.io crate wai-bindgen-gen-c 0.2.3 [INFO] tweaked toml for crates.io crate wai-bindgen-gen-c 0.2.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wai-bindgen-gen-c 0.2.3 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages to latest compatible versions [INFO] [stderr] Adding heck v0.3.3 (available: v0.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1575ebbf3aec24e2a49a53440367b285a8b0153e284c83fa6457b493ab542377 [INFO] running `Command { std: "docker" "start" "-a" "1575ebbf3aec24e2a49a53440367b285a8b0153e284c83fa6457b493ab542377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1575ebbf3aec24e2a49a53440367b285a8b0153e284c83fa6457b493ab542377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1575ebbf3aec24e2a49a53440367b285a8b0153e284c83fa6457b493ab542377", kill_on_drop: false }` [INFO] [stdout] 1575ebbf3aec24e2a49a53440367b285a8b0153e284c83fa6457b493ab542377 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f048a5794454fbaa7ab529f65652efc171ea2badf8ff05ee2fa1ed37859a647d [INFO] running `Command { std: "docker" "start" "-a" "f048a5794454fbaa7ab529f65652efc171ea2badf8ff05ee2fa1ed37859a647d", kill_on_drop: false }` [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling wai-bindgen-gen-c v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking wai-parser v0.2.3 [INFO] [stderr] Checking wai-bindgen-gen-core v0.2.3 [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:946:9 [INFO] [stdout] | [INFO] [stdout] 946 | drop((iface, ty)); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `(&wai_bindgen_gen_core::wai_parser::Interface, id_arena::Id)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 946 - drop((iface, ty)); [INFO] [stdout] 946 + let _ = (iface, ty); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:976:9 [INFO] [stdout] | [INFO] [stdout] 976 | drop((iface, _id, name, ty, docs)); [INFO] [stdout] | ^^^^^----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `(&Interface, Id, &str, &Type, &Docs)` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wai_bindgen_gen_c-4ff356ad5486bc2b.long-type-12874171803414606170.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 976 - drop((iface, _id, name, ty, docs)); [INFO] [stdout] 976 + let _ = (iface, _id, name, ty, docs); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helpers` [INFO] [stdout] --> tests/codegen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | test_helpers::codegen_c_import!( [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helpers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_helpers` [INFO] [stdout] --> tests/codegen.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | test_helpers::codegen_c_export!( [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_helpers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:946:9 [INFO] [stdout] | [INFO] [stdout] 946 | drop((iface, ty)); [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `(&wai_bindgen_gen_core::wai_parser::Interface, id_arena::Id)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 946 - drop((iface, ty)); [INFO] [stdout] 946 + let _ = (iface, ty); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:976:9 [INFO] [stdout] | [INFO] [stdout] 976 | drop((iface, _id, name, ty, docs)); [INFO] [stdout] | ^^^^^----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `(&Interface, Id, &str, &Type, &Docs)` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wai_bindgen_gen_c-1e046d3b43750eca.long-type-3811412176136892735.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 976 - drop((iface, _id, name, ty, docs)); [INFO] [stdout] 976 + let _ = (iface, _id, name, ty, docs); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wai-bindgen-gen-c` (test "codegen") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f048a5794454fbaa7ab529f65652efc171ea2badf8ff05ee2fa1ed37859a647d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f048a5794454fbaa7ab529f65652efc171ea2badf8ff05ee2fa1ed37859a647d", kill_on_drop: false }` [INFO] [stdout] f048a5794454fbaa7ab529f65652efc171ea2badf8ff05ee2fa1ed37859a647d