[INFO] fetching crate frankenstein 0.44.0... [INFO] testing frankenstein-0.44.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237 [INFO] extracting crate frankenstein 0.44.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate frankenstein 0.44.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate frankenstein 0.44.0 [INFO] tweaked toml for crates.io crate frankenstein 0.44.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate frankenstein 0.44.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate frankenstein 0.44.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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec8d7bc3e517597928455f1758b12c1a8433879702505dc4a0b71543ef5b89e2 [INFO] running `Command { std: "docker" "start" "-a" "ec8d7bc3e517597928455f1758b12c1a8433879702505dc4a0b71543ef5b89e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec8d7bc3e517597928455f1758b12c1a8433879702505dc4a0b71543ef5b89e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec8d7bc3e517597928455f1758b12c1a8433879702505dc4a0b71543ef5b89e2", kill_on_drop: false }` [INFO] [stdout] ec8d7bc3e517597928455f1758b12c1a8433879702505dc4a0b71543ef5b89e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 072c85afa405651a462a3e2d3c3274b03818433f4ae86f7f6a83841e22ce937c [INFO] running `Command { std: "docker" "start" "-a" "072c85afa405651a462a3e2d3c3274b03818433f4ae86f7f6a83841e22ce937c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling macro_rules_attribute v0.2.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling bon-macros v3.3.2 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling bon v3.3.2 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling frankenstein v0.44.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.59s [INFO] running `Command { std: "docker" "inspect" "072c85afa405651a462a3e2d3c3274b03818433f4ae86f7f6a83841e22ce937c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "072c85afa405651a462a3e2d3c3274b03818433f4ae86f7f6a83841e22ce937c", kill_on_drop: false }` [INFO] [stdout] 072c85afa405651a462a3e2d3c3274b03818433f4ae86f7f6a83841e22ce937c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61268cc606d8a444b88bfff44da4ea8aaa3a5a49f9612a197b10d4db619dbe4e [INFO] running `Command { std: "docker" "start" "-a" "61268cc606d8a444b88bfff44da4ea8aaa3a5a49f9612a197b10d4db619dbe4e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling cc v1.2.11 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling curl v0.4.47 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling isahc v1.7.2 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling castaway v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Compiling libz-sys v1.1.21 [INFO] [stderr] Compiling libnghttp2-sys v0.1.11+1.64.0 [INFO] [stderr] Compiling curl-sys v0.4.78+curl-8.11.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling pin-project v1.1.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling bon-macros v3.3.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bon v3.3.2 [INFO] [stderr] Compiling frankenstein v0.44.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling mockito v1.6.1 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "61268cc606d8a444b88bfff44da4ea8aaa3a5a49f9612a197b10d4db619dbe4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61268cc606d8a444b88bfff44da4ea8aaa3a5a49f9612a197b10d4db619dbe4e", kill_on_drop: false }` [INFO] [stdout] 61268cc606d8a444b88bfff44da4ea8aaa3a5a49f9612a197b10d4db619dbe4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a45c9ecd2f95c30fa181c8581d0c2528d9d3352f3c332a64c08aa179a607b7ee [INFO] running `Command { std: "docker" "start" "-a" "a45c9ecd2f95c30fa181c8581d0c2528d9d3352f3c332a64c08aa179a607b7ee", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/frankenstein-e94d3a57a66cbae4) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test parse_mode::serde_markdown_works ... ok [INFO] [stdout] test parse_mode::serde_html_works ... ok [INFO] [stdout] test test_json::assert_str_works ... ok [INFO] [stdout] test types::serde_tests::unknown_entity_kind_is_parsed ... ok [INFO] [stdout] test types::serde_tests::kicked_user_status_is_parsed ... ok [INFO] [stdout] test updates::serde_tests::update_content_is_flattened ... ok [INFO] [stdout] test test_json::assert_str_fails - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests frankenstein [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 123) ... ok [INFO] [stdout] test src/lib.rs - (line 91) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 63) ... ok [INFO] [stdout] test src/lib.rs - (line 81) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 91) stdout ---- [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/lib.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 27 | } _doctest_main_src_lib_rs_91_0() } [INFO] [stdout] | ^ consider adding a `main` function to `src/lib.rs` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 91) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a45c9ecd2f95c30fa181c8581d0c2528d9d3352f3c332a64c08aa179a607b7ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45c9ecd2f95c30fa181c8581d0c2528d9d3352f3c332a64c08aa179a607b7ee", kill_on_drop: false }` [INFO] [stdout] a45c9ecd2f95c30fa181c8581d0c2528d9d3352f3c332a64c08aa179a607b7ee