[INFO] fetching crate ra_ap_query-group-macro 0.0.300... [INFO] checking ra_ap_query-group-macro-0.0.300 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ra_ap_query-group-macro 0.0.300 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ra_ap_query-group-macro 0.0.300 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ra_ap_query-group-macro 0.0.300 [INFO] tweaked toml for crates.io crate ra_ap_query-group-macro 0.0.300 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ra_ap_query-group-macro 0.0.300 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ra_ap_query-group-macro 0.0.300 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded salsa-macro-rules v0.23.0 [INFO] [stderr] Downloaded seize v0.5.0 [INFO] [stderr] Downloaded papaya v0.2.3 [INFO] [stderr] Downloaded salsa-macros v0.23.0 [INFO] [stderr] Downloaded salsa v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2392bc8d19e1bb7a04ba0cbab0b284c34d5cd10d40cd3890dc04ce2e13f81639 [INFO] running `Command { std: "docker" "start" "-a" "2392bc8d19e1bb7a04ba0cbab0b284c34d5cd10d40cd3890dc04ce2e13f81639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2392bc8d19e1bb7a04ba0cbab0b284c34d5cd10d40cd3890dc04ce2e13f81639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2392bc8d19e1bb7a04ba0cbab0b284c34d5cd10d40cd3890dc04ce2e13f81639", kill_on_drop: false }` [INFO] [stdout] 2392bc8d19e1bb7a04ba0cbab0b284c34d5cd10d40cd3890dc04ce2e13f81639 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95b6f363845c9fec3902c9bc9f88757c068165810c2f483d873326a16cf66839 [INFO] running `Command { std: "docker" "start" "-a" "95b6f363845c9fec3902c9bc9f88757c068165810c2f483d873326a16cf66839", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking boxcar v0.2.13 [INFO] [stderr] Checking salsa-macro-rules v0.23.0 [INFO] [stderr] Checking thin-vec v0.2.14 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking dissimilar v1.0.10 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking expect-test v1.5.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking intrusive-collections v0.9.7 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking syn v2.0.104 [INFO] [stderr] Checking seize v0.5.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking papaya v0.2.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking ra_ap_query-group-macro v0.0.300 (/opt/rustwide/workdir) [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling salsa-macros v0.23.0 [INFO] [stderr] Checking salsa v0.23.0 [INFO] [stdout] error: expected `struct` [INFO] [stdout] --> tests/hello_world.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | fn input_string(&self) -> String; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `query_group_macro` [INFO] [stdout] --> tests/hello_world.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use query_group_macro::query_group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `query_group_macro` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `query_group_macro`, use `cargo add query_group_macro` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke_interned` in `salsa` [INFO] [stdout] --> tests/hello_world.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | #[salsa::invoke_interned(length_query)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `invoke_interned` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke_interned` in `salsa` [INFO] [stdout] --> tests/hello_world.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | #[salsa::invoke_interned(invoke_length_query_actual)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `invoke_interned` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `transparent` in `salsa` [INFO] [stdout] --> tests/hello_world.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | #[salsa::transparent] [INFO] [stdout] | ^^^^^^^^^^^ could not find `transparent` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `transparent` in `salsa` [INFO] [stdout] --> tests/hello_world.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | #[salsa::transparent] [INFO] [stdout] | ^^^^^^^^^^^ could not find `transparent` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke_interned` in `salsa` [INFO] [stdout] --> tests/hello_world.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | #[salsa::invoke_interned(transparent_and_invoke_length_actual)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `invoke_interned` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `struct` [INFO] [stdout] --> tests/lru.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | fn input_string(&self) -> String; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `query_group_macro` [INFO] [stdout] --> tests/lru.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use query_group_macro::query_group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `query_group_macro` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `query_group_macro`, use `cargo add query_group_macro` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lru` in `salsa` [INFO] [stdout] --> tests/lru.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | #[salsa::lru(16)] [INFO] [stdout] | ^^^ could not find `lru` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke_interned` in `salsa` [INFO] [stdout] --> tests/lru.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | #[salsa::invoke_interned(length_query)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `invoke_interned` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `lru` in `salsa` [INFO] [stdout] --> tests/lru.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | #[salsa::lru(16)] [INFO] [stdout] | ^^^ could not find `lru` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke_interned` in `salsa` [INFO] [stdout] --> tests/lru.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | #[salsa::invoke_interned(invoked_query)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `invoke_interned` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `query_group_macro` [INFO] [stdout] --> tests/arity.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use query_group_macro::query_group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `query_group_macro` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `query_group_macro`, use `cargo add query_group_macro` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke_interned` in `salsa` [INFO] [stdout] --> tests/arity.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | #[salsa::invoke_interned(one)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `invoke_interned` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke_interned` in `salsa` [INFO] [stdout] --> tests/arity.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | #[salsa::invoke_interned(two)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `invoke_interned` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke_interned` in `salsa` [INFO] [stdout] --> tests/arity.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[salsa::invoke_interned(three)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `invoke_interned` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke_interned` in `salsa` [INFO] [stdout] --> tests/arity.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | #[salsa::invoke_interned(none)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `invoke_interned` in `salsa` [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: expected `struct` [INFO] [stdout] --> tests/multiple_dbs.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | fn input_string(&self) -> String; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ra_ap_query-group-macro` (test "arity") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `query_group_macro` [INFO] [stdout] --> tests/multiple_dbs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use query_group_macro::query_group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `query_group_macro` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `query_group_macro`, use `cargo add query_group_macro` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke_interned` in `salsa` [INFO] [stdout] --> tests/multiple_dbs.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | #[salsa::invoke_interned(second_length)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `invoke_interned` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke_interned` in `salsa` [INFO] [stdout] --> tests/multiple_dbs.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | #[salsa::invoke_interned(length)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `invoke_interned` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_input_string` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/lru.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | db.set_input_string(String::from("Hello, world!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `set_input_string` not found for this struct [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[E0599]: no method named `length_query` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/lru.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | let len = db.length_query(()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `length_query` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LruDB` defines an item `length_query`, perhaps you need to implement it [INFO] [stdout] --> tests/lru.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait LruDB: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_input_string` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/lru.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | db.set_input_string(String::from("Hello, world!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `set_input_string` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length_query_invoke` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/lru.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | let len = db.length_query_invoke(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `length_query_invoke` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `LruDB` defines an item `length_query_invoke`, perhaps you need to implement it [INFO] [stdout] --> tests/lru.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait LruDB: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ra_ap_query-group-macro` (test "multiple_dbs") due to 4 previous errors [INFO] [stdout] error: expected `struct` [INFO] [stdout] --> tests/result.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | fn input_string(&self) -> String; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `query_group_macro` [INFO] [stdout] --> tests/result.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use query_group_macro::query_group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `query_group_macro` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `query_group_macro`, use `cargo add query_group_macro` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke_interned` in `salsa` [INFO] [stdout] --> tests/result.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | #[salsa::invoke_interned(length)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `invoke_interned` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke_interned` in `salsa` [INFO] [stdout] --> tests/result.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | #[salsa::invoke_interned(length2)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `invoke_interned` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `query_group_macro` [INFO] [stdout] --> tests/old_and_new.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use query_group_macro::query_group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `query_group_macro` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `query_group_macro`, use `cargo add query_group_macro` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke` in `salsa` [INFO] [stdout] --> tests/old_and_new.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | #[salsa::invoke(invoke_length_query_actual)] [INFO] [stdout] | ^^^^^^ could not find `invoke` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke` in `salsa` [INFO] [stdout] --> tests/old_and_new.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | #[salsa::invoke(invoke_length_tracked_actual)] [INFO] [stdout] | ^^^^^^ could not find `invoke` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `struct` [INFO] [stdout] --> tests/tuples.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | fn input_string(&self) -> String; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `query_group_macro` [INFO] [stdout] --> tests/tuples.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use query_group_macro::query_group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `query_group_macro` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `query_group_macro`, use `cargo add query_group_macro` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke_interned` in `salsa` [INFO] [stdout] --> tests/tuples.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | #[salsa::invoke_interned(length_query)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `invoke_interned` in `salsa` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `query_group_macro` [INFO] [stdout] --> tests/supertrait.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use query_group_macro::query_group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `query_group_macro` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `query_group_macro`, use `cargo add query_group_macro` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `invoke_interned` in `salsa` [INFO] [stdout] --> tests/supertrait.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[salsa::invoke_interned(parse)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `invoke_interned` in `salsa` [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: expected `struct` [INFO] [stdout] --> tests/interned.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | fn intern_string(&self, data: String) -> InternedString; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `query_group_macro` [INFO] [stdout] --> tests/interned.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use query_group_macro::query_group; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `query_group_macro` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `query_group_macro`, use `cargo add query_group_macro` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ra_ap_query-group-macro` (test "lru") due to 10 previous errors [INFO] [stdout] error[E0599]: no method named `lookup_intern_string` found for reference `&(dyn InternedDB + 'static)` in the current scope [INFO] [stdout] --> tests/interned.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | db.lookup_intern_string(id).len() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `intern_string` with a similar name [INFO] [stdout] | [INFO] [stdout] 23 - db.lookup_intern_string(id).len() [INFO] [stdout] 23 + db.intern_string(id).len() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern_string` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/interned.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let id = db.intern_string(String::from("Hello, world!")); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `intern_string` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `InternedDB` defines an item `intern_string`, perhaps you need to implement it [INFO] [stdout] --> tests/interned.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait InternedDB: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lookup_intern_string` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/interned.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let s = db.lookup_intern_string(id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `lookup_intern_string` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `intern_string` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/interned.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let id = db.intern_string(String::from("Hello, world!")); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `intern_string` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `InternedDB` defines an item `intern_string`, perhaps you need to implement it [INFO] [stdout] --> tests/interned.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait InternedDB: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ra_ap_query-group-macro` (test "supertrait") due to 2 previous errors [INFO] [stdout] error[E0599]: no method named `interned_len` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/interned.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | let len = db.interned_len(id); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `interned_len` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `InternedDB` defines an item `interned_len`, perhaps you need to implement it [INFO] [stdout] --> tests/interned.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait InternedDB: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `salsa::plumbing::AsId` [INFO] [stdout] --> tests/interned.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use salsa::plumbing::AsId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_input_string` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/hello_world.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | db.set_input_string(String::from("Hello, world!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `set_input_string` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ra_ap_query-group-macro` (test "interned") due to 7 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `length_query` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/hello_world.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | let len = db.length_query(()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `length_query` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `HelloWorldDatabase` defines an item `length_query`, perhaps you need to implement it [INFO] [stdout] --> tests/hello_world.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait HelloWorldDatabase: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find method or associated constant `zalsa_register_downcaster` in trait `PartialMigrationDatabase` [INFO] [stdout] --> tests/old_and_new.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[salsa_macros::tracked] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `PartialMigrationDatabase` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `salsa::plumbing::setup_tracked_fn` which comes from the expansion of the attribute macro `salsa_macros::tracked` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_input_string` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/hello_world.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | db.set_input_string(String::from("Hello, world!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `set_input_string` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find method or associated constant `zalsa_register_downcaster` in trait `PartialMigrationDatabase` [INFO] [stdout] --> tests/old_and_new.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[salsa_macros::tracked] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `PartialMigrationDatabase` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `salsa::plumbing::setup_tracked_fn` which comes from the expansion of the attribute macro `salsa_macros::tracked` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find method or associated constant `zalsa_register_downcaster` in trait `PartialMigrationDatabase` [INFO] [stdout] --> tests/old_and_new.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | #[salsa_macros::tracked] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `PartialMigrationDatabase` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `salsa::plumbing::setup_tracked_fn` which comes from the expansion of the attribute macro `salsa_macros::tracked` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0576]: cannot find method or associated constant `zalsa_register_downcaster` in trait `PartialMigrationDatabase` [INFO] [stdout] --> tests/old_and_new.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | #[salsa_macros::tracked] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `PartialMigrationDatabase` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `salsa::plumbing::setup_tracked_fn` which comes from the expansion of the attribute macro `salsa_macros::tracked` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `invoke_length_query` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/hello_world.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | let len = db.invoke_length_query(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `invoke_length_query` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `HelloWorldDatabase` defines an item `invoke_length_query`, perhaps you need to implement it [INFO] [stdout] --> tests/hello_world.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait HelloWorldDatabase: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `into_either` with a similar name [INFO] [stdout] | [INFO] [stdout] 79 - let len = db.invoke_length_query(()); [INFO] [stdout] 79 + let len = db.into_either(()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_input_string` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/hello_world.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | db.set_input_string(String::from("Hello, world!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `set_input_string` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `transparent_length` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/hello_world.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | let len = db.transparent_length(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `transparent_length` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `HelloWorldDatabase` defines an item `transparent_length`, perhaps you need to implement it [INFO] [stdout] --> tests/hello_world.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait HelloWorldDatabase: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_input_string` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/result.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | db.set_input_string(input.to_owned()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `set_input_string` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_input_string` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/hello_world.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | db.set_input_string(String::from("Hello, world!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `set_input_string` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/result.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | assert_eq!(db.length(()), Ok(input.len())); [INFO] [stdout] | ^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `length` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `ResultDatabase` defines an item `length`, perhaps you need to implement it [INFO] [stdout] --> tests/result.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ResultDatabase: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length2` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/result.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(db.length2(()), Ok(input.len())); [INFO] [stdout] | ^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `length2` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `ResultDatabase` defines an item `length2`, perhaps you need to implement it [INFO] [stdout] --> tests/result.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ResultDatabase: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `transparent_and_invoke_length` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/hello_world.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | let len = db.transparent_and_invoke_length(()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `transparent_and_invoke_length` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `HelloWorldDatabase` defines an item `transparent_and_invoke_length`, perhaps you need to implement it [INFO] [stdout] --> tests/hello_world.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait HelloWorldDatabase: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length_query` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/old_and_new.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | let len = db.length_query(input); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `length_query` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `PartialMigrationDatabase` defines an item `length_query`, perhaps you need to implement it [INFO] [stdout] --> tests/old_and_new.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | trait PartialMigrationDatabase: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ra_ap_query-group-macro` (test "hello_world") due to 15 previous errors [INFO] [stderr] error: could not compile `ra_ap_query-group-macro` (test "result") due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `invoke_length_query` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/old_and_new.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | let len = db.invoke_length_query(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `invoke_length_query` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `PartialMigrationDatabase` defines an item `invoke_length_query`, perhaps you need to implement it [INFO] [stdout] --> tests/old_and_new.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | trait PartialMigrationDatabase: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is a method `into_either` with a similar name [INFO] [stdout] | [INFO] [stdout] 58 - let len = db.invoke_length_query(input); [INFO] [stdout] 58 + let len = db.into_either(input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_input_string` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/tuples.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | db.set_input_string(String::from("Hello, world!")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `set_input_string` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `invoke_length_tracked` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/old_and_new.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | let len = db.invoke_length_tracked(input); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `invoke_length_tracked` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `PartialMigrationDatabase` defines an item `invoke_length_tracked`, perhaps you need to implement it [INFO] [stdout] --> tests/old_and_new.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | trait PartialMigrationDatabase: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LoggerDb: PartialMigrationDatabase` is not satisfied [INFO] [stdout] --> tests/old_and_new.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | let len = new_salsa_length_query(&db, input); [INFO] [stdout] | ^^^ the trait `PartialMigrationDatabase` is not implemented for `LoggerDb` [INFO] [stdout] | [INFO] [stdout] help: this trait has no implementations, consider adding one [INFO] [stdout] --> tests/old_and_new.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | trait PartialMigrationDatabase: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required for the cast from `&LoggerDb` to `&(dyn PartialMigrationDatabase + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `length_query` found for struct `LoggerDb` in the current scope [INFO] [stdout] --> tests/tuples.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | let len = db.length_query(()); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `LoggerDb` [INFO] [stdout] | [INFO] [stdout] ::: tests/logger_db.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct LoggerDb { [INFO] [stdout] | -------------------------- method `length_query` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `HelloWorldDatabase` defines an item `length_query`, perhaps you need to implement it [INFO] [stdout] --> tests/tuples.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait HelloWorldDatabase: salsa::Database { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0576, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ra_ap_query-group-macro` (test "tuples") due to 5 previous errors [INFO] [stderr] error: could not compile `ra_ap_query-group-macro` (test "old_and_new") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "95b6f363845c9fec3902c9bc9f88757c068165810c2f483d873326a16cf66839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95b6f363845c9fec3902c9bc9f88757c068165810c2f483d873326a16cf66839", kill_on_drop: false }` [INFO] [stdout] 95b6f363845c9fec3902c9bc9f88757c068165810c2f483d873326a16cf66839