[INFO] fetching crate wai-bindgen-gen-c 0.2.3... [INFO] building wai-bindgen-gen-c-0.2.3 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate wai-bindgen-gen-c 0.2.3 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wai-bindgen-gen-c 0.2.3 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 756ae43d0063a931bd056a2d98bea812dcb97b7c675dd5bcd3259a226359db36 [INFO] running `Command { std: "docker" "start" "-a" "756ae43d0063a931bd056a2d98bea812dcb97b7c675dd5bcd3259a226359db36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "756ae43d0063a931bd056a2d98bea812dcb97b7c675dd5bcd3259a226359db36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "756ae43d0063a931bd056a2d98bea812dcb97b7c675dd5bcd3259a226359db36", kill_on_drop: false }` [INFO] [stdout] 756ae43d0063a931bd056a2d98bea812dcb97b7c675dd5bcd3259a226359db36 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1899b1a3f202c2e240396ac05dc8cccaeca0e51e38ea85857e63c53de9a60ec3 [INFO] running `Command { std: "docker" "start" "-a" "1899b1a3f202c2e240396ac05dc8cccaeca0e51e38ea85857e63c53de9a60ec3", kill_on_drop: false }` [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling wai-bindgen-gen-c v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling wai-parser v0.2.3 [INFO] [stderr] Compiling 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-0646272ccf2473ef.long-type-10876750829642746966.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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.81s [INFO] running `Command { std: "docker" "inspect" "1899b1a3f202c2e240396ac05dc8cccaeca0e51e38ea85857e63c53de9a60ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1899b1a3f202c2e240396ac05dc8cccaeca0e51e38ea85857e63c53de9a60ec3", kill_on_drop: false }` [INFO] [stdout] 1899b1a3f202c2e240396ac05dc8cccaeca0e51e38ea85857e63c53de9a60ec3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c589176a93f452d36c2c619ea5b978e5ef9f95ce2d0c72ae7b8c52f2466a7f7c [INFO] running `Command { std: "docker" "start" "-a" "c589176a93f452d36c2c619ea5b978e5ef9f95ce2d0c72ae7b8c52f2466a7f7c", kill_on_drop: false }` [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] [stderr] Compiling wai-bindgen-gen-c v0.2.3 (/opt/rustwide/workdir) [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-0646272ccf2473ef.long-type-10876750829642746966.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] 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] running `Command { std: "docker" "inspect" "c589176a93f452d36c2c619ea5b978e5ef9f95ce2d0c72ae7b8c52f2466a7f7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c589176a93f452d36c2c619ea5b978e5ef9f95ce2d0c72ae7b8c52f2466a7f7c", kill_on_drop: false }` [INFO] [stdout] c589176a93f452d36c2c619ea5b978e5ef9f95ce2d0c72ae7b8c52f2466a7f7c