[INFO] cloning repository https://github.com/luscas18/orm-rust-scylladb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luscas18/orm-rust-scylladb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluscas18%2Form-rust-scylladb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluscas18%2Form-rust-scylladb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 002492ad45cd133f4d73579162d148f667cfd1ab [INFO] testing luscas18/orm-rust-scylladb against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluscas18%2Form-rust-scylladb" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/luscas18/orm-rust-scylladb [INFO] finished tweaking git repo https://github.com/luscas18/orm-rust-scylladb [INFO] tweaked toml for git repo https://github.com/luscas18/orm-rust-scylladb written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/luscas18/orm-rust-scylladb 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 git repo https://github.com/luscas18/orm-rust-scylladb 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f037386aa041c5fd29346a79f34440bd5e54988dcd348291ceaf4c33a7f333e9 [INFO] running `Command { std: "docker" "start" "-a" "f037386aa041c5fd29346a79f34440bd5e54988dcd348291ceaf4c33a7f333e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f037386aa041c5fd29346a79f34440bd5e54988dcd348291ceaf4c33a7f333e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f037386aa041c5fd29346a79f34440bd5e54988dcd348291ceaf4c33a7f333e9", kill_on_drop: false }` [INFO] [stdout] f037386aa041c5fd29346a79f34440bd5e54988dcd348291ceaf4c33a7f333e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 22f2c5ff7f6954e76c5947b108b457a5ac26da438d4c866b54f983ca98d32098 [INFO] running `Command { std: "docker" "start" "-a" "22f2c5ff7f6954e76c5947b108b457a5ac26da438d4c866b54f983ca98d32098", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling rand_pcg v0.9.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling scylla-macros v1.1.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling scylla-cql v1.1.0 [INFO] [stderr] Compiling scylla v1.1.0 [INFO] [stderr] Compiling orm_macro v0.1.0 (/opt/rustwide/workdir/orm_macro) [INFO] [stdout] warning: unused import: `scylla::statement::Statement` [INFO] [stdout] --> orm_macro/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use scylla::statement::Statement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling orm_scylla v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/mapping/registry.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let mut_ref = (registry_mut as *const HashMap as *mut HashMap); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - let mut_ref = (registry_mut as *const HashMap as *mut HashMap); [INFO] [stdout] 54 + let mut_ref = registry_mut as *const HashMap as *mut HashMap ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registry` [INFO] [stdout] --> src/mapping/registry.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let registry = get_mapping_registry(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registry` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `table` should have an upper case name [INFO] [stdout] --> src/mapping/attributes.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const table: fn(&'static str) -> Table = |name| Table { name }; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `TABLE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `column` should have an upper case name [INFO] [stdout] --> src/mapping/attributes.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const column: fn(&'static str) -> Column = |name| Column { name }; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `COLUMN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `primary_key` should have an upper case name [INFO] [stdout] --> src/mapping/attributes.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const primary_key: fn() -> PrimaryKey = || PrimaryKey {}; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `PRIMARY_KEY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `scylla::IntoTypedRows`, `scylla::Session`, `scylla::SessionBuilder` [INFO] [stdout] --> src/db.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use scylla::{IntoTypedRows, Session, SessionBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ no `SessionBuilder` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `Session` in the root [INFO] [stdout] | no `IntoTypedRows` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] scylla::client::session::Session [INFO] [stdout] = help: consider importing this type alias instead: [INFO] [stdout] scylla::client::session_builder::SessionBuilder [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `scylla::FromRow`, `scylla::ValueList`, `scylla::IntoTypedRows` [INFO] [stdout] --> src/model.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use scylla::{FromRow, SerializeRow, ValueList, IntoTypedRows}; // Import the trait to enable the `into_typed` method [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ no `IntoTypedRows` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `ValueList` in the root [INFO] [stdout] | no `FromRow` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Session` in crate `scylla` [INFO] [stdout] --> src/model.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, SerializeRow, FromRow, ValueList,ScyllaOrm)] // Deriva a macro ScyllaOrm para gerar os métodos [INFO] [stdout] | ^^^^^^^^^ not found in `scylla` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `ScyllaOrm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use scylla::client::session::Session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Statement` in `scylla` [INFO] [stdout] --> src/model.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, SerializeRow, FromRow, ValueList,ScyllaOrm)] // Deriva a macro ScyllaOrm para gerar os métodos [INFO] [stdout] | ^^^^^^^^^ could not find `Statement` in `scylla` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `ScyllaOrm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use scylla::statement::Statement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scylla::statement::Statement` [INFO] [stdout] --> src/model.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use scylla::statement::Statement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / SessionBuilder::new() [INFO] [stdout] 6 | | .known_node(uri) [INFO] [stdout] 7 | | .build() [INFO] [stdout] 8 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / session [INFO] [stdout] 43 | | .query(CREATE_KEYSPACE_QUERY, ()) [INFO] [stdout] 44 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / session [INFO] [stdout] 51 | | .query(CREATE_BOOKS_TABLE_QUERY, ()) [INFO] [stdout] 52 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / session [INFO] [stdout] 65 | | .query(ADD_BOOK_QUERY, book) [INFO] [stdout] 66 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | / session [INFO] [stdout] 73 | | .query(SELECT_BOOK_QUERY, select_book) [INFO] [stdout] 74 | | .await? [INFO] [stdout] | |_______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | .map(|row_result| row_result.map_err(|e| e.into())) // converte FromRowError -> Box [INFO] [stdout] | ^^^^^^^^^^ ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 78 | .map(|row_result: /* Type */| row_result.map_err(|e| e.into())) // converte FromRowError -> Box [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/db.rs:78:47 [INFO] [stdout] | [INFO] [stdout] 78 | .map(|row_result| row_result.map_err(|e| e.into())) // converte FromRowError -> Box [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 78 | .map(|row_result| row_result.map_err(|e: /* Type */| e.into())) // converte FromRowError -> Box [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/model.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, SerializeRow, FromRow, ValueList,ScyllaOrm)] // Deriva a macro ScyllaOrm para gerar os métodos [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `ScyllaOrm` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `orm_scylla` (bin "orm_scylla") due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "22f2c5ff7f6954e76c5947b108b457a5ac26da438d4c866b54f983ca98d32098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f2c5ff7f6954e76c5947b108b457a5ac26da438d4c866b54f983ca98d32098", kill_on_drop: false }` [INFO] [stdout] 22f2c5ff7f6954e76c5947b108b457a5ac26da438d4c866b54f983ca98d32098