[INFO] fetching crate wasmer-wit-bindgen-gen-core 0.1.1... [INFO] testing wasmer-wit-bindgen-gen-core-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate wasmer-wit-bindgen-gen-core 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate wasmer-wit-bindgen-gen-core 0.1.1 [INFO] finished tweaking crates.io crate wasmer-wit-bindgen-gen-core 0.1.1 [INFO] tweaked toml for crates.io crate wasmer-wit-bindgen-gen-core 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wasmer-wit-bindgen-gen-core 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmer-wit-parser v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 190deec5ec2cf6723be33a2ab9e62806afb62dcb3619dadbb381c1f29c27b1fd [INFO] running `Command { std: "docker" "start" "-a" "190deec5ec2cf6723be33a2ab9e62806afb62dcb3619dadbb381c1f29c27b1fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "190deec5ec2cf6723be33a2ab9e62806afb62dcb3619dadbb381c1f29c27b1fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "190deec5ec2cf6723be33a2ab9e62806afb62dcb3619dadbb381c1f29c27b1fd", kill_on_drop: false }` [INFO] [stdout] 190deec5ec2cf6723be33a2ab9e62806afb62dcb3619dadbb381c1f29c27b1fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e26d7fe0e06afacac1678fc790181f6d6c78967e7a8d346d9aef2be715b52557 [INFO] running `Command { std: "docker" "start" "-a" "e26d7fe0e06afacac1678fc790181f6d6c78967e7a8d346d9aef2be715b52557", kill_on_drop: false }` [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling wasmer-wit-parser v0.1.1 [INFO] [stderr] Compiling wasmer-wit-bindgen-gen-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | drop((imports, exports)); [INFO] [stdout] | ^^^^^------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `(&[wasmer_wit_parser::Interface], &[wasmer_wit_parser::Interface])` [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] 44 - drop((imports, exports)); [INFO] [stdout] 44 + let _ = (imports, exports); [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:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | drop((iface, dir)); [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `(&wasmer_wit_parser::Interface, Direction)` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 48 - drop((iface, dir)); [INFO] [stdout] 48 + let _ = (iface, dir); [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:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | drop((iface, dir)); [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `(&wasmer_wit_parser::Interface, Direction)` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 153 - drop((iface, dir)); [INFO] [stdout] 153 + let _ = (iface, dir); [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:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | drop((iface, dir)); [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `(&wasmer_wit_parser::Interface, Direction)` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 158 - drop((iface, dir)); [INFO] [stdout] 158 + let _ = (iface, dir); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | drop(files); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Files` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 164 - drop(files); [INFO] [stdout] 164 + let _ = files; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.73s [INFO] running `Command { std: "docker" "inspect" "e26d7fe0e06afacac1678fc790181f6d6c78967e7a8d346d9aef2be715b52557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e26d7fe0e06afacac1678fc790181f6d6c78967e7a8d346d9aef2be715b52557", kill_on_drop: false }` [INFO] [stdout] e26d7fe0e06afacac1678fc790181f6d6c78967e7a8d346d9aef2be715b52557 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e510c1f2478c60bb3dd90c2658d36106099f9612804f09b4012f0afaf2c6fdb3 [INFO] running `Command { std: "docker" "start" "-a" "e510c1f2478c60bb3dd90c2658d36106099f9612804f09b4012f0afaf2c6fdb3", kill_on_drop: false }` [INFO] [stderr] Compiling wasmer-wit-bindgen-gen-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | drop((imports, exports)); [INFO] [stdout] | ^^^^^------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `(&[wasmer_wit_parser::Interface], &[wasmer_wit_parser::Interface])` [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] 44 - drop((imports, exports)); [INFO] [stdout] 44 + let _ = (imports, exports); [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:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | drop((iface, dir)); [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `(&wasmer_wit_parser::Interface, Direction)` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 48 - drop((iface, dir)); [INFO] [stdout] 48 + let _ = (iface, dir); [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:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | drop((iface, dir)); [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `(&wasmer_wit_parser::Interface, Direction)` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 153 - drop((iface, dir)); [INFO] [stdout] 153 + let _ = (iface, dir); [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:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | drop((iface, dir)); [INFO] [stdout] | ^^^^^------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `(&wasmer_wit_parser::Interface, Direction)` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 158 - drop((iface, dir)); [INFO] [stdout] 158 + let _ = (iface, dir); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/lib.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | drop(files); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut Files` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 164 - drop(files); [INFO] [stdout] 164 + let _ = files; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "e510c1f2478c60bb3dd90c2658d36106099f9612804f09b4012f0afaf2c6fdb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e510c1f2478c60bb3dd90c2658d36106099f9612804f09b4012f0afaf2c6fdb3", kill_on_drop: false }` [INFO] [stdout] e510c1f2478c60bb3dd90c2658d36106099f9612804f09b4012f0afaf2c6fdb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 53e0ebe247f66e76a1a88e29a4bac2e5b1951d1eedc053bfb899793938c0d428 [INFO] running `Command { std: "docker" "start" "-a" "53e0ebe247f66e76a1a88e29a4bac2e5b1951d1eedc053bfb899793938c0d428", kill_on_drop: false }` [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/lib.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | drop((imports, exports)); [INFO] [stderr] | ^^^^^------------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `(&[wasmer_wit_parser::Interface], &[wasmer_wit_parser::Interface])` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 44 - drop((imports, exports)); [INFO] [stderr] 44 + let _ = (imports, exports); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/lib.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | drop((iface, dir)); [INFO] [stderr] | ^^^^^------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `(&wasmer_wit_parser::Interface, Direction)` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 48 - drop((iface, dir)); [INFO] [stderr] 48 + let _ = (iface, dir); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/lib.rs:153:9 [INFO] [stderr] | [INFO] [stderr] 153 | drop((iface, dir)); [INFO] [stderr] | ^^^^^------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `(&wasmer_wit_parser::Interface, Direction)` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 153 - drop((iface, dir)); [INFO] [stderr] 153 + let _ = (iface, dir); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stderr] --> src/lib.rs:158:9 [INFO] [stderr] | [INFO] [stderr] 158 | drop((iface, dir)); [INFO] [stderr] | ^^^^^------------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `(&wasmer_wit_parser::Interface, Direction)` [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 158 - drop((iface, dir)); [INFO] [stderr] 158 + let _ = (iface, dir); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/lib.rs:164:9 [INFO] [stderr] | [INFO] [stderr] 164 | drop(files); [INFO] [stderr] | ^^^^^-----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut Files` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 164 - drop(files); [INFO] [stderr] 164 + let _ = files; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `wasmer-wit-bindgen-gen-core` (lib test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wasmer_wit_bindgen_gen_core-aaff0c43db042cc8) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::generator_is_object_safe ... ok [INFO] [stdout] test tests::simple_append ... ok [INFO] [stdout] test tests::newline_remap ... ok [INFO] [stdout] test tests::trim_ws ... ok [INFO] [stdout] test tests::if_else ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "53e0ebe247f66e76a1a88e29a4bac2e5b1951d1eedc053bfb899793938c0d428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53e0ebe247f66e76a1a88e29a4bac2e5b1951d1eedc053bfb899793938c0d428", kill_on_drop: false }` [INFO] [stdout] 53e0ebe247f66e76a1a88e29a4bac2e5b1951d1eedc053bfb899793938c0d428