[INFO] fetching crate mdbook-gitinfo 0.1.2... [INFO] testing mdbook-gitinfo-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate mdbook-gitinfo 0.1.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate mdbook-gitinfo 0.1.2 [INFO] finished tweaking crates.io crate mdbook-gitinfo 0.1.2 [INFO] tweaked toml for crates.io crate mdbook-gitinfo 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mdbook-gitinfo 0.1.2 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 mdbook-gitinfo 0.1.2 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ammonia v4.1.0 [INFO] [stderr] Downloaded markup5ever v0.16.2 [INFO] [stderr] Downloaded opener v0.8.2 [INFO] [stderr] Downloaded html5ever v0.31.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3df7157a970c0d01fd535325e78deea6f767e81e4f279e5d478ab04afc1d16b4 [INFO] running `Command { std: "docker" "start" "-a" "3df7157a970c0d01fd535325e78deea6f767e81e4f279e5d478ab04afc1d16b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3df7157a970c0d01fd535325e78deea6f767e81e4f279e5d478ab04afc1d16b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3df7157a970c0d01fd535325e78deea6f767e81e4f279e5d478ab04afc1d16b4", kill_on_drop: false }` [INFO] [stdout] 3df7157a970c0d01fd535325e78deea6f767e81e4f279e5d478ab04afc1d16b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 1fe3df505c18fe538e6e8caf3ba64844ab0e5866fe2c6576897c79d7cae148f6 [INFO] running `Command { std: "docker" "start" "-a" "1fe3df505c18fe538e6e8caf3ba64844ab0e5866fe2c6576897c79d7cae148f6", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling inotify v0.11.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling pulldown-cmark v0.10.3 [INFO] [stderr] Compiling notify-types v2.0.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num-modular v0.6.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling notify v8.0.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling pulldown-cmark-escape v0.10.1 [INFO] [stderr] Compiling web_atoms v0.1.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling topological-sort v0.2.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling num-order v1.2.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling notify-debouncer-mini v0.6.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling opener v0.8.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling clap_complete v4.5.54 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cssparser v0.35.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling elasticlunr-rs v3.0.2 [INFO] [stderr] Compiling handlebars v6.3.2 [INFO] [stderr] Compiling markup5ever v0.16.2 [INFO] [stderr] Compiling html5ever v0.31.0 [INFO] [stderr] Compiling ammonia v4.1.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling mdbook v0.4.51 [INFO] [stderr] Compiling mdbook-gitinfo v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `format` is never read [INFO] [stdout] --> src/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GitInfoConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 17 | /// The formatting style of the git data (not currently used in logic). [INFO] [stdout] 18 | pub format: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitInfoConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "1fe3df505c18fe538e6e8caf3ba64844ab0e5866fe2c6576897c79d7cae148f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fe3df505c18fe538e6e8caf3ba64844ab0e5866fe2c6576897c79d7cae148f6", kill_on_drop: false }` [INFO] [stdout] 1fe3df505c18fe538e6e8caf3ba64844ab0e5866fe2c6576897c79d7cae148f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e634633f149f631f3890b2566b85b70a0b425d84a9c9efc5c193cb659714f118 [INFO] running `Command { std: "docker" "start" "-a" "e634633f149f631f3890b2566b85b70a0b425d84a9c9efc5c193cb659714f118", kill_on_drop: false }` [INFO] [stderr] Compiling mdbook-gitinfo v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `toml` [INFO] [stdout] --> src/config.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | use toml::Value; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `toml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `toml`, use `cargo add toml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/config.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `toml` [INFO] [stdout] --> src/config.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 77 | let parsed: toml::Value = toml::from_str(toml).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `toml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `toml`, use `cargo add toml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `mdbook::preprocess::PreprocessorContext: Default` is not satisfied [INFO] [stdout] --> src/config.rs:82:15 [INFO] [stdout] | [INFO] [stdout] 82 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `mdbook::preprocess::PreprocessorContext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/main.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | let output = render_template( [INFO] [stdout] | ______________________^^^^^^^^^^^^^^^- [INFO] [stdout] 239 | | "Commit: {{hash}} on {{date}}", [INFO] [stdout] 240 | | "abcd123", [INFO] [stdout] 241 | | "", [INFO] [stdout] ... | [INFO] [stdout] 244 | | "|", [INFO] [stdout] 245 | | ); [INFO] [stdout] | |_________- argument #7 of type `&str` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn render_template( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | branch: &str, [INFO] [stdout] | ------------ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 245 | let output = render_template( [INFO] [stdout] ... [INFO] [stdout] 251 | "|", [INFO] [stdout] 252 ~ /* &str */, [INFO] [stdout] 253 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `toml` [INFO] [stdout] --> src/config.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let parsed: toml::Value = toml::from_str(toml).unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `toml` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `toml`, use `cargo add toml` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mdbook-gitinfo` (bin "mdbook-gitinfo" test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e634633f149f631f3890b2566b85b70a0b425d84a9c9efc5c193cb659714f118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e634633f149f631f3890b2566b85b70a0b425d84a9c9efc5c193cb659714f118", kill_on_drop: false }` [INFO] [stdout] e634633f149f631f3890b2566b85b70a0b425d84a9c9efc5c193cb659714f118