[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] building ivanceras/spongedown against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivanceras%2Fspongedown" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ivanceras/spongedown on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 182 packages to latest compatible versions [INFO] [stderr] Adding comrak v0.8.2 (available: v0.39.0) [INFO] [stderr] Adding svgbob v0.5.5 (available: v0.7.6) [INFO] [stderr] Adding syntect v4.6.0 (available: v5.2.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 195a73fa62dcabb3d7e1aac650b3d387d29623b5fc27462f3fd7d43ed2843aad [INFO] running `Command { std: "docker" "start" "-a" "195a73fa62dcabb3d7e1aac650b3d387d29623b5fc27462f3fd7d43ed2843aad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "195a73fa62dcabb3d7e1aac650b3d387d29623b5fc27462f3fd7d43ed2843aad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "195a73fa62dcabb3d7e1aac650b3d387d29623b5fc27462f3fd7d43ed2843aad", kill_on_drop: false }` [INFO] [stdout] 195a73fa62dcabb3d7e1aac650b3d387d29623b5fc27462f3fd7d43ed2843aad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c814c7c4b77ee6b3b30e7a04763b418d29b861c6640fbd174b7a1a17557ad39 [INFO] running `Command { std: "docker" "start" "-a" "7c814c7c4b77ee6b3b30e7a04763b418d29b861c6640fbd174b7a1a17557ad39", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling bumpalo v3.18.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling quote v1.0.40 [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.18.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling simba v0.5.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling quick-xml v0.32.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling file v1.1.2 [INFO] [stderr] Compiling url_path v0.1.3 [INFO] [stderr] Compiling plist v1.7.1 [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 wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling syn-rsx v0.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 xml5ever v0.16.2 [INFO] [stderr] Compiling nalgebra v0.28.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling pom v3.4.0 [INFO] [stderr] Compiling fancy-regex v0.7.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling markup5ever_rcdom v0.1.0 [INFO] [stderr] Compiling syntect v4.6.0 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling comrak v0.8.2 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling parry2d v0.6.0 [INFO] [stderr] Compiling sauron-core v0.40.0 [INFO] [stderr] Compiling sauron-parse v0.40.0 [INFO] [stderr] Compiling sauron-node-macro v0.40.0 [INFO] [stderr] Compiling sauron v0.40.0 [INFO] [stderr] Compiling svgbob v0.5.5 [INFO] [stderr] Compiling spongedown v0.5.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 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: `#[warn(for_loops_over_fallibles)]` implied by `#[warn(warnings)]` [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 65 - for header in rdr.headers() { [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 - for header in rdr.headers() { [INFO] [stdout] 65 + if let Ok(header) = rdr.headers() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nalgebra v0.28.0, xml5ever v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7c814c7c4b77ee6b3b30e7a04763b418d29b861c6640fbd174b7a1a17557ad39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c814c7c4b77ee6b3b30e7a04763b418d29b861c6640fbd174b7a1a17557ad39", kill_on_drop: false }` [INFO] [stdout] 7c814c7c4b77ee6b3b30e7a04763b418d29b861c6640fbd174b7a1a17557ad39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f83c68c19374ffc61c18c852c35399dee8c5f4db72faffc49cd7afdfdc3a63c [INFO] running `Command { std: "docker" "start" "-a" "1f83c68c19374ffc61c18c852c35399dee8c5f4db72faffc49cd7afdfdc3a63c", kill_on_drop: false }` [INFO] [stderr] Compiling spongedown v0.5.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 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: `#[warn(for_loops_over_fallibles)]` implied by `#[warn(warnings)]` [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 65 - for header in rdr.headers() { [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 - for header in rdr.headers() { [INFO] [stdout] 65 + if let Ok(header) = rdr.headers() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/simple.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | fs::create_dir_all("out"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 97 | let _ = fs::create_dir_all("out"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/simple.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | fs::write("out/simple.html", &html.content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 98 | let _ = fs::write("out/simple.html", &html.content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/sponge_with_dir.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | fs::create_dir_all("out"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 83 | let _ = fs::create_dir_all("out"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/sponge_with_dir.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | fs::write("out/sponge.html", &html.content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 84 | let _ = fs::write("out/sponge.html", &html.content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: `#[warn(for_loops_over_fallibles)]` implied by `#[warn(warnings)]` [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 65 - for header in rdr.headers() { [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 - for header in rdr.headers() { [INFO] [stdout] 65 + if let Ok(header) = rdr.headers() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.71s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nalgebra v0.28.0, xml5ever v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1f83c68c19374ffc61c18c852c35399dee8c5f4db72faffc49cd7afdfdc3a63c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f83c68c19374ffc61c18c852c35399dee8c5f4db72faffc49cd7afdfdc3a63c", kill_on_drop: false }` [INFO] [stdout] 1f83c68c19374ffc61c18c852c35399dee8c5f4db72faffc49cd7afdfdc3a63c