[INFO] fetching crate witgen 0.15.0... [INFO] testing witgen-0.15.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate witgen 0.15.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate witgen 0.15.0 [INFO] finished tweaking crates.io crate witgen 0.15.0 [INFO] tweaked toml for crates.io crate witgen 0.15.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate witgen 0.15.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 88 packages to latest compatible versions [INFO] [stderr] Adding k9 v0.11.6 (available: v0.12.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded witgen_macro_helper v0.15.0 [INFO] [stderr] Downloaded syn-file-expand v0.2.0 [INFO] [stderr] Downloaded aha-wit-parser v0.2.0 [INFO] [stderr] Downloaded colored v1.9.4 [INFO] [stderr] Downloaded clap-cargo v0.9.1 [INFO] [stderr] Downloaded k9 v0.11.6 [INFO] [stderr] Downloaded witgen_macro v0.15.0 [INFO] [stderr] Downloaded pulldown-cmark v0.8.0 [INFO] [stderr] Downloaded clap-cargo-extra v0.1.0 [INFO] [stderr] Downloaded cargo-witgen v0.15.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 121d517a4304901761ebc9cff4c215d4ef314b048385b90cc590af0484189c8a [INFO] running `Command { std: "docker" "start" "-a" "121d517a4304901761ebc9cff4c215d4ef314b048385b90cc590af0484189c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "121d517a4304901761ebc9cff4c215d4ef314b048385b90cc590af0484189c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "121d517a4304901761ebc9cff4c215d4ef314b048385b90cc590af0484189c8a", kill_on_drop: false }` [INFO] [stdout] 121d517a4304901761ebc9cff4c215d4ef314b048385b90cc590af0484189c8a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a8833b7147cc2c8450ba2c2ca60063d994a2399aafbd7df3eb01bb13a9b13bd [INFO] running `Command { std: "docker" "start" "-a" "7a8833b7147cc2c8450ba2c2ca60063d994a2399aafbd7df3eb01bb13a9b13bd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling aha-wit-parser v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling syn-file-expand v0.2.0 [INFO] [stderr] Compiling witgen_macro_helper v0.15.0 [INFO] [stderr] Compiling witgen_macro v0.15.0 [INFO] [stderr] Compiling witgen v0.15.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.71s [INFO] running `Command { std: "docker" "inspect" "7a8833b7147cc2c8450ba2c2ca60063d994a2399aafbd7df3eb01bb13a9b13bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a8833b7147cc2c8450ba2c2ca60063d994a2399aafbd7df3eb01bb13a9b13bd", kill_on_drop: false }` [INFO] [stdout] 7a8833b7147cc2c8450ba2c2ca60063d994a2399aafbd7df3eb01bb13a9b13bd [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cf219886ab4d87069e8e529c6b9e3ee3f0630659b1e574314cedf08edccbf25 [INFO] running `Command { std: "docker" "start" "-a" "4cf219886ab4d87069e8e529c6b9e3ee3f0630659b1e574314cedf08edccbf25", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling im-rc v15.1.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling aha-wit-parser v0.2.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling syn-file-expand v0.2.0 [INFO] [stderr] Compiling witgen_macro_helper v0.15.0 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling witgen_macro v0.15.0 [INFO] [stderr] Compiling witgen v0.15.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling k9 v0.11.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling cargo_metadata v0.15.4 [INFO] [stderr] Compiling clap-cargo v0.9.1 [INFO] [stderr] Compiling clap-cargo-extra v0.1.0 [INFO] [stderr] Compiling cargo-witgen v0.15.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.87s [INFO] running `Command { std: "docker" "inspect" "4cf219886ab4d87069e8e529c6b9e3ee3f0630659b1e574314cedf08edccbf25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cf219886ab4d87069e8e529c6b9e3ee3f0630659b1e574314cedf08edccbf25", kill_on_drop: false }` [INFO] [stdout] 4cf219886ab4d87069e8e529c6b9e3ee3f0630659b1e574314cedf08edccbf25 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e654910f723dd3a478c70edf4042332d85fc6d77bb1c0ad75823b5f8f96eba6 [INFO] running `Command { std: "docker" "start" "-a" "6e654910f723dd3a478c70edf4042332d85fc6d77bb1c0ad75823b5f8f96eba6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/witgen-d0efcc1b79e8d5d0) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-2ae65f254daea308) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test floats ... ok [INFO] [stdout] test test_diff ... FAILED [INFO] [stdout] test enum_simple ... ok [INFO] [stdout] test enum_complicated ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_diff stdout ---- [INFO] [stdout] Error: input "examples/my_witgen_example/src/lib.rs" doesn't exist [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error::::msg [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/src/backtrace.rs:27:14 [INFO] [stdout] 1: cargo_witgen::app::Witgen::read_input [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cargo-witgen-0.15.0/src/app.rs:109:13 [INFO] [stdout] 2: cargo_witgen::app::Witgen::gen_static_from_path [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cargo-witgen-0.15.0/src/app.rs:98:52 [INFO] [stdout] 3: test::test_diff [INFO] [stdout] at ./tests/test.rs:59:15 [INFO] [stdout] 4: test::test_diff::{{closure}} [INFO] [stdout] at ./tests/test.rs:58:19 [INFO] [stdout] 5: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 6: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 7: test::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:663:18 [INFO] [stdout] 8: test::run_test_in_process::{{closure}} [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:74 [INFO] [stdout] 9: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 10: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 11: std::panicking::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 12: std::panic::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 13: test::run_test_in_process [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:27 [INFO] [stdout] 14: test::run_test::{{closure}} [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:607:43 [INFO] [stdout] 15: test::run_test::{{closure}} [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:637:41 [INFO] [stdout] 16: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 17: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 18: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 19: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 20: std::panicking::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 21: std::panic::catch_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 22: std::thread::Builder::spawn_unchecked_::{{closure}} [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 23: core::ops::function::FnOnce::call_once{{vtable.shim}} [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: as core::ops::function::FnOnce>::call_once [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 25: std::sys::pal::unix::thread::Thread::new::thread_start [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 26: [INFO] [stdout] 27: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_diff [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test test` [INFO] running `Command { std: "docker" "inspect" "6e654910f723dd3a478c70edf4042332d85fc6d77bb1c0ad75823b5f8f96eba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e654910f723dd3a478c70edf4042332d85fc6d77bb1c0ad75823b5f8f96eba6", kill_on_drop: false }` [INFO] [stdout] 6e654910f723dd3a478c70edf4042332d85fc6d77bb1c0ad75823b5f8f96eba6