[INFO] fetching crate witgen_macro_helper 0.15.0...
[INFO] testing witgen_macro_helper-0.15.0 against 1.76.0 for beta-1.77-1
[INFO] extracting crate witgen_macro_helper 0.15.0 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate witgen_macro_helper 0.15.0 on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "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-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded aha-wit-parser v0.2.0
[INFO] [stderr]   Downloaded syn-file-expand v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 143d6bf3be799ed057f69b9318bc1333520c4540316e811a316c028007af593e
[INFO] running `Command { std: "docker" "start" "-a" "143d6bf3be799ed057f69b9318bc1333520c4540316e811a316c028007af593e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "143d6bf3be799ed057f69b9318bc1333520c4540316e811a316c028007af593e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "143d6bf3be799ed057f69b9318bc1333520c4540316e811a316c028007af593e", kill_on_drop: false }`
[INFO] [stdout] 143d6bf3be799ed057f69b9318bc1333520c4540316e811a316c028007af593e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 05eca47efd0cf4cd68b1d94343a9d4727139d167e58477d953056c4e1158fe5a
[INFO] running `Command { std: "docker" "start" "-a" "05eca47efd0cf4cd68b1d94343a9d4727139d167e58477d953056c4e1158fe5a", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling pulldown-cmark v0.8.0
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling id-arena v2.2.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling rand_xoshiro v0.6.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling im-rc v15.1.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling bitmaps v2.1.0
[INFO] [stderr]    Compiling aha-wit-parser v0.2.0
[INFO] [stderr]    Compiling sized-chunks v0.6.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[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 [unoptimized + debuginfo] target(s) in 4.16s
[INFO] running `Command { std: "docker" "inspect" "05eca47efd0cf4cd68b1d94343a9d4727139d167e58477d953056c4e1158fe5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05eca47efd0cf4cd68b1d94343a9d4727139d167e58477d953056c4e1158fe5a", kill_on_drop: false }`
[INFO] [stdout] 05eca47efd0cf4cd68b1d94343a9d4727139d167e58477d953056c4e1158fe5a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 117b2e43c0010a2bbc09618ff6cd4e689518c87a253b5731ac951e8c84d03af0
[INFO] running `Command { std: "docker" "start" "-a" "117b2e43c0010a2bbc09618ff6cd4e689518c87a253b5731ac951e8c84d03af0", kill_on_drop: false }`
[INFO] [stderr]    Compiling witgen_macro_helper v0.15.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.29s
[INFO] running `Command { std: "docker" "inspect" "117b2e43c0010a2bbc09618ff6cd4e689518c87a253b5731ac951e8c84d03af0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "117b2e43c0010a2bbc09618ff6cd4e689518c87a253b5731ac951e8c84d03af0", kill_on_drop: false }`
[INFO] [stdout] 117b2e43c0010a2bbc09618ff6cd4e689518c87a253b5731ac951e8c84d03af0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3c810418a580341a55b0cd1555092590fb70c7c4b9943430532feaf35213e468
[INFO] running `Command { std: "docker" "start" "-a" "3c810418a580341a55b0cd1555092590fb70c7c4b9943430532feaf35213e468", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/witgen_macro_helper-daf9632b35551719)
[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/generator.rs - generator::gen_wit_type_alias (line 188) ... FAILED
[INFO] [stdout] test src/generator.rs - generator::gen_wit_struct (line 15) ... 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_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/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/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/core/src/option.rs:570: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] ---- 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/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/string.rs:365: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/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/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/string.rs:365: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/07dca489ac2d933c78d3c5158e3f43beefeb02ce/library/alloc/src/string.rs:365:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named struct `String` defined here
[INFO] [stdout]   |
[INFO] [stdout] help: a struct with a similar name exists
[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] 
[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.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3c810418a580341a55b0cd1555092590fb70c7c4b9943430532feaf35213e468", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c810418a580341a55b0cd1555092590fb70c7c4b9943430532feaf35213e468", kill_on_drop: false }`
[INFO] [stdout] 3c810418a580341a55b0cd1555092590fb70c7c4b9943430532feaf35213e468
[INFO] testing witgen_macro_helper-0.15.0 against beta-2024-02-10 for beta-1.77-1
[INFO] extracting crate witgen_macro_helper 0.15.0 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate witgen_macro_helper 0.15.0 on toolchain beta-2024-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "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-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] da400da734c6fe3f50a9633eae202dc13d8c5ea1d6afb3ac921239028a41e5f7
[INFO] running `Command { std: "docker" "start" "-a" "da400da734c6fe3f50a9633eae202dc13d8c5ea1d6afb3ac921239028a41e5f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da400da734c6fe3f50a9633eae202dc13d8c5ea1d6afb3ac921239028a41e5f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da400da734c6fe3f50a9633eae202dc13d8c5ea1d6afb3ac921239028a41e5f7", kill_on_drop: false }`
[INFO] [stdout] da400da734c6fe3f50a9633eae202dc13d8c5ea1d6afb3ac921239028a41e5f7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0562e1978fae2d191bd998cc4f35e352d5860a2a46c1e54591de53cf26980bb5
[INFO] running `Command { std: "docker" "start" "-a" "0562e1978fae2d191bd998cc4f35e352d5860a2a46c1e54591de53cf26980bb5", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling anyhow v1.0.79
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]    Compiling pulldown-cmark v0.8.0
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling id-arena v2.2.1
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling rand_xoshiro v0.6.0
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling im-rc v15.1.0
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling bitmaps v2.1.0
[INFO] [stderr]    Compiling aha-wit-parser v0.2.0
[INFO] [stderr]    Compiling sized-chunks v0.6.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[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 [unoptimized + debuginfo] target(s) in 4.06s
[INFO] running `Command { std: "docker" "inspect" "0562e1978fae2d191bd998cc4f35e352d5860a2a46c1e54591de53cf26980bb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0562e1978fae2d191bd998cc4f35e352d5860a2a46c1e54591de53cf26980bb5", kill_on_drop: false }`
[INFO] [stdout] 0562e1978fae2d191bd998cc4f35e352d5860a2a46c1e54591de53cf26980bb5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dbbada845ad943ad31767fab944f7be2f8b16476a5f4c5e3d7c7318293d68cec
[INFO] running `Command { std: "docker" "start" "-a" "dbbada845ad943ad31767fab944f7be2f8b16476a5f4c5e3d7c7318293d68cec", kill_on_drop: false }`
[INFO] [stderr]    Compiling witgen_macro_helper v0.15.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.29s
[INFO] running `Command { std: "docker" "inspect" "dbbada845ad943ad31767fab944f7be2f8b16476a5f4c5e3d7c7318293d68cec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dbbada845ad943ad31767fab944f7be2f8b16476a5f4c5e3d7c7318293d68cec", kill_on_drop: false }`
[INFO] [stdout] dbbada845ad943ad31767fab944f7be2f8b16476a5f4c5e3d7c7318293d68cec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ad8a76e05256e59edca1d7860ee4a9c664a3865d79ced420c29bd8660f0b6dd5
[INFO] running `Command { std: "docker" "start" "-a" "ad8a76e05256e59edca1d7860ee4a9c664a3865d79ced420c29bd8660f0b6dd5", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/witgen_macro_helper-f50d1c71a5a395d3)
[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/generator.rs - generator::gen_wit_type_alias (line 188) ... FAILED
[INFO] [stdout] test src/generator.rs - generator::gen_wit_struct (line 15) ... FAILED
[INFO] [stdout] test src/generator.rs - generator::gen_wit_function (line 156) ... FAILED
[INFO] [stdout] test src/lib.rs - parse_tokens (line 23) ... 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/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/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/core/src/option.rs:570: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] ---- 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/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/string.rs:365: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_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/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/string.rs:365: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/f2048098a1ca42a520e7bed68e321a66edc0a1b1/library/alloc/src/string.rs:365:1
[INFO] [stdout]   |
[INFO] [stdout]   = note: similarly named struct `String` defined here
[INFO] [stdout]   |
[INFO] [stdout] help: a struct with a similar name exists
[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/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] 
[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.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ad8a76e05256e59edca1d7860ee4a9c664a3865d79ced420c29bd8660f0b6dd5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad8a76e05256e59edca1d7860ee4a9c664a3865d79ced420c29bd8660f0b6dd5", kill_on_drop: false }`
[INFO] [stdout] ad8a76e05256e59edca1d7860ee4a9c664a3865d79ced420c29bd8660f0b6dd5
