[INFO] fetching crate rustdown 0.0.1... [INFO] testing rustdown-0.0.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate rustdown 0.0.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rustdown 0.0.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rustdown 0.0.1 [INFO] tweaked toml for crates.io crate rustdown 0.0.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustdown 0.0.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rustdown 0.0.1 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.22.0 [INFO] [stderr] Downloaded rustdoc-types v0.38.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28ab506c81201cfac531860b2b806b626238a886fe84081b997d23270d0a1f8a [INFO] running `Command { std: "docker" "start" "-a" "28ab506c81201cfac531860b2b806b626238a886fe84081b997d23270d0a1f8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28ab506c81201cfac531860b2b806b626238a886fe84081b997d23270d0a1f8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28ab506c81201cfac531860b2b806b626238a886fe84081b997d23270d0a1f8a", kill_on_drop: false }` [INFO] [stdout] 28ab506c81201cfac531860b2b806b626238a886fe84081b997d23270d0a1f8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02495c65b450312bca56381673a6e7e1a530aab9e09b9936d16d6374b660390f [INFO] running `Command { std: "docker" "start" "-a" "02495c65b450312bca56381673a6e7e1a530aab9e09b9936d16d6374b660390f", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling rustdoc-types v0.38.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling rustdown v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.12s [INFO] running `Command { std: "docker" "inspect" "02495c65b450312bca56381673a6e7e1a530aab9e09b9936d16d6374b660390f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02495c65b450312bca56381673a6e7e1a530aab9e09b9936d16d6374b660390f", kill_on_drop: false }` [INFO] [stdout] 02495c65b450312bca56381673a6e7e1a530aab9e09b9936d16d6374b660390f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d6c89e86c2972a7991464ca2f84aa5faf344e85f6da7c6b6e3c1c7dd9e70674 [INFO] running `Command { std: "docker" "start" "-a" "5d6c89e86c2972a7991464ca2f84aa5faf344e85f6da7c6b6e3c1c7dd9e70674", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling rustdown v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> examples/find-refs.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | let rustdoc_json = generate_rustdoc_json( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: expected `&Path`, found `Option<&PathBuf>` [INFO] [stdout] --> examples/find-refs.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | Some(&crate_path.join("Cargo.toml")), // manifest_path [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected reference `&std::path::Path` [INFO] [stdout] found enum `Option<&PathBuf>` [INFO] [stdout] note: expected `&RootCrate`, found `Option<_>` [INFO] [stdout] --> examples/find-refs.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: expected reference `&RootCrate` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/rustdoc.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn generate_rustdoc_json( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustdown` (example "find-refs") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5d6c89e86c2972a7991464ca2f84aa5faf344e85f6da7c6b6e3c1c7dd9e70674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d6c89e86c2972a7991464ca2f84aa5faf344e85f6da7c6b6e3c1c7dd9e70674", kill_on_drop: false }` [INFO] [stdout] 5d6c89e86c2972a7991464ca2f84aa5faf344e85f6da7c6b6e3c1c7dd9e70674