[INFO] fetching crate tidos_macro 0.6.9... [INFO] testing tidos_macro-0.6.9 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate tidos_macro 0.6.9 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate tidos_macro 0.6.9 [INFO] finished tweaking crates.io crate tidos_macro 0.6.9 [INFO] tweaked toml for crates.io crate tidos_macro 0.6.9 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tidos_macro 0.6.9 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tidos_macro 0.6.9 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25d7bb0fa02a92aa3cce0ba523107cf43d6b0c185ab5903c6bc80533e6891929 [INFO] running `Command { std: "docker" "start" "-a" "25d7bb0fa02a92aa3cce0ba523107cf43d6b0c185ab5903c6bc80533e6891929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25d7bb0fa02a92aa3cce0ba523107cf43d6b0c185ab5903c6bc80533e6891929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25d7bb0fa02a92aa3cce0ba523107cf43d6b0c185ab5903c6bc80533e6891929", kill_on_drop: false }` [INFO] [stdout] 25d7bb0fa02a92aa3cce0ba523107cf43d6b0c185ab5903c6bc80533e6891929 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edbe7a62b2926ce67460d636d1c3c09348dd1d12810351890882d77948de13c2 [INFO] running `Command { std: "docker" "start" "-a" "edbe7a62b2926ce67460d636d1c3c09348dd1d12810351890882d77948de13c2", kill_on_drop: false }` [INFO] [stderr] warning: tidos_macro v0.6.9 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-expand` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling uuid-macro-internal v1.15.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling tidos_macro v0.6.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parsing/content.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 46 | / return match type_of_command { [INFO] [stdout] 47 | | TypeOfCommandTag::For { [INFO] [stdout] 48 | | left_side, [INFO] [stdout] 49 | | right_side, [INFO] [stdout] ... | [INFO] [stdout] 152 | | }; [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 153 | [INFO] [stdout] 154 | panic!(); [INFO] [stdout] | ^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::token::Token` [INFO] [stdout] --> src/code_generation/content.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format_string` [INFO] [stdout] --> src/code_generation/component.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | let format_string = binding.as_str(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/code_generation/component.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | let x = { String::from(String::new()) + &String::from("Hello") }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `last_was_punct` is assigned to, but never used [INFO] [stdout] --> src/parsing/content.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | let mut last_was_punct = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_last_was_punct` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_was_punct` is never read [INFO] [stdout] --> src/parsing/content.rs:170:7 [INFO] [stdout] | [INFO] [stdout] 170 | last_was_punct = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_was_punct` is never read [INFO] [stdout] --> src/parsing/content.rs:184:7 [INFO] [stdout] | [INFO] [stdout] 184 | last_was_punct = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_was_punct` is never read [INFO] [stdout] --> src/parsing/content.rs:190:7 [INFO] [stdout] | [INFO] [stdout] 190 | last_was_punct = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gr` [INFO] [stdout] --> src/parsing/control_tag.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | let gr = input.parse::()?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_tag` [INFO] [stdout] --> src/parsing/control_tag.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | let left_tag: Ident = input.parse()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeOfCommandTag` is never used [INFO] [stdout] --> src/code_generation/content.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum TypeOfCommandTag { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matches_tag` is never used [INFO] [stdout] --> src/code_generation/html_tag.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn matches_tag(cursor: Cursor, target_tag: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.60s [INFO] running `Command { std: "docker" "inspect" "edbe7a62b2926ce67460d636d1c3c09348dd1d12810351890882d77948de13c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edbe7a62b2926ce67460d636d1c3c09348dd1d12810351890882d77948de13c2", kill_on_drop: false }` [INFO] [stdout] edbe7a62b2926ce67460d636d1c3c09348dd1d12810351890882d77948de13c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a2d47138fcfa28ed28014392c31765fddfabfd1440479848f7e6f40cca8dcf4 [INFO] running `Command { std: "docker" "start" "-a" "9a2d47138fcfa28ed28014392c31765fddfabfd1440479848f7e6f40cca8dcf4", kill_on_drop: false }` [INFO] [stderr] warning: tidos_macro v0.6.9 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-expand` which is missing a lib target [INFO] [stderr] Compiling tidos_macro v0.6.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parsing/content.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 46 | / return match type_of_command { [INFO] [stdout] 47 | | TypeOfCommandTag::For { [INFO] [stdout] 48 | | left_side, [INFO] [stdout] 49 | | right_side, [INFO] [stdout] ... | [INFO] [stdout] 152 | | }; [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 153 | [INFO] [stdout] 154 | panic!(); [INFO] [stdout] | ^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::token::Token` [INFO] [stdout] --> src/code_generation/content.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format_string` [INFO] [stdout] --> src/code_generation/component.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | let format_string = binding.as_str(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/code_generation/component.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | let x = { String::from(String::new()) + &String::from("Hello") }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/parsing/content.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 46 | / return match type_of_command { [INFO] [stdout] 47 | | TypeOfCommandTag::For { [INFO] [stdout] 48 | | left_side, [INFO] [stdout] 49 | | right_side, [INFO] [stdout] ... | [INFO] [stdout] 152 | | }; [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] 153 | [INFO] [stdout] 154 | panic!(); [INFO] [stdout] | ^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syn::token::Token` [INFO] [stdout] --> src/code_generation/content.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use syn::token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format_string` [INFO] [stdout] --> src/code_generation/component.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | let format_string = binding.as_str(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/code_generation/component.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | let x = { String::from(String::new()) + &String::from("Hello") }; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `last_was_punct` is assigned to, but never used [INFO] [stdout] --> src/parsing/content.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | let mut last_was_punct = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_last_was_punct` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_was_punct` is never read [INFO] [stdout] --> src/parsing/content.rs:170:7 [INFO] [stdout] | [INFO] [stdout] 170 | last_was_punct = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_was_punct` is never read [INFO] [stdout] --> src/parsing/content.rs:184:7 [INFO] [stdout] | [INFO] [stdout] 184 | last_was_punct = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_was_punct` is never read [INFO] [stdout] --> src/parsing/content.rs:190:7 [INFO] [stdout] | [INFO] [stdout] 190 | last_was_punct = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gr` [INFO] [stdout] --> src/parsing/control_tag.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | let gr = input.parse::()?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_tag` [INFO] [stdout] --> src/parsing/control_tag.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | let left_tag: Ident = input.parse()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `last_was_punct` is assigned to, but never used [INFO] [stdout] --> src/parsing/content.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | let mut last_was_punct = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_last_was_punct` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_was_punct` is never read [INFO] [stdout] --> src/parsing/content.rs:170:7 [INFO] [stdout] | [INFO] [stdout] 170 | last_was_punct = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_was_punct` is never read [INFO] [stdout] --> src/parsing/content.rs:184:7 [INFO] [stdout] | [INFO] [stdout] 184 | last_was_punct = true; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeOfCommandTag` is never used [INFO] [stdout] --> src/code_generation/content.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum TypeOfCommandTag { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matches_tag` is never used [INFO] [stdout] --> src/code_generation/html_tag.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn matches_tag(cursor: Cursor, target_tag: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_was_punct` is never read [INFO] [stdout] --> src/parsing/content.rs:190:7 [INFO] [stdout] | [INFO] [stdout] 190 | last_was_punct = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gr` [INFO] [stdout] --> src/parsing/control_tag.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | let gr = input.parse::()?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_tag` [INFO] [stdout] --> src/parsing/control_tag.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | let left_tag: Ident = input.parse()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TypeOfCommandTag` is never used [INFO] [stdout] --> src/code_generation/content.rs:156:10 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum TypeOfCommandTag { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `matches_tag` is never used [INFO] [stdout] --> src/code_generation/html_tag.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn matches_tag(cursor: Cursor, target_tag: String) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "9a2d47138fcfa28ed28014392c31765fddfabfd1440479848f7e6f40cca8dcf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a2d47138fcfa28ed28014392c31765fddfabfd1440479848f7e6f40cca8dcf4", kill_on_drop: false }` [INFO] [stdout] 9a2d47138fcfa28ed28014392c31765fddfabfd1440479848f7e6f40cca8dcf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b8cc38f10280aad8bcc3c7447b61aee8f83faaf15deb2905cd51710be35578c8 [INFO] running `Command { std: "docker" "start" "-a" "b8cc38f10280aad8bcc3c7447b61aee8f83faaf15deb2905cd51710be35578c8", kill_on_drop: false }` [INFO] [stderr] warning: tidos_macro v0.6.9 (/opt/rustwide/workdir) ignoring invalid dependency `cargo-expand` which is missing a lib target [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/parsing/content.rs:154:4 [INFO] [stderr] | [INFO] [stderr] 46 | / return match type_of_command { [INFO] [stderr] 47 | | TypeOfCommandTag::For { [INFO] [stderr] 48 | | left_side, [INFO] [stderr] 49 | | right_side, [INFO] [stderr] ... | [INFO] [stderr] 152 | | }; [INFO] [stderr] | |_____________- any code following this expression is unreachable [INFO] [stderr] 153 | [INFO] [stderr] 154 | panic!(); [INFO] [stderr] | ^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `syn::token::Token` [INFO] [stderr] --> src/code_generation/content.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use syn::token::Token; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `format_string` [INFO] [stderr] --> src/code_generation/component.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | let format_string = binding.as_str(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_string` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/code_generation/component.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | let x = { String::from(String::new()) + &String::from("Hello") }; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: variable `last_was_punct` is assigned to, but never used [INFO] [stderr] --> src/parsing/content.rs:159:12 [INFO] [stderr] | [INFO] [stderr] 159 | let mut last_was_punct = false; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_last_was_punct` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `last_was_punct` is never read [INFO] [stderr] --> src/parsing/content.rs:170:7 [INFO] [stderr] | [INFO] [stderr] 170 | last_was_punct = false; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `last_was_punct` is never read [INFO] [stderr] --> src/parsing/content.rs:184:7 [INFO] [stderr] | [INFO] [stderr] 184 | last_was_punct = true; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `last_was_punct` is never read [INFO] [stderr] --> src/parsing/content.rs:190:7 [INFO] [stderr] | [INFO] [stderr] 190 | last_was_punct = false; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gr` [INFO] [stderr] --> src/parsing/control_tag.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | let gr = input.parse::()?; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_gr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `left_tag` [INFO] [stderr] --> src/parsing/control_tag.rs:34:7 [INFO] [stderr] | [INFO] [stderr] 34 | let left_tag: Ident = input.parse()?; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_tag` [INFO] [stderr] [INFO] [stderr] warning: enum `TypeOfCommandTag` is never used [INFO] [stderr] --> src/code_generation/content.rs:156:10 [INFO] [stderr] | [INFO] [stderr] 156 | pub enum TypeOfCommandTag { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `matches_tag` is never used [INFO] [stderr] --> src/code_generation/html_tag.rs:3:4 [INFO] [stderr] | [INFO] [stderr] 3 | fn matches_tag(cursor: Cursor, target_tag: String) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tidos_macro` (lib) generated 12 warnings [INFO] [stderr] warning: `tidos_macro` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tidos_macro-2629b4768df94912) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tidos_macro [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - view (line 59) - compile ... FAILED [INFO] [stdout] test src/lib.rs - view (line 31) - compile ... FAILED [INFO] [stdout] test src/lib.rs - head (line 116) - compile ... FAILED [INFO] [stdout] test src/lib.rs - view (line 20) - compile ... FAILED [INFO] [stdout] test src/lib.rs - scoped_css (line 152) - compile ... FAILED [INFO] [stdout] test src/lib.rs - page (line 90) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - view (line 59) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_59_0() { [INFO] [stdout] | - help: try adding a return type: `-> String` [INFO] [stdout] ... [INFO] [stdout] 10 | / view! { [INFO] [stdout] 11 | | {#if age >= 18 && !is_american} [INFO] [stdout] 12 | |

User is allowed to drink.

[INFO] [stdout] 13 | | {:else if age >= 21 && is_american} [INFO] [stdout] ... | [INFO] [stdout] 19 | | {/if} [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ expected `()`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - view (line 31) stdout ---- [INFO] [stdout] error: prefix `Who` is unknown [INFO] [stdout] --> src/lib.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 22 |

Who's a good boy!

[INFO] [stdout] | ^^^ unknown prefix [INFO] [stdout] | [INFO] [stdout] = note: prefixed identifiers and literals are reserved since Rust 2021 [INFO] [stdout] help: consider inserting whitespace here [INFO] [stdout] | [INFO] [stdout] 22 |

Who 's a good boy!

[INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_31_0() { [INFO] [stdout] | - help: try adding a return type: `-> String` [INFO] [stdout] ... [INFO] [stdout] 17 | / view! { [INFO] [stdout] 18 | | {#match my_pet} [INFO] [stdout] 19 | | {:case Fish} [INFO] [stdout] 20 | |

Blub!

[INFO] [stdout] ... | [INFO] [stdout] 27 | | {/match} [INFO] [stdout] 28 | | } [INFO] [stdout] | |_^ expected `()`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - head (line 116) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tidos` [INFO] [stdout] --> src/lib.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 13 | / head! { [INFO] [stdout] 14 | | {&self.title} [INFO] [stdout] 15 | | } [INFO] [stdout] | |________^ use of unresolved module or unlinked crate `tidos` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `head` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Component` in this scope [INFO] [stdout] --> src/lib.rs:124:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl Component for Title { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Page` in this scope [INFO] [stdout] --> src/lib.rs:125:35 [INFO] [stdout] | [INFO] [stdout] 12 | fn to_render(&self, page: &mut Page) -> String { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - view (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tidos` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 8 | / view! { [INFO] [stdout] 9 | | {#for name in names} [INFO] [stdout] 10 | |

{format!("Hello {}!", name)}

[INFO] [stdout] 11 | | {/for} [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ use of unresolved module or unlinked crate `tidos` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_20_0() { [INFO] [stdout] | - help: try adding a return type: `-> String` [INFO] [stdout] ... [INFO] [stdout] 8 | / view! { [INFO] [stdout] 9 | | {#for name in names} [INFO] [stdout] 10 | |

{format!("Hello {}!", name)}

[INFO] [stdout] 11 | | {/for} [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ expected `()`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - scoped_css (line 152) stdout ---- [INFO] [stdout] error: couldn't read `src/./mod.css`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 13 | let css = scoped_css!("./mod.css"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tidos` [INFO] [stdout] --> src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 16 | / view! { [INFO] [stdout] 17 | |
[INFO] [stdout] 18 | |
[INFO] [stdout] 19 | | [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ use of unresolved module or unlinked crate `tidos` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Component` in this scope [INFO] [stdout] --> src/lib.rs:160:6 [INFO] [stdout] | [INFO] [stdout] 11 | impl Component for DocsGrid { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Page` in this scope [INFO] [stdout] --> src/lib.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 12 | fn to_render(&self, page: &mut Page) -> String { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DocsSidenav` in this scope [INFO] [stdout] --> src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 16 | / view! { [INFO] [stdout] 17 | |
[INFO] [stdout] 18 | |
[INFO] [stdout] 19 | | [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DocsOnThisPage` in this scope [INFO] [stdout] --> src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 16 | / view! { [INFO] [stdout] 17 | |
[INFO] [stdout] 18 | |
[INFO] [stdout] 19 | | [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | |_________^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `view` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - page (line 90) stdout ---- [INFO] [stdout] error: cannot find macro `page` in this scope [INFO] [stdout] --> src/lib.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 6 | page! { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use tidos_macro::page; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Page` in this scope [INFO] [stdout] --> src/lib.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn getting_started() -> Page { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - head (line 116) [INFO] [stdout] src/lib.rs - page (line 90) [INFO] [stdout] src/lib.rs - scoped_css (line 152) [INFO] [stdout] src/lib.rs - view (line 20) [INFO] [stdout] src/lib.rs - view (line 31) [INFO] [stdout] src/lib.rs - view (line 59) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b8cc38f10280aad8bcc3c7447b61aee8f83faaf15deb2905cd51710be35578c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8cc38f10280aad8bcc3c7447b61aee8f83faaf15deb2905cd51710be35578c8", kill_on_drop: false }` [INFO] [stdout] b8cc38f10280aad8bcc3c7447b61aee8f83faaf15deb2905cd51710be35578c8