[INFO] fetching crate witgen_macro_helper 0.15.0...
[INFO] testing witgen_macro_helper-0.15.0 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate witgen_macro_helper 0.15.0 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate witgen_macro_helper 0.15.0 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate witgen_macro_helper 0.15.0
[INFO] finished tweaking crates.io crate witgen_macro_helper 0.15.0
[INFO] tweaked toml for crates.io crate witgen_macro_helper 0.15.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 29 packages to latest compatible versions
[INFO] [stderr]       Adding heck v0.4.1 (available: v0.5.0)
[INFO] [stderr]       Adding syn v1.0.109 (available: v2.0.86)
[INFO] [stderr]       Adding syn-file-expand v0.2.0 (available: v0.3.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e3e03348445e23f821359cc56f53246e10ab2f7ee5fb658ce78b4ef7b56474de
[INFO] running `Command { std: "docker" "start" "-a" "e3e03348445e23f821359cc56f53246e10ab2f7ee5fb658ce78b4ef7b56474de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e3e03348445e23f821359cc56f53246e10ab2f7ee5fb658ce78b4ef7b56474de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3e03348445e23f821359cc56f53246e10ab2f7ee5fb658ce78b4ef7b56474de", kill_on_drop: false }`
[INFO] [stdout] e3e03348445e23f821359cc56f53246e10ab2f7ee5fb658ce78b4ef7b56474de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 90f57e610ad94f5a2381d9be3affd3ec189ccbec7b40bb68da5b36aaaf94bab0
[INFO] running `Command { std: "docker" "start" "-a" "90f57e610ad94f5a2381d9be3affd3ec189ccbec7b40bb68da5b36aaaf94bab0", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling thiserror v1.0.66
[INFO] [stderr]    Compiling pulldown-cmark v0.8.0
[INFO] [stderr]    Compiling anyhow v1.0.92
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling id-arena v2.2.1
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling bitmaps v2.1.0
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling rand_xoshiro v0.6.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling im-rc v15.1.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling sized-chunks v0.6.5
[INFO] [stderr]    Compiling syn v2.0.86
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling aha-wit-parser v0.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling syn-file-expand v0.2.0
[INFO] [stderr]    Compiling witgen_macro_helper v0.15.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.11s
[INFO] running `Command { std: "docker" "inspect" "90f57e610ad94f5a2381d9be3affd3ec189ccbec7b40bb68da5b36aaaf94bab0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90f57e610ad94f5a2381d9be3affd3ec189ccbec7b40bb68da5b36aaaf94bab0", kill_on_drop: false }`
[INFO] [stdout] 90f57e610ad94f5a2381d9be3affd3ec189ccbec7b40bb68da5b36aaaf94bab0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 65e93dca5db8bbd0bdb316ec6ed3728c85df46afe5c453a98e30f2b93d488108
[INFO] running `Command { std: "docker" "start" "-a" "65e93dca5db8bbd0bdb316ec6ed3728c85df46afe5c453a98e30f2b93d488108", kill_on_drop: false }`
[INFO] [stderr]    Compiling witgen_macro_helper v0.15.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] running `Command { std: "docker" "inspect" "65e93dca5db8bbd0bdb316ec6ed3728c85df46afe5c453a98e30f2b93d488108", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65e93dca5db8bbd0bdb316ec6ed3728c85df46afe5c453a98e30f2b93d488108", kill_on_drop: false }`
[INFO] [stdout] 65e93dca5db8bbd0bdb316ec6ed3728c85df46afe5c453a98e30f2b93d488108
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 47f82485ab023a1580de8b5aed508d76b7be89682a9392fe494faf694ce6ecce
[INFO] running `Command { std: "docker" "start" "-a" "47f82485ab023a1580de8b5aed508d76b7be89682a9392fe494faf694ce6ecce", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/witgen_macro_helper-9d8c9f17868d7297)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[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] [stderr]    Doc-tests witgen_macro_helper
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test src/lib.rs - parse_file (line 69) ... FAILED
[INFO] [stdout] test src/lib.rs - parse_tokens (line 23) ... FAILED
[INFO] [stdout] test src/generator.rs - generator::gen_wit_function (line 156) ... FAILED
[INFO] [stdout] test src/generator.rs - generator::gen_wit_struct (line 15) ... FAILED
[INFO] [stdout] test src/generator.rs - generator::gen_wit_type_alias (line 188) ... FAILED
[INFO] [stdout] test src/generator.rs - generator::gen_wit_enum (line 75) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - parse_file (line 69) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `Wit` in this scope
[INFO] [stdout]  --> src/lib.rs:70:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | let wit: Wit = file.into();
[INFO] [stdout]   |          ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use witgen_macro_helper::Wit;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found macro `file`
[INFO] [stdout]  --> src/lib.rs:70:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let wit: Wit = file.into();
[INFO] [stdout]   |                ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0423.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - parse_tokens (line 23) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]  --> src/lib.rs:24:41
[INFO] [stdout]   |
[INFO] [stdout] 3 | let wit: Result<Wit> = tokens.try_into()
[INFO] [stdout]   |                                         ^ help: add `;` here
[INFO] [stdout] 4 | } _doctest_main_src_lib_rs_23_0() }
[INFO] [stdout]   | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Wit` in this scope
[INFO] [stdout]  --> src/lib.rs:24:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let wit: Result<Wit> = tokens.try_into()
[INFO] [stdout]   |                 ^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use witgen_macro_helper::Wit;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tokens` in this scope
[INFO] [stdout]  --> src/lib.rs:24:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | let wit: Result<Wit> = tokens.try_into()
[INFO] [stdout]   |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/lib.rs:24:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | let wit: Result<Wit> = tokens.try_into()
[INFO] [stdout]   |          ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]   |          |
[INFO] [stdout]   |          expected 2 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 3 | let wit: Result<Wit, E> = tokens.try_into()
[INFO] [stdout]   |                    +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/generator.rs - generator::gen_wit_function (line 156) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `string` in this scope
[INFO] [stdout]  --> src/generator.rs:158:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn foo(a: string, b: Option<i32>) -> Result<string> { Ok(a)}
[INFO] [stdout]   |           ^^^^^^ help: a struct with a similar name exists (notice the capitalization): `String`
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/string.rs:362:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `string` in this scope
[INFO] [stdout]  --> src/generator.rs:158:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn foo(a: string, b: Option<i32>) -> Result<string> { Ok(a)}
[INFO] [stdout]   |                                             ^^^^^^
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/string.rs:362:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named struct `String` defined here
[INFO] [stdout]   |
[INFO] [stdout] help: a struct with a similar name exists (notice the capitalization difference)
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn foo(a: string, b: Option<i32>) -> Result<String> { Ok(a)}
[INFO] [stdout]   |                                             ~~~~~~
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn foo<string>(a: string, b: Option<i32>) -> Result<string> { Ok(a)}
[INFO] [stdout]   |       ++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]  --> src/generator.rs:158:38
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn foo(a: string, b: Option<i32>) -> Result<string> { Ok(a)}
[INFO] [stdout]   |                                      ^^^^^^ ------ supplied 1 generic argument
[INFO] [stdout]   |                                      |
[INFO] [stdout]   |                                      expected 2 generic arguments
[INFO] [stdout]   |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn foo(a: string, b: Option<i32>) -> Result<string, E> { Ok(a)}
[INFO] [stdout]   |                                                   +++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/generator.rs - generator::gen_wit_struct (line 15) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `string` in this scope
[INFO] [stdout]  --> src/generator.rs:18:7
[INFO] [stdout]   |
[INFO] [stdout] 5 |    a: string,
[INFO] [stdout]   |       ^^^^^^ help: a struct with a similar name exists (notice the capitalization): `String`
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/alloc/src/string.rs:362:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named struct `String` defined here
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/generator.rs - generator::gen_wit_type_alias (line 188) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `option` in this scope
[INFO] [stdout]  --> src/generator.rs:190:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | type foo = (String, option<bool>);
[INFO] [stdout]   |                     ^^^^^^ help: an enum with a similar name exists (notice the capitalization): `Option`
[INFO] [stdout]  --> /rustc/df4ca44d3fbc9301ee17f30f4d474e6ae4b05252/library/core/src/option.rs:571:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named enum `Option` defined here
[INFO] [stdout] 
[INFO] [stdout] warning: type `foo` should have an upper camel case name
[INFO] [stdout]  --> src/generator.rs:190:6
[INFO] [stdout]   |
[INFO] [stdout] 4 | type foo = (String, option<bool>);
[INFO] [stdout]   |      ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Foo`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/generator.rs - generator::gen_wit_function (line 156)
[INFO] [stdout]     src/generator.rs - generator::gen_wit_struct (line 15)
[INFO] [stdout]     src/generator.rs - generator::gen_wit_type_alias (line 188)
[INFO] [stdout]     src/lib.rs - parse_file (line 69)
[INFO] [stdout]     src/lib.rs - parse_tokens (line 23)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "47f82485ab023a1580de8b5aed508d76b7be89682a9392fe494faf694ce6ecce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47f82485ab023a1580de8b5aed508d76b7be89682a9392fe494faf694ce6ecce", kill_on_drop: false }`
[INFO] [stdout] 47f82485ab023a1580de8b5aed508d76b7be89682a9392fe494faf694ce6ecce
