[INFO] fetching crate ink-analyzer 0.11.1... [INFO] testing ink-analyzer-0.11.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate ink-analyzer 0.11.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate ink-analyzer 0.11.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ink-analyzer 0.11.1 [INFO] tweaked toml for crates.io crate ink-analyzer 0.11.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ink-analyzer 0.11.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ink-analyzer 0.11.1 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b87dea30cfea3ae0eac4caafc6ebd53a07ceb6fa6e81e724b729d7c226f84429 [INFO] running `Command { std: "docker" "start" "-a" "b87dea30cfea3ae0eac4caafc6ebd53a07ceb6fa6e81e724b729d7c226f84429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b87dea30cfea3ae0eac4caafc6ebd53a07ceb6fa6e81e724b729d7c226f84429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b87dea30cfea3ae0eac4caafc6ebd53a07ceb6fa6e81e724b729d7c226f84429", kill_on_drop: false }` [INFO] [stdout] b87dea30cfea3ae0eac4caafc6ebd53a07ceb6fa6e81e724b729d7c226f84429 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5dadbfc71b1ce7e3ea0816db186b85e519888052fe0bc0b6fc3ab6ac9d20a630 [INFO] running `Command { std: "docker" "start" "-a" "5dadbfc71b1ce7e3ea0816db186b85e519888052fe0bc0b6fc3ab6ac9d20a630", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicode-properties v0.1.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling jod-thread v0.1.2 [INFO] [stderr] Compiling text-size v1.1.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling ra_ap_edition v0.0.269 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling triomphe v0.1.15 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling ra-ap-rustc_lexer v0.98.0 [INFO] [stderr] Compiling aho-corasick v1.1.1 [INFO] [stderr] Compiling cov-mark v2.0.0-pre.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling rowan v0.15.15 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling impl-serde v0.5.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ra_ap_stdx v0.0.269 [INFO] [stderr] Compiling ra_ap_parser v0.0.269 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling ink-analyzer-macro v0.7.3 [INFO] [stderr] Compiling ra_ap_syntax v0.0.269 [INFO] [stderr] Compiling ink-analyzer-ir v0.16.0 [INFO] [stderr] Compiling ink-analyzer v0.11.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.75s [INFO] running `Command { std: "docker" "inspect" "5dadbfc71b1ce7e3ea0816db186b85e519888052fe0bc0b6fc3ab6ac9d20a630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dadbfc71b1ce7e3ea0816db186b85e519888052fe0bc0b6fc3ab6ac9d20a630", kill_on_drop: false }` [INFO] [stdout] 5dadbfc71b1ce7e3ea0816db186b85e519888052fe0bc0b6fc3ab6ac9d20a630 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31c078fc89d401506808f9332a72efb125254e262f128dda79eab55a9ff01eff [INFO] running `Command { std: "docker" "start" "-a" "31c078fc89d401506808f9332a72efb125254e262f128dda79eab55a9ff01eff", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ra_ap_stdx v0.0.269 [INFO] [stderr] Compiling ra_ap_parser v0.0.269 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling ink-analyzer-macro v0.7.3 [INFO] [stderr] Compiling ra_ap_syntax v0.0.269 [INFO] [stderr] Compiling ink-analyzer-ir v0.16.0 [INFO] [stderr] Compiling ink-analyzer v0.11.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/test_utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use test_utils::{parse_offset_at, PartialMatchStr, TestResultAction}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/actions/attr.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | use test_utils::{parse_offset_at, TestResultAction, TestResultTextRange}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/actions/item.rs:820:9 [INFO] [stdout] | [INFO] [stdout] 820 | use test_utils::{parse_offset_at, TestResultAction, TestResultTextRange}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/completions.rs:1016:9 [INFO] [stdout] | [INFO] [stdout] 1016 | use test_utils::{parse_offset_at, remove_whitespace, PartialMatchStr}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/common.rs:2370:9 [INFO] [stdout] | [INFO] [stdout] 2370 | use test_utils::{quote_as_pretty_string, quote_as_str, TestResultAction, TestResultTextRange}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/file.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | use test_utils::{quote_as_pretty_string, quote_as_str, TestResultAction, TestResultTextRange}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | use test_utils::{quote_as_pretty_string, TestResultAction, TestResultTextRange}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/extension_fn.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | use test_utils::{quote_as_pretty_string, quote_as_str, TestResultAction, TestResultTextRange}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/chain_extension.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | use test_utils::{ [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/contract/constructor.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | use test_utils::{quote_as_pretty_string, quote_as_str, TestResultAction, TestResultTextRange}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/contract/ink_impl.rs:953:9 [INFO] [stdout] | [INFO] [stdout] 953 | use test_utils::{ [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/contract/storage.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use test_utils::{quote_as_pretty_string, quote_as_str, TestResultAction, TestResultTextRange}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/contract.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | use test_utils::{quote_as_pretty_string, quote_as_str, TestResultAction, TestResultTextRange}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/contract_ref.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | use test_utils::{ [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/environment.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | use test_utils::{ [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/error.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | use test_utils::{ [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/event/topic.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | use test_utils::{parse_offset_at, quote_as_pretty_string, quote_as_str}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/event.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | use test_utils::{quote_as_pretty_string, quote_as_str, TestResultAction, TestResultTextRange}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/ink_e2e_test.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | use test_utils::{ [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/ink_test.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use test_utils::{ [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/message.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | use test_utils::{quote_as_pretty_string, quote_as_str, TestResultAction, TestResultTextRange}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/storage_item.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | use test_utils::{ [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/diagnostics/trait_definition.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | use test_utils::{ [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/extract.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | use test_utils::{parse_offset_at, quote_as_pretty_string}; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/hover.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | use test_utils::parse_offset_at; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/inlay_hints.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | use test_utils::parse_offset_at; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/migrate/e2e_test.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | use test_utils::quote_as_pretty_string; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/migrate/host_fn.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | use test_utils::quote_as_pretty_string; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/migrate.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | use test_utils::quote_as_pretty_string; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/signature_help.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | use test_utils::parse_offset_at; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/analysis/text_edit.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | use test_utils::parse_offset_at; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src/resolution.rs:419:9 [INFO] [stdout] | [INFO] [stdout] 419 | use test_utils::quote_as_str; [INFO] [stdout] | ^^^^^^^^^^ help: a similar path exists: `crate::test_utils` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/actions.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use test_utils::{PartialMatchStr, TestCaseParams, TestCaseResults}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/hover.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use test_utils::{TestCaseParams, TestCaseResults}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/inlay_hints.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use test_utils::{TestCaseParams, TestCaseResults}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/diagnostics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use test_utils::{PartialMatchStr, TestCaseResults}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/actions.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | for test_group in test_utils::fixtures::actions_fixtures() { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/hover.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | for test_group in test_utils::fixtures::hover_fixtures() { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/signature_help.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use test_utils::{TestCaseParams, TestCaseResults}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/inlay_hints.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | for test_group in test_utils::fixtures::inlay_hints_fixtures() { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/actions.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | let original_code = test_utils::read_source_code(test_group.source); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/actions.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | test_utils::apply_test_modifications(&mut test_code, &modifications); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/actions.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | TextSize::from(test_utils::parse_offset_at(&test_code, offset_pat).unwrap() as u32); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/signature_help.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | for test_group in test_utils::fixtures::signature_help_fixtures() { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/inlay_hints.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | let original_code = test_utils::read_source_code(test_group.source); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/inlay_hints.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | test_utils::apply_test_modifications(&mut test_code, &modifications); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/inlay_hints.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | test_utils::parse_offset_at(&test_code, range_start_pat).unwrap() as u32, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/inlay_hints.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | test_utils::parse_offset_at(&test_code, range_end_pat).unwrap() as u32, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/inlay_hints.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | ... test_utils::parse_offset_at(&test_code, result.pos_pat).unwrap() as u32 [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/inlay_hints.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | ... test_utils::parse_offset_at(&test_code, result.range_start_pat) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/inlay_hints.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | ... test_utils::parse_offset_at(&test_code, result.range_end_pat) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/hover.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | let original_code = test_utils::read_source_code(test_group.source); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/hover.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | test_utils::apply_test_modifications(&mut test_code, &modifications); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/hover.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | test_utils::parse_offset_at(&test_code, range_start_pat).unwrap() as u32, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/hover.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | test_utils::parse_offset_at(&test_code, range_end_pat).unwrap() as u32, [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/hover.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | test_utils::parse_offset_at(&test_code, result.start_pat).unwrap() as u32 [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ink-analyzer` (test "inlay_hints") due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/signature_help.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | let original_code = test_utils::read_source_code(test_group.source); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/signature_help.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | test_utils::apply_test_modifications(&mut test_code, &modifications); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/signature_help.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | TextSize::from(test_utils::parse_offset_at(&test_code, offset_pat).unwrap() as u32); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/signature_help.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | ... test_utils::parse_offset_at(&test_code, expected_result.start_pat) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/signature_help.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | ... test_utils::parse_offset_at(&test_code, expected_result.end_pat) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/signature_help.rs:87:41 [INFO] [stdout] | [INFO] [stdout] 87 | ... test_utils::parse_offset_at( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/signature_help.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | ... test_utils::parse_offset_at( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/actions.rs:78:45 [INFO] [stdout] | [INFO] [stdout] 78 | ... test_utils::parse_offset_at( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/actions.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | ... test_utils::parse_offset_at(&test_code, result.end_pat) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ink-analyzer` (test "signature_help") due to 9 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/hover.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | test_utils::parse_offset_at(&test_code, result.end_pat).unwrap() as u32 [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ink-analyzer` (test "actions") due to 7 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] error: could not compile `ink-analyzer` (test "hover") due to 8 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> tests/completions.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use test_utils::{TestCaseParams, TestCaseResults}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/completions.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | for test_group in test_utils::fixtures::completions_fixtures() { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/completions.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | let original_code = test_utils::read_source_code(test_group.source); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/completions.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | test_utils::apply_test_modifications(&mut test_code, &modifications); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/completions.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 41 | TextSize::from(test_utils::parse_offset_at(&test_code, offset_pat).unwrap() as u32); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/completions.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | test_utils::remove_whitespace(completion.edit.text), [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ink-analyzer` (test "diagnostics") due to 7 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/diagnostics.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | for test_group in test_utils::fixtures::diagnostics_fixtures() { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/diagnostics.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | let original_code = test_utils::read_source_code(test_group.source); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/diagnostics.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | test_utils::apply_test_modifications(&mut test_code, &modifications); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/diagnostics.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | .map(|(expected_quickfixes, _)| expected_quickfixes.len()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 56 | .map(|(expected_quickfixes, _): (_, _)| expected_quickfixes.len()), [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/diagnostics.rs:88:49 [INFO] [stdout] | [INFO] [stdout] 88 | ... test_utils::parse_offset_at( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/diagnostics.rs:96:49 [INFO] [stdout] | [INFO] [stdout] 96 | ... test_utils::parse_offset_at( [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/completions.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | test_utils::remove_whitespace(result.text.to_owned()), [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/completions.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | ... test_utils::parse_offset_at(&test_code, result.start_pat).unwrap() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] --> tests/completions.rs:71:33 [INFO] [stdout] | [INFO] [stdout] 71 | ... test_utils::parse_offset_at(&test_code, result.end_pat).unwrap() [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `test_utils` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ink-analyzer` (test "completions") due to 9 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/analysis/actions/attr.rs:849:25 [INFO] [stdout] | [INFO] [stdout] 849 | version, [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/analysis/actions/item.rs:1633:38 [INFO] [stdout] | [INFO] [stdout] 1633 | prepend_migrate!(version, list_results!(root_entities, "Add", None, None)), [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/analysis/actions/item.rs:1633:61 [INFO] [stdout] | [INFO] [stdout] 1633 | prepend_migrate!(version, list_results!(root_entities, "Add", None, None)), [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/analysis/actions/item.rs:2169:35 [INFO] [stdout] | [INFO] [stdout] 2169 | list_results!(enum_union_attrs, "Add", Some("<-enum"), Some("<-enum")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/analysis/actions/item.rs:2177:35 [INFO] [stdout] | [INFO] [stdout] 2177 | list_results!(struct_attrs, "Add", Some("<-struct"), Some("<-struct")), [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | for code in valid_error_codes!() { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | / for code in valid_error_codes!() { [INFO] [stdout] 442 | | let chain_extension = parse_first_ink_entity_of_type(&code); [INFO] [stdout] 443 | | [INFO] [stdout] 444 | | let result = ensure_resolvable(&chain_extension); [INFO] [stdout] 445 | | assert!(result.is_none(), "code: {code}"); [INFO] [stdout] 446 | | } [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:599:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | / error_code_type_defs!() [INFO] [stdout] 400 | | .flat_map(|type_def| { [INFO] [stdout] 401 | | [ [INFO] [stdout] 402 | | quote! { type ErrorCode = MyErrorCode; }, [INFO] [stdout] ... | [INFO] [stdout] 434 | | }) [INFO] [stdout] 435 | | }) [INFO] [stdout] | |__________________^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 441 | for code in valid_error_codes!() { [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:599:0 [INFO] [stdout] = note: this error originates in the macro `valid_error_codes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:445:46 [INFO] [stdout] | [INFO] [stdout] 445 | assert!(result.is_none(), "code: {code}"); [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:552:13 [INFO] [stdout] | [INFO] [stdout] 552 | for code in valid_error_codes!() { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:552:9 [INFO] [stdout] | [INFO] [stdout] 552 | / for code in valid_error_codes!() { [INFO] [stdout] 553 | | let chain_extension = parse_first_ink_entity_of_type(&code); [INFO] [stdout] 554 | | [INFO] [stdout] 555 | | let result = ensure_impl_from_status_code(&chain_extension); [INFO] [stdout] 556 | | assert!(result.is_none(), "code: {code}"); [INFO] [stdout] 557 | | } [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:599:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | / error_code_type_defs!() [INFO] [stdout] 400 | | .flat_map(|type_def| { [INFO] [stdout] 401 | | [ [INFO] [stdout] 402 | | quote! { type ErrorCode = MyErrorCode; }, [INFO] [stdout] ... | [INFO] [stdout] 434 | | }) [INFO] [stdout] 435 | | }) [INFO] [stdout] | |__________________^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 552 | for code in valid_error_codes!() { [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:599:0 [INFO] [stdout] = note: this error originates in the macro `valid_error_codes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:556:46 [INFO] [stdout] | [INFO] [stdout] 556 | assert!(result.is_none(), "code: {code}"); [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:612:17 [INFO] [stdout] | [INFO] [stdout] 612 | for code in error_codes { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:612:13 [INFO] [stdout] | [INFO] [stdout] 612 | / for code in error_codes { [INFO] [stdout] 613 | | let chain_extension = parse_first_ink_entity_of_type(&code); [INFO] [stdout] 614 | | [INFO] [stdout] 615 | | let result = ensure_impl_scale_codec_traits(&chain_extension, version); [INFO] [stdout] 616 | | assert!(result.is_none(), "code: {code}, version: {:?}", version); [INFO] [stdout] 617 | | } [INFO] [stdout] | |_____________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:599:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:612:25 [INFO] [stdout] | [INFO] [stdout] 612 | for code in error_codes { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:599:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:616:50 [INFO] [stdout] | [INFO] [stdout] 616 | assert!(result.is_none(), "code: {code}, version: {:?}", version); [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:793:13 [INFO] [stdout] | [INFO] [stdout] 793 | for code in valid_error_codes!() { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:793:9 [INFO] [stdout] | [INFO] [stdout] 793 | / for code in valid_error_codes!() { [INFO] [stdout] 794 | | let chain_extension = parse_first_ink_entity_of_type(&code); [INFO] [stdout] 795 | | [INFO] [stdout] 796 | | let mut results = Vec::new(); [INFO] [stdout] 797 | | ensure_no_self_error_code_usage(&mut results, &chain_extension); [INFO] [stdout] 798 | | assert!(results.is_empty(), "code: {code}"); [INFO] [stdout] 799 | | } [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:599:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:399:13 [INFO] [stdout] | [INFO] [stdout] 399 | / error_code_type_defs!() [INFO] [stdout] 400 | | .flat_map(|type_def| { [INFO] [stdout] 401 | | [ [INFO] [stdout] 402 | | quote! { type ErrorCode = MyErrorCode; }, [INFO] [stdout] ... | [INFO] [stdout] 434 | | }) [INFO] [stdout] 435 | | }) [INFO] [stdout] | |__________________^ doesn't have a size known at compile-time [INFO] [stdout] ... [INFO] [stdout] 793 | for code in valid_error_codes!() { [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:599:0 [INFO] [stdout] = note: this error originates in the macro `valid_error_codes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/error_code.rs:798:48 [INFO] [stdout] | [INFO] [stdout] 798 | assert!(results.is_empty(), "code: {code}"); [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/analysis/diagnostics/chain_extension/extension_fn.rs:736:20 [INFO] [stdout] | [INFO] [stdout] 736 | if version.is_legacy() { [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/contract/storage.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 181 | for (code, expected_quickfixes) in [ [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/contract/storage.rs:181:44 [INFO] [stdout] | [INFO] [stdout] 181 | for (code, expected_quickfixes) in [ [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 182 | | // Unannotated parent. [INFO] [stdout] 183 | | ( [INFO] [stdout] 184 | | quote_as_pretty_string! { [INFO] [stdout] ... | [INFO] [stdout] 222 | | ), [INFO] [stdout] 223 | | ] { [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: only the last element of a tuple may have a dynamically sized type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/analysis/diagnostics/contract.rs:1899:39 [INFO] [stdout] | [INFO] [stdout] 1899 | assert_eq!(results.len(), expected_quickfixes.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/analysis/diagnostics/environment.rs:290:16 [INFO] [stdout] | [INFO] [stdout] 290 | if $macro_name.to_string().contains("contract") { [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 408 | let result = run_diagnostic!(ensure_resolvable, code, macro_name); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `run_diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/analysis/diagnostics/environment.rs:299:16 [INFO] [stdout] | [INFO] [stdout] 299 | if $macro_name.to_string().contains("contract") { [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 496 | let result = run_diagnostic!(ensure_impl_environment, code, macro_name, version); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `run_diagnostic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/event.rs:373:14 [INFO] [stdout] | [INFO] [stdout] 373 | for (code, expected_quickfixes) in [ [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/event.rs:373:44 [INFO] [stdout] | [INFO] [stdout] 373 | for (code, expected_quickfixes) in [ [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 374 | | // Unannotated parent. [INFO] [stdout] 375 | | ( [INFO] [stdout] 376 | | quote_as_pretty_string! { [INFO] [stdout] ... | [INFO] [stdout] 416 | | ), [INFO] [stdout] 417 | | ] { [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: only the last element of a tuple may have a dynamically sized type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/event.rs:423:47 [INFO] [stdout] | [INFO] [stdout] 423 | assert!(result.is_some(), "event: {code}"); [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/diagnostics/event.rs:427:25 [INFO] [stdout] | [INFO] [stdout] 427 | "event: {code}" [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args` which comes from the expansion of the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/extract.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | code, [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/extract.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | ) in [ [INFO] [stdout] | ______________^ [INFO] [stdout] 108 | | ( [INFO] [stdout] 109 | | // code: String [INFO] [stdout] 110 | | quote_as_pretty_string! { [INFO] [stdout] ... | [INFO] [stdout] 392 | | ), [INFO] [stdout] 393 | | ] { [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: only the last element of a tuple may have a dynamically sized type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/analysis/extract.rs:404:23 [INFO] [stdout] | [INFO] [stdout] 404 | name: name.to_owned(), [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/analysis/extract.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | content: output.trim().to_owned(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/analysis/extract.rs:413:32 [INFO] [stdout] | [INFO] [stdout] 413 | import_indent: import_indent.to_owned(), [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/migrate/e2e_test.rs:665:14 [INFO] [stdout] | [INFO] [stdout] 665 | for (code, expected_results) in [ [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/migrate/e2e_test.rs:665:41 [INFO] [stdout] | [INFO] [stdout] 665 | for (code, expected_results) in [ [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 666 | | ( [INFO] [stdout] 667 | | quote_as_pretty_string! { [INFO] [stdout] 668 | | type E2EResult = std::result::Result>; [INFO] [stdout] ... | [INFO] [stdout] 733 | | ), [INFO] [stdout] 734 | | ] { [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: only the last element of a tuple may have a dynamically sized type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/migrate/e2e_test.rs:1110:14 [INFO] [stdout] | [INFO] [stdout] 1110 | for (code, expected_results) in [ [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/migrate/e2e_test.rs:1110:41 [INFO] [stdout] | [INFO] [stdout] 1110 | for (code, expected_results) in [ [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1111 | | (quote! {}, vec![]), [INFO] [stdout] 1112 | | ( [INFO] [stdout] 1113 | | quote! { use ink_e2e::build_message; }, [INFO] [stdout] ... | [INFO] [stdout] 1263 | | }) { [INFO] [stdout] | |__________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: only the last element of a tuple may have a dynamically sized type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/migrate/host_fn.rs:266:14 [INFO] [stdout] | [INFO] [stdout] 266 | for (code, expected_results) in [ [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/migrate/host_fn.rs:266:41 [INFO] [stdout] | [INFO] [stdout] 266 | for (code, expected_results) in [ [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 267 | | // build_call::<..>().call(..) [INFO] [stdout] 268 | | ( [INFO] [stdout] 269 | | quote! { use ink::env::call::build_call; }, [INFO] [stdout] ... | [INFO] [stdout] 480 | | }) { [INFO] [stdout] | |__________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: only the last element of a tuple may have a dynamically sized type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/migrate.rs:463:14 [INFO] [stdout] | [INFO] [stdout] 463 | for (code, expected_results) in [ [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/migrate.rs:463:41 [INFO] [stdout] | [INFO] [stdout] 463 | for (code, expected_results) in [ [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 464 | | ( [INFO] [stdout] 465 | | quote_as_pretty_string! { [INFO] [stdout] 466 | | #[ink::chain_extension] [INFO] [stdout] ... | [INFO] [stdout] 518 | | ), [INFO] [stdout] 519 | | ] { [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: only the last element of a tuple may have a dynamically sized type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/migrate.rs:529:14 [INFO] [stdout] | [INFO] [stdout] 529 | for (code, expected_results) in [ [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/analysis/migrate.rs:529:41 [INFO] [stdout] | [INFO] [stdout] 529 | for (code, expected_results) in [ [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 530 | | ( [INFO] [stdout] 531 | | quote_as_pretty_string! { [INFO] [stdout] 532 | | #[derive(scale::Encode, scale::Decode, scale_info::TypeInfo)] [INFO] [stdout] ... | [INFO] [stdout] 663 | | ), [INFO] [stdout] 664 | | ] { [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: only the last element of a tuple may have a dynamically sized type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ink-analyzer` (lib test) due to 78 previous errors [INFO] running `Command { std: "docker" "inspect" "31c078fc89d401506808f9332a72efb125254e262f128dda79eab55a9ff01eff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31c078fc89d401506808f9332a72efb125254e262f128dda79eab55a9ff01eff", kill_on_drop: false }` [INFO] [stdout] 31c078fc89d401506808f9332a72efb125254e262f128dda79eab55a9ff01eff