[INFO] cloning repository https://github.com/tiny-browserbook/exercise-html [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tiny-browserbook/exercise-html" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiny-browserbook%2Fexercise-html", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiny-browserbook%2Fexercise-html'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 510b1eaeb7bdb12d64a8ebb2fdef03dfe8910ef9 [INFO] checking tiny-browserbook/exercise-html against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiny-browserbook%2Fexercise-html" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tiny-browserbook/exercise-html on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tiny-browserbook/exercise-html [INFO] finished tweaking git repo https://github.com/tiny-browserbook/exercise-html [INFO] tweaked toml for git repo https://github.com/tiny-browserbook/exercise-html written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tiny-browserbook/exercise-html 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f243dd48a825bd382345a01fdbb8c0c0ca22c10761557d46a88735c59ccbb65 [INFO] running `Command { std: "docker" "start" "-a" "0f243dd48a825bd382345a01fdbb8c0c0ca22c10761557d46a88735c59ccbb65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f243dd48a825bd382345a01fdbb8c0c0ca22c10761557d46a88735c59ccbb65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f243dd48a825bd382345a01fdbb8c0c0ca22c10761557d46a88735c59ccbb65", kill_on_drop: false }` [INFO] [stdout] 0f243dd48a825bd382345a01fdbb8c0c0ca22c10761557d46a88735c59ccbb65 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11916dbfdec53ea035bee7b14ff4342ec30f5c4ce75eef8b6b377430e9187bd7 [INFO] running `Command { std: "docker" "start" "-a" "11916dbfdec53ea035bee7b14ff4342ec30f5c4ce75eef8b6b377430e9187bd7", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking combine v4.5.2 [INFO] [stderr] Checking exercise-html v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 13 | (char(' ')).map(|_| ("".to_string(), "".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 13 | (char(' ')).map(|_| ("".to_string(), "".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 23 | (char(' ')).map(|_| AttrMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 23 | (char(' ')).map(|_| AttrMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 33 | (char(' ')).map(|_| ("".to_string(), AttrMap::new())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 33 | (char(' ')).map(|_| ("".to_string(), AttrMap::new())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 43 | (char(' ')).map(|_| ("".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 43 | (char(' ')).map(|_| ("".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 53 | (char(' ')).map(|_| vec![Element::new("".into(), AttrMap::new(), vec![])]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 53 | (char(' ')).map(|_| vec![Element::new("".into(), AttrMap::new(), vec![])]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 63 | (char(' ')).map(|_| Element::new("".into(), AttrMap::new(), vec![])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 63 | (char(' ')).map(|_| Element::new("".into(), AttrMap::new(), vec![])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 73 | (char(' ')).map(|_| Element::new("".into(), AttrMap::new(), vec![])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 73 | (char(' ')).map(|_| Element::new("".into(), AttrMap::new(), vec![])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attribute` is never used [INFO] [stdout] --> src/html.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn attribute() -> impl Parser [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attributes` is never used [INFO] [stdout] --> src/html.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn attributes() -> impl Parser [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_tag` is never used [INFO] [stdout] --> src/html.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn open_tag() -> impl Parser [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `close_tag` is never used [INFO] [stdout] --> src/html.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn close_tag() -> impl Parser [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `text` is never used [INFO] [stdout] --> src/html.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn text() -> impl Parser> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `element` is never used [INFO] [stdout] --> src/html.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn element() -> impl Parser> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.51s [INFO] running `Command { std: "docker" "inspect" "11916dbfdec53ea035bee7b14ff4342ec30f5c4ce75eef8b6b377430e9187bd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11916dbfdec53ea035bee7b14ff4342ec30f5c4ce75eef8b6b377430e9187bd7", kill_on_drop: false }` [INFO] [stdout] 11916dbfdec53ea035bee7b14ff4342ec30f5c4ce75eef8b6b377430e9187bd7 [INFO] checking tiny-browserbook/exercise-html against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiny-browserbook%2Fexercise-html" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tiny-browserbook/exercise-html on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tiny-browserbook/exercise-html [INFO] finished tweaking git repo https://github.com/tiny-browserbook/exercise-html [INFO] tweaked toml for git repo https://github.com/tiny-browserbook/exercise-html written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tiny-browserbook/exercise-html 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c87418ae5bb84101c84161cc62e5d87506886987fb29faaedb569e71e83dfaf7 [INFO] running `Command { std: "docker" "start" "-a" "c87418ae5bb84101c84161cc62e5d87506886987fb29faaedb569e71e83dfaf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c87418ae5bb84101c84161cc62e5d87506886987fb29faaedb569e71e83dfaf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c87418ae5bb84101c84161cc62e5d87506886987fb29faaedb569e71e83dfaf7", kill_on_drop: false }` [INFO] [stdout] c87418ae5bb84101c84161cc62e5d87506886987fb29faaedb569e71e83dfaf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 940a3a5d942a6a9927c040a2f41f6bfd1f9e4524a8fa8a6ef126e0a8592ace23 [INFO] running `Command { std: "docker" "start" "-a" "940a3a5d942a6a9927c040a2f41f6bfd1f9e4524a8fa8a6ef126e0a8592ace23", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking combine v4.5.2 [INFO] [stderr] Checking exercise-html v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 13 | (char(' ')).map(|_| ("".to_string(), "".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 13 | (char(' ')).map(|_| ("".to_string(), "".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 23 | (char(' ')).map(|_| AttrMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 23 | (char(' ')).map(|_| AttrMap::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 33 | (char(' ')).map(|_| ("".to_string(), AttrMap::new())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 33 | (char(' ')).map(|_| ("".to_string(), AttrMap::new())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 43 | (char(' ')).map(|_| ("".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 43 | (char(' ')).map(|_| ("".to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 53 | (char(' ')).map(|_| vec![Element::new("".into(), AttrMap::new(), vec![])]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 53 | (char(' ')).map(|_| vec![Element::new("".into(), AttrMap::new(), vec![])]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 63 | (char(' ')).map(|_| Element::new("".into(), AttrMap::new(), vec![])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 63 | (char(' ')).map(|_| Element::new("".into(), AttrMap::new(), vec![])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 73 | (char(' ')).map(|_| Element::new("".into(), AttrMap::new(), vec![])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/html.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 72 | todo!("you need to implement this combinator"); [INFO] [stdout] | ---------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 73 | (char(' ')).map(|_| Element::new("".into(), AttrMap::new(), vec![])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attribute` is never used [INFO] [stdout] --> src/html.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn attribute() -> impl Parser [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `attributes` is never used [INFO] [stdout] --> src/html.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn attributes() -> impl Parser [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open_tag` is never used [INFO] [stdout] --> src/html.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn open_tag() -> impl Parser [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `close_tag` is never used [INFO] [stdout] --> src/html.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn close_tag() -> impl Parser [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `text` is never used [INFO] [stdout] --> src/html.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn text() -> impl Parser> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `element` is never used [INFO] [stdout] --> src/html.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn element() -> impl Parser> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dom.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(name: String, attributes: AttrMap, children: Vec>) -> Box { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Box::new(Node { [INFO] [stdout] | __________________^ [INFO] [stdout] 25 | | node_type: NodeType::Element(Element { [INFO] [stdout] 26 | | tag_name: name, [INFO] [stdout] 27 | | attributes: attributes, [INFO] [stdout] 28 | | }), [INFO] [stdout] 29 | | children, [INFO] [stdout] 30 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercise-html` (lib) due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dom.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(name: String, attributes: AttrMap, children: Vec>) -> Box { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Box::new(Node { [INFO] [stdout] | __________________^ [INFO] [stdout] 25 | | node_type: NodeType::Element(Element { [INFO] [stdout] 26 | | tag_name: name, [INFO] [stdout] 27 | | attributes: attributes, [INFO] [stdout] 28 | | }), [INFO] [stdout] 29 | | children, [INFO] [stdout] 30 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercise-html` (lib test) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "940a3a5d942a6a9927c040a2f41f6bfd1f9e4524a8fa8a6ef126e0a8592ace23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "940a3a5d942a6a9927c040a2f41f6bfd1f9e4524a8fa8a6ef126e0a8592ace23", kill_on_drop: false }` [INFO] [stdout] 940a3a5d942a6a9927c040a2f41f6bfd1f9e4524a8fa8a6ef126e0a8592ace23