[INFO] fetching crate wai-bindgen-gen-c 0.2.3... [INFO] checking wai-bindgen-gen-c-0.2.3 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate wai-bindgen-gen-c 0.2.3 into /workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wai-bindgen-gen-c 0.2.3 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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] 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3105a4b88657aeee7445d86b756c7884f8f798d755eb60b9956af8a2ec56eb0 [INFO] running `Command { std: "docker" "start" "-a" "a3105a4b88657aeee7445d86b756c7884f8f798d755eb60b9956af8a2ec56eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3105a4b88657aeee7445d86b756c7884f8f798d755eb60b9956af8a2ec56eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3105a4b88657aeee7445d86b756c7884f8f798d755eb60b9956af8a2ec56eb0", kill_on_drop: false }` [INFO] [stdout] a3105a4b88657aeee7445d86b756c7884f8f798d755eb60b9956af8a2ec56eb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82d364deefab307cc2e1d8bdef134e3885973a56ec153a3787b0aa8197f0244a [INFO] running `Command { std: "docker" "start" "-a" "82d364deefab307cc2e1d8bdef134e3885973a56ec153a3787b0aa8197f0244a", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking id-arena v2.2.1 [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-5738141805434778463.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] [stderr] warning: build failed, waiting for other jobs to finish... [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-16130864674707198815.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] running `Command { std: "docker" "inspect" "82d364deefab307cc2e1d8bdef134e3885973a56ec153a3787b0aa8197f0244a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82d364deefab307cc2e1d8bdef134e3885973a56ec153a3787b0aa8197f0244a", kill_on_drop: false }` [INFO] [stdout] 82d364deefab307cc2e1d8bdef134e3885973a56ec153a3787b0aa8197f0244a