[INFO] cloning repository https://github.com/moppiiiii/browser-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moppiiiii/browser-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoppiiiii%2Fbrowser-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoppiiiii%2Fbrowser-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b6c997fe248cd3b94a352b49eb3bad26929c39e [INFO] checking moppiiiii/browser-tutorial against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoppiiiii%2Fbrowser-tutorial" "/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/moppiiiii/browser-tutorial 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/moppiiiii/browser-tutorial [INFO] finished tweaking git repo https://github.com/moppiiiii/browser-tutorial [INFO] tweaked toml for git repo https://github.com/moppiiiii/browser-tutorial written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/moppiiiii/browser-tutorial 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] 4676e2935e4c063032d1b89366f80b6a3749a74e98011045407f34313cf0d86a [INFO] running `Command { std: "docker" "start" "-a" "4676e2935e4c063032d1b89366f80b6a3749a74e98011045407f34313cf0d86a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4676e2935e4c063032d1b89366f80b6a3749a74e98011045407f34313cf0d86a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4676e2935e4c063032d1b89366f80b6a3749a74e98011045407f34313cf0d86a", kill_on_drop: false }` [INFO] [stdout] 4676e2935e4c063032d1b89366f80b6a3749a74e98011045407f34313cf0d86a [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] a3da3524009e21e32c454377ce70f8e1f406748941c87e444a152fe9375e9a18 [INFO] running `Command { std: "docker" "start" "-a" "a3da3524009e21e32c454377ce70f8e1f406748941c87e444a152fe9375e9a18", 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.63s [INFO] running `Command { std: "docker" "inspect" "a3da3524009e21e32c454377ce70f8e1f406748941c87e444a152fe9375e9a18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3da3524009e21e32c454377ce70f8e1f406748941c87e444a152fe9375e9a18", kill_on_drop: false }` [INFO] [stdout] a3da3524009e21e32c454377ce70f8e1f406748941c87e444a152fe9375e9a18 [INFO] checking moppiiiii/browser-tutorial 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%2Fmoppiiiii%2Fbrowser-tutorial" "/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/moppiiiii/browser-tutorial 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/moppiiiii/browser-tutorial [INFO] finished tweaking git repo https://github.com/moppiiiii/browser-tutorial [INFO] tweaked toml for git repo https://github.com/moppiiiii/browser-tutorial written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/moppiiiii/browser-tutorial 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] 9315dc28a6d567b437fa32e989dbc0395635838e0f0706232f35df6184bc1356 [INFO] running `Command { std: "docker" "start" "-a" "9315dc28a6d567b437fa32e989dbc0395635838e0f0706232f35df6184bc1356", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9315dc28a6d567b437fa32e989dbc0395635838e0f0706232f35df6184bc1356", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9315dc28a6d567b437fa32e989dbc0395635838e0f0706232f35df6184bc1356", kill_on_drop: false }` [INFO] [stdout] 9315dc28a6d567b437fa32e989dbc0395635838e0f0706232f35df6184bc1356 [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] 99361af3f26daf2ba9c01614b390209711111328309f394afc35e207571f82ff [INFO] running `Command { std: "docker" "start" "-a" "99361af3f26daf2ba9c01614b390209711111328309f394afc35e207571f82ff", 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" "99361af3f26daf2ba9c01614b390209711111328309f394afc35e207571f82ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99361af3f26daf2ba9c01614b390209711111328309f394afc35e207571f82ff", kill_on_drop: false }` [INFO] [stdout] 99361af3f26daf2ba9c01614b390209711111328309f394afc35e207571f82ff