[INFO] fetching crate spinne-core 0.6.0... [INFO] building spinne-core-0.6.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate spinne-core 0.6.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate spinne-core 0.6.0 [INFO] finished tweaking crates.io crate spinne-core 0.6.0 [INFO] tweaked toml for crates.io crate spinne-core 0.6.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spinne-core 0.6.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 148 packages to latest compatible versions [INFO] [stderr] Adding oxc-miette v1.0.2 (available: v2.5.0) [INFO] [stderr] Adding oxc_allocator v0.40.1 (available: v0.92.0) [INFO] [stderr] Adding oxc_ast v0.40.1 (available: v0.92.0) [INFO] [stderr] Adding oxc_parser v0.40.1 (available: v0.92.0) [INFO] [stderr] Adding oxc_resolver v3.0.3 (available: v11.8.3) [INFO] [stderr] Adding oxc_semantic v0.40.1 (available: v0.92.0) [INFO] [stderr] Adding oxc_span v0.40.1 (available: v0.92.0) [INFO] [stderr] Adding petgraph v0.7.1 (available: v0.8.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oxc_span v0.40.1 [INFO] [stderr] Downloaded cow-utils v0.1.3 [INFO] [stderr] Downloaded oxc_syntax v0.40.1 [INFO] [stderr] Downloaded json-strip-comments v1.0.4 [INFO] [stderr] Downloaded oxc_cfg v0.40.1 [INFO] [stderr] Downloaded oxc_semantic v0.40.1 [INFO] [stderr] Downloaded oxc_regular_expression v0.40.1 [INFO] [stderr] Downloaded ryu-js v1.0.2 [INFO] [stderr] Downloaded jsonc-parser v0.26.3 [INFO] [stderr] Downloaded oxc_parser v0.40.1 [INFO] [stderr] Downloaded unicode-id-start v1.4.0 [INFO] [stderr] Downloaded oxc_ast v0.40.1 [INFO] [stderr] Downloaded oxc-miette v1.0.2 [INFO] [stderr] Downloaded oxc_diagnostics v0.40.1 [INFO] [stderr] Downloaded oxc_index v2.0.0 [INFO] [stderr] Downloaded assert-unchecked v0.1.2 [INFO] [stderr] Downloaded oxc-miette-derive v1.0.2 [INFO] [stderr] Downloaded oxc_ecmascript v0.40.1 [INFO] [stderr] Downloaded oxc_allocator v0.40.1 [INFO] [stderr] Downloaded oxc_ast_macros v0.40.1 [INFO] [stderr] Downloaded oxc_estree v0.40.1 [INFO] [stderr] Downloaded spinne-logger v0.3.0 [INFO] [stderr] Downloaded oxc_resolver v3.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb3d082ee3379f3256f9853f2785949add8307328b08fa5a6fb06c1a61bda8cc [INFO] running `Command { std: "docker" "start" "-a" "eb3d082ee3379f3256f9853f2785949add8307328b08fa5a6fb06c1a61bda8cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb3d082ee3379f3256f9853f2785949add8307328b08fa5a6fb06c1a61bda8cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb3d082ee3379f3256f9853f2785949add8307328b08fa5a6fb06c1a61bda8cc", kill_on_drop: false }` [INFO] [stdout] eb3d082ee3379f3256f9853f2785949add8307328b08fa5a6fb06c1a61bda8cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdbf663f380d24420251816dc6c3a709a50305349df959fbdae5dfd7ef32eeb9 [INFO] running `Command { std: "docker" "start" "-a" "bdbf663f380d24420251816dc6c3a709a50305349df959fbdae5dfd7ef32eeb9", kill_on_drop: false }` [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling oxc_estree v0.40.1 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling unicode-id-start v1.4.0 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling assert-unchecked v0.1.2 [INFO] [stderr] Compiling oxc_index v2.0.0 [INFO] [stderr] Compiling ryu-js v1.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling oxc-miette-derive v1.0.2 [INFO] [stderr] Compiling oxc_ast_macros v0.40.1 [INFO] [stderr] Compiling nonmax v0.5.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling cow-utils v0.1.3 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling console v0.16.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling unit-prefix v0.5.1 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling json-strip-comments v1.0.4 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling indicatif v0.18.0 [INFO] [stderr] Compiling oxc-miette v1.0.2 [INFO] [stderr] Compiling oxc_allocator v0.40.1 [INFO] [stderr] Compiling spinne-logger v0.3.0 [INFO] [stderr] Compiling oxc_resolver v3.0.3 [INFO] [stderr] Compiling jsonc-parser v0.26.3 [INFO] [stderr] Compiling oxc_span v0.40.1 [INFO] [stderr] Compiling oxc_diagnostics v0.40.1 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling oxc_syntax v0.40.1 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling oxc_regular_expression v0.40.1 [INFO] [stderr] Compiling oxc_cfg v0.40.1 [INFO] [stderr] Compiling oxc_ast v0.40.1 [INFO] [stderr] Compiling oxc_ecmascript v0.40.1 [INFO] [stderr] Compiling oxc_parser v0.40.1 [INFO] [stderr] Compiling oxc_semantic v0.40.1 [INFO] [stderr] Compiling spinne-core v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `component_graph::Component` [INFO] [stdout] --> src/graph/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use component_graph::Component; [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: `parser_return` [INFO] [stdout] --> src/traverse/project_types.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | let (parser_return, semantic_return) = match parse_tsx(&allocator, path, &file_content) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser_return` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_points` [INFO] [stdout] --> src/traverse/project_types.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | let entry_points = config_entry_points [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser_return` [INFO] [stdout] --> src/traverse/project_types.rs:386:14 [INFO] [stdout] | [INFO] [stdout] 386 | let (parser_return, semantic_return) = match parse_tsx(&allocator, path, &file_content) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser_return` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/traverse/project_types.rs:529:65 [INFO] [stdout] | [INFO] [stdout] 504 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 529 | if let Some(source_component) = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/traverse/project_types.rs:533:37 [INFO] [stdout] | [INFO] [stdout] 504 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 533 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_points` [INFO] [stdout] --> src/traverse/project_types.rs:617:21 [INFO] [stdout] | [INFO] [stdout] 617 | let entry_points = config_entry_points [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_name` [INFO] [stdout] --> src/traverse/workspace.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | for (i, (project_root, project_name)) in discovered_projects.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_name` [INFO] [stdout] --> src/traverse/workspace.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | for (i, (project_root, project_name)) in discovered_projects.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `package_resolver` is never read [INFO] [stdout] --> src/analyze/react/analyzer.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ReactAnalyzer<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub package_resolver: &'a PackageResolver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/traverse/package.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | IoError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PackageResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - IoError(std::io::Error), [INFO] [stdout] 10 + IoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/traverse/package.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | JsonError(serde_json::Error), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PackageResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - JsonError(serde_json::Error), [INFO] [stdout] 11 + JsonError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/traverse/package.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | PackageJsonNotFound(PathBuf), [INFO] [stdout] | ------------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PackageResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - PackageJsonNotFound(PathBuf), [INFO] [stdout] 12 + PackageJsonNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_same_package` is never used [INFO] [stdout] --> src/traverse/package.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl PackageResolver { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn is_same_package( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/traverse/project_types.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | / (*self.component_registry).add_dependency( [INFO] [stdout] 196 | | base_component.id.clone(), [INFO] [stdout] 197 | | child.id.clone(), [INFO] [stdout] 198 | | Some(self.project_name.clone()), [INFO] [stdout] 199 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 195 | let _ = (*self.component_registry).add_dependency( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.10s [INFO] running `Command { std: "docker" "inspect" "bdbf663f380d24420251816dc6c3a709a50305349df959fbdae5dfd7ef32eeb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdbf663f380d24420251816dc6c3a709a50305349df959fbdae5dfd7ef32eeb9", kill_on_drop: false }` [INFO] [stdout] bdbf663f380d24420251816dc6c3a709a50305349df959fbdae5dfd7ef32eeb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44b556d6b018a567df6e0aae842fb4e74623afb34534a210f7d10f9e914193d8 [INFO] running `Command { std: "docker" "start" "-a" "44b556d6b018a567df6e0aae842fb4e74623afb34534a210f7d10f9e914193d8", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling oxc_syntax v0.40.1 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling oxc_ast v0.40.1 [INFO] [stderr] Compiling oxc_cfg v0.40.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling oxc_ecmascript v0.40.1 [INFO] [stderr] Compiling oxc_parser v0.40.1 [INFO] [stderr] Compiling oxc_semantic v0.40.1 [INFO] [stderr] Compiling spinne-core v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `component_graph::Component` [INFO] [stdout] --> src/graph/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use component_graph::Component; [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: `parser_return` [INFO] [stdout] --> src/traverse/project_types.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | let (parser_return, semantic_return) = match parse_tsx(&allocator, path, &file_content) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser_return` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_points` [INFO] [stdout] --> src/traverse/project_types.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | let entry_points = config_entry_points [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser_return` [INFO] [stdout] --> src/traverse/project_types.rs:386:14 [INFO] [stdout] | [INFO] [stdout] 386 | let (parser_return, semantic_return) = match parse_tsx(&allocator, path, &file_content) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser_return` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/traverse/project_types.rs:529:65 [INFO] [stdout] | [INFO] [stdout] 504 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 529 | if let Some(source_component) = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/traverse/project_types.rs:533:37 [INFO] [stdout] | [INFO] [stdout] 504 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 533 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_points` [INFO] [stdout] --> src/traverse/project_types.rs:617:21 [INFO] [stdout] | [INFO] [stdout] 617 | let entry_points = config_entry_points [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_name` [INFO] [stdout] --> src/traverse/workspace.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | for (i, (project_root, project_name)) in discovered_projects.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_name` [INFO] [stdout] --> src/traverse/workspace.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | for (i, (project_root, project_name)) in discovered_projects.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `package_resolver` is never read [INFO] [stdout] --> src/analyze/react/analyzer.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ReactAnalyzer<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub package_resolver: &'a PackageResolver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/traverse/package.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | IoError(std::io::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PackageResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - IoError(std::io::Error), [INFO] [stdout] 10 + IoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/traverse/package.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | JsonError(serde_json::Error), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PackageResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - JsonError(serde_json::Error), [INFO] [stdout] 11 + JsonError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/traverse/package.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | PackageJsonNotFound(PathBuf), [INFO] [stdout] | ------------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PackageResolverError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - PackageJsonNotFound(PathBuf), [INFO] [stdout] 12 + PackageJsonNotFound(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_same_package` is never used [INFO] [stdout] --> src/traverse/package.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl PackageResolver { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn is_same_package( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/traverse/project_types.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | / (*self.component_registry).add_dependency( [INFO] [stdout] 196 | | base_component.id.clone(), [INFO] [stdout] 197 | | child.id.clone(), [INFO] [stdout] 198 | | Some(self.project_name.clone()), [INFO] [stdout] 199 | | ); [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 195 | let _ = (*self.component_registry).add_dependency( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `component_graph::Component` [INFO] [stdout] --> src/graph/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use component_graph::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/component_graph.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | assert!(graph.add_component(comp1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/component_graph.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | assert!(graph.add_component(comp1_dup)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/component_graph.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | assert!(graph.add_component(comp1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/component_graph.rs:263:17 [INFO] [stdout] | [INFO] [stdout] 263 | assert!(graph.add_component(comp2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/graph/component_graph.rs:286:17 [INFO] [stdout] | [INFO] [stdout] 286 | assert!(graph.add_component(comp1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser_return` [INFO] [stdout] --> src/traverse/project_types.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | let (parser_return, semantic_return) = match parse_tsx(&allocator, path, &file_content) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser_return` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_points` [INFO] [stdout] --> src/traverse/project_types.rs:248:21 [INFO] [stdout] | [INFO] [stdout] 248 | let entry_points = config_entry_points [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser_return` [INFO] [stdout] --> src/traverse/project_types.rs:386:14 [INFO] [stdout] | [INFO] [stdout] 386 | let (parser_return, semantic_return) = match parse_tsx(&allocator, path, &file_content) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser_return` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/traverse/project_types.rs:529:65 [INFO] [stdout] | [INFO] [stdout] 504 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 529 | if let Some(source_component) = unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/traverse/project_types.rs:533:37 [INFO] [stdout] | [INFO] [stdout] 504 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 533 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_points` [INFO] [stdout] --> src/traverse/project_types.rs:617:21 [INFO] [stdout] | [INFO] [stdout] 617 | let entry_points = config_entry_points [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_name` [INFO] [stdout] --> src/traverse/workspace.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | for (i, (project_root, project_name)) in discovered_projects.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `project_name` [INFO] [stdout] --> src/traverse/workspace.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | for (i, (project_root, project_name)) in discovered_projects.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_project_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spinne-core` (lib test) due to 5 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "44b556d6b018a567df6e0aae842fb4e74623afb34534a210f7d10f9e914193d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44b556d6b018a567df6e0aae842fb4e74623afb34534a210f7d10f9e914193d8", kill_on_drop: false }` [INFO] [stdout] 44b556d6b018a567df6e0aae842fb4e74623afb34534a210f7d10f9e914193d8