[INFO] fetching crate betfair-typegen 0.5.0... [INFO] testing betfair-typegen-0.5.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate betfair-typegen 0.5.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate betfair-typegen 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate betfair-typegen 0.5.0 [INFO] tweaked toml for crates.io crate betfair-typegen 0.5.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate betfair-typegen 0.5.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate betfair-typegen 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded betfair-xml-parser v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b5006a7c60e756ef2a61045851dd427bed054d878422f8c8cf2009124299ba3 [INFO] running `Command { std: "docker" "start" "-a" "0b5006a7c60e756ef2a61045851dd427bed054d878422f8c8cf2009124299ba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b5006a7c60e756ef2a61045851dd427bed054d878422f8c8cf2009124299ba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b5006a7c60e756ef2a61045851dd427bed054d878422f8c8cf2009124299ba3", kill_on_drop: false }` [INFO] [stdout] 0b5006a7c60e756ef2a61045851dd427bed054d878422f8c8cf2009124299ba3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f1387e5f0a0fc732b36ee4152308fa30200781e9290c2d0891ee967fb491a48 [INFO] running `Command { std: "docker" "start" "-a" "2f1387e5f0a0fc732b36ee4152308fa30200781e9290c2d0891ee967fb491a48", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling xml-rs v0.8.24 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling typed-builder-macro v0.21.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling typed-builder v0.21.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde-xml-rs v0.6.0 [INFO] [stderr] Compiling betfair-xml-parser v0.5.0 [INFO] [stderr] Compiling betfair-typegen v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.49s [INFO] running `Command { std: "docker" "inspect" "2f1387e5f0a0fc732b36ee4152308fa30200781e9290c2d0891ee967fb491a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f1387e5f0a0fc732b36ee4152308fa30200781e9290c2d0891ee967fb491a48", kill_on_drop: false }` [INFO] [stdout] 2f1387e5f0a0fc732b36ee4152308fa30200781e9290c2d0891ee967fb491a48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7811aeef4d18f53b18d0520598fbb7ebace64dd36ed411de30f55a4524e5c1dd [INFO] running `Command { std: "docker" "start" "-a" "7811aeef4d18f53b18d0520598fbb7ebace64dd36ed411de30f55a4524e5c1dd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling typed-builder-macro v0.21.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling typed-builder v0.21.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proptest v1.6.0 [INFO] [stderr] Compiling rstest v0.25.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling serde-xml-rs v0.6.0 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling betfair-xml-parser v0.5.0 [INFO] [stderr] Compiling betfair-typegen v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> tests/e2e/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use betfair_typegen::{BetfairTypeGenerator, gen_v1}; [INFO] [stdout] 2 | | use rstest::rstest; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | #[rstest] [INFO] [stdout] ... | [INFO] [stdout] 27 | | assert_eq!(output.submodules().len(), 3); [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 28.80s [INFO] running `Command { std: "docker" "inspect" "7811aeef4d18f53b18d0520598fbb7ebace64dd36ed411de30f55a4524e5c1dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7811aeef4d18f53b18d0520598fbb7ebace64dd36ed411de30f55a4524e5c1dd", kill_on_drop: false }` [INFO] [stdout] 7811aeef4d18f53b18d0520598fbb7ebace64dd36ed411de30f55a4524e5c1dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 77c5f95006e762759b34bc55bfdcba6cd27f28f61dcfe3c62158c3b6a1a83319 [INFO] running `Command { std: "docker" "start" "-a" "77c5f95006e762759b34bc55bfdcba6cd27f28f61dcfe3c62158c3b6a1a83319", kill_on_drop: false }` [INFO] [stderr] warning: missing documentation for the crate [INFO] [stderr] --> tests/e2e/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / use betfair_typegen::{BetfairTypeGenerator, gen_v1}; [INFO] [stderr] 2 | | use rstest::rstest; [INFO] [stderr] 3 | | [INFO] [stderr] 4 | | #[rstest] [INFO] [stderr] ... | [INFO] [stderr] 27 | | assert_eq!(output.submodules().len(), 3); [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-W missing-docs` [INFO] [stderr] [INFO] [stderr] warning: `betfair-typegen` (test "e2e") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/betfair_typegen-307650129219440e) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test aping_ast::tests::parse_data_type ... ok [INFO] [stdout] test aping_ast::tests::parse_exception_type ... ok [INFO] [stdout] test aping_ast::tests::parse_operation_2 ... ok [INFO] [stdout] test aping_ast::tests::parse_operation ... ok [INFO] [stdout] test aping_ast::tests::parse_type_alias ... ok [INFO] [stdout] test aping_ast::tests::parse_data_type_2 ... ok [INFO] [stdout] test aping_ast::tests::parse_top_level_docs ... ok [INFO] [stdout] test aping_ast::tests::parse_simple_type_enum ... ok [INFO] [stdout] test gen_v1::data_types::test::test_generate_type_alias ... ok [INFO] [stdout] test gen_v1::data_types::test::test_generate_structure ... ok [INFO] [stdout] test gen_v1::documentation::test::module_docs ... ok [INFO] [stdout] test gen_v1::rpc_calls::test::test_generate_rpc_module_non_mandatory_parameter ... ok [INFO] [stdout] test gen_v1::rpc_calls::test::test_generate_rpc_module_mandatory_parameter ... ok [INFO] [stdout] test gen_v1::data_types::test::test_generate_enum_2 ... ok [INFO] [stdout] test gen_v1::type_resolver::tests::test_resolve_type ... ok [INFO] [stdout] test gen_v1::data_types::test::test_generate_enum ... ok [INFO] [stderr] Running tests/e2e/main.rs (/opt/rustwide/target/debug/deps/e2e-e3be8182c27e322d) [INFO] [stdout] test gen_v1::rpc_calls::test::generate_rpc_calls ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.57s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test assert_root_module ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s [INFO] [stdout] [INFO] [stderr] Doc-tests betfair_typegen [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/generator/output.rs - generator::output::GeneratedOutput::write_to_file (line 44) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/generator/output.rs - generator::output::GeneratedOutput::write_to_file (line 44) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GeneratedOutput` [INFO] [stdout] --> src/generator/output.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 4 | let output = GeneratedOutput::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `GeneratedOutput` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use betfair_typegen::output::GeneratedOutput; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/generator/output.rs - generator::output::GeneratedOutput::write_to_file (line 44) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.18s; merged doctests compilation took 0.09s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "77c5f95006e762759b34bc55bfdcba6cd27f28f61dcfe3c62158c3b6a1a83319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77c5f95006e762759b34bc55bfdcba6cd27f28f61dcfe3c62158c3b6a1a83319", kill_on_drop: false }` [INFO] [stdout] 77c5f95006e762759b34bc55bfdcba6cd27f28f61dcfe3c62158c3b6a1a83319