[INFO] cloning repository https://github.com/ivanceras/spongedown [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ivanceras/spongedown" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fspongedown", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fspongedown'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 297c6667a8df2ddfc998c0a47bad658e149efd7f [INFO] checking ivanceras/spongedown against try#ae258e1fcbee4a062f5f3d869f06004d7cea088e for pr-135272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fspongedown" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ivanceras/spongedown on toolchain ae258e1fcbee4a062f5f3d869f06004d7cea088e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ivanceras/spongedown [INFO] finished tweaking git repo https://github.com/ivanceras/spongedown [INFO] tweaked toml for git repo https://github.com/ivanceras/spongedown written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 185 packages to latest compatible versions [INFO] [stderr] Adding comrak v0.8.2 (available: v0.33.0) [INFO] [stderr] Adding svgbob v0.5.5 (available: v0.7.5) [INFO] [stderr] Adding syntect v4.6.0 (available: v5.2.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.11) [INFO] [stderr] Adding typed-arena v1.7.0 (available: v2.0.2) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.4) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sauron-parse v0.40.0 [INFO] [stderr] Downloaded sauron-node-macro v0.40.0 [INFO] [stderr] Downloaded svgbob v0.5.5 [INFO] [stderr] Downloaded syn-rsx v0.8.1 [INFO] [stderr] Downloaded mt-dom v0.10.0 [INFO] [stderr] Downloaded sauron-core v0.40.0 [INFO] [stderr] Downloaded parry2d v0.6.0 [INFO] [stderr] Downloaded sauron v0.40.0 [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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26eb6357fa8cf3d43fde25f52104f8bec51cff7c3da674a09af4380c5b64fc65 [INFO] running `Command { std: "docker" "start" "-a" "26eb6357fa8cf3d43fde25f52104f8bec51cff7c3da674a09af4380c5b64fc65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26eb6357fa8cf3d43fde25f52104f8bec51cff7c3da674a09af4380c5b64fc65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26eb6357fa8cf3d43fde25f52104f8bec51cff7c3da674a09af4380c5b64fc65", kill_on_drop: false }` [INFO] [stdout] 26eb6357fa8cf3d43fde25f52104f8bec51cff7c3da674a09af4380c5b64fc65 [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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4496c40eb52b9738ba6582426f2f3c6397c3cbae45e23da87eff92652ed88a52 [INFO] running `Command { std: "docker" "start" "-a" "4496c40eb52b9738ba6582426f2f3c6397c3cbae45e23da87eff92652ed88a52", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling serde_json v1.0.136 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling mt-dom v0.10.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking tinyvec v1.8.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking url_path v0.1.3 [INFO] [stderr] Checking file v1.1.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking plist v1.7.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking bstr v1.11.3 [INFO] [stderr] Checking fancy-regex v0.7.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Checking pom v3.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling syn-rsx v0.8.1 [INFO] [stderr] Compiling html5ever v0.25.2 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Checking nalgebra v0.28.0 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Checking syntect v4.6.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Checking comrak v0.8.2 [INFO] [stderr] Compiling xml5ever v0.16.2 [INFO] [stderr] Compiling markup5ever_rcdom v0.1.0 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking parry2d v0.6.0 [INFO] [stderr] Checking sauron-core v0.40.0 [INFO] [stderr] Checking sauron-parse v0.40.0 [INFO] [stderr] Compiling sauron-node-macro v0.40.0 [INFO] [stderr] Checking sauron v0.40.0 [INFO] [stderr] Checking svgbob v0.5.5 [INFO] [stderr] Checking spongedown v0.5.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] error: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/plugins.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | for header in rdr.headers() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(for_loops_over_fallibles)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 65 | while let Ok(header) = rdr.headers() { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stdout] | [INFO] [stdout] 65 | for header in rdr.headers()? { [INFO] [stdout] | + [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 65 | if let Ok(header) = rdr.headers() { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/plugins.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | for header in rdr.headers() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(for_loops_over_fallibles)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 65 | while let Ok(header) = rdr.headers() { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider unwrapping the `Result` with `?` to iterate over its contents [INFO] [stdout] | [INFO] [stdout] 65 | for header in rdr.headers()? { [INFO] [stdout] | + [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 65 | if let Ok(header) = rdr.headers() { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spongedown` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `spongedown` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "4496c40eb52b9738ba6582426f2f3c6397c3cbae45e23da87eff92652ed88a52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4496c40eb52b9738ba6582426f2f3c6397c3cbae45e23da87eff92652ed88a52", kill_on_drop: false }` [INFO] [stdout] 4496c40eb52b9738ba6582426f2f3c6397c3cbae45e23da87eff92652ed88a52