[INFO] cloning repository https://github.com/kendru/ransomdb-experiments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kendru/ransomdb-experiments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkendru%2Fransomdb-experiments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkendru%2Fransomdb-experiments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90ee1a721be23447564a177704bbdc671c4f4cbe [INFO] building kendru/ransomdb-experiments against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkendru%2Fransomdb-experiments" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kendru/ransomdb-experiments on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kendru/ransomdb-experiments [INFO] finished tweaking git repo https://github.com/kendru/ransomdb-experiments [INFO] tweaked toml for git repo https://github.com/kendru/ransomdb-experiments written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kendru/ransomdb-experiments 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/worker/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/query/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/coordinator/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c64714c561a0ccc35a027d4fa50b66bfdaeabd2cdd147390c4060cd06ec3fc35 [INFO] running `Command { std: "docker" "start" "-a" "c64714c561a0ccc35a027d4fa50b66bfdaeabd2cdd147390c4060cd06ec3fc35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c64714c561a0ccc35a027d4fa50b66bfdaeabd2cdd147390c4060cd06ec3fc35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c64714c561a0ccc35a027d4fa50b66bfdaeabd2cdd147390c4060cd06ec3fc35", kill_on_drop: false }` [INFO] [stdout] c64714c561a0ccc35a027d4fa50b66bfdaeabd2cdd147390c4060cd06ec3fc35 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5412c4476d65964e886f99a74a136e15ddd1590396c2a43c70e0e4609a241e5c [INFO] running `Command { std: "docker" "start" "-a" "5412c4476d65964e886f99a74a136e15ddd1590396c2a43c70e0e4609a241e5c", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/worker/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/coordinator/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/query/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling query v0.1.0 (/opt/rustwide/workdir/query) [INFO] [stderr] Compiling worker v0.1.0 (/opt/rustwide/workdir/worker) [INFO] [stderr] Compiling coordinator v0.1.0 (/opt/rustwide/workdir/coordinator) [INFO] [stdout] error: expected pattern, found `let` [INFO] [stdout] --> query/src/compiler/analyzer.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let join_clause = self.from_clause_to_join(from); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary `let` keyword [INFO] [stdout] | [INFO] [stdout] 43 - let join_clause = self.from_clause_to_join(from); [INFO] [stdout] 43 + join_clause = self.from_clause_to_join(from); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `+`, `::`, `where`, or `{`, found keyword `fn` [INFO] [stdout] --> query/src/compiler/analyzer.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a, T: Catalog + 'a> Analyzer<'a, T> { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 62 | fn from_clause_to_join(&self, tables: Vec) -> Result [INFO] [stdout] | - expected one of `!`, `+`, `::`, `where`, or `{` [INFO] [stdout] 63 | [INFO] [stdout] 64 | fn bind_table_ref( [INFO] [stdout] | ^^ unexpected token [INFO] [stdout] ... [INFO] [stdout] 253 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `query_tables` in this scope [INFO] [stdout] --> query/src/compiler/analyzer.rs:51:57 [INFO] [stdout] | [INFO] [stdout] 51 | self.bind_table_ref(table_ref, &mut query_tables, None)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Result` [INFO] [stdout] --> query/src/ast/expr.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use error::{Error, Result}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DbType` [INFO] [stdout] --> query/src/catalog/mod.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use catalog::schema::{DbType, SchemaObject}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColumnExpr` and `Expr` [INFO] [stdout] --> query/src/compiler/analyzer.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use ast::expr::{ColumnExpr, Expr}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SelectExpr` and `TableRef` [INFO] [stdout] --> query/src/compiler/analyzer.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use ast::query::{Query, SelectExpr, SelectQuery, TableRef}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::query_plan` [INFO] [stdout] --> query/src/compiler/analyzer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ast::query_plan; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlanNode` [INFO] [stdout] --> query/src/compiler/analyzer.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use ast::query_plan::{QueryPlan, PlanNode}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> query/src/compiler/analyzer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `from_clause_to_join` found for reference `&Analyzer<'a, T>` in the current scope [INFO] [stdout] --> query/src/compiler/analyzer.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | let join_clause = self.from_clause_to_join(from); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method not found in `&Analyzer<'a, T>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bind_table_ref` found for reference `&Analyzer<'a, T>` in the current scope [INFO] [stdout] --> query/src/compiler/analyzer.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | self.bind_table_ref(table_ref, &mut query_tables, None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `&Analyzer<'a, T>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> query/src/compiler/analyzer.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 33 | fn bind_select_query(&self, query: &Query) -> Result { [INFO] [stdout] | ----------------- expected `std::result::Result` because of return type [INFO] [stdout] ... [INFO] [stdout] 50 | / for table_ref in from.into_iter() { [INFO] [stdout] 51 | | self.bind_table_ref(table_ref, &mut query_tables, None)?; [INFO] [stdout] 52 | | } [INFO] [stdout] | |_________________^ expected `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: `for` loops evaluate to unit type `()` [INFO] [stdout] help: try adding an expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 52 ~ } [INFO] [stdout] 53 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `query::SelectQuery` has no field named `where_` [INFO] [stdout] --> query/src/compiler/parser.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | where_: where_expr, [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 41 | where: where_expr, [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_line` [INFO] [stdout] --> query/src/compiler/lexer.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | let f_line = self.line; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_f_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> query/src/compiler/parser.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | if let Some(op) = self.try_parse_wildcard() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> query/src/compiler/parser.rs:224:41 [INFO] [stdout] | [INFO] [stdout] 224 | fn must_parse_outer_join(&mut self, left: TableRef) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> query/src/compiler/parser.rs:228:43 [INFO] [stdout] | [INFO] [stdout] 228 | fn must_parse_natural_join(&mut self, left: TableRef) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fraction` [INFO] [stdout] --> query/src/compiler/parser.rs:466:17 [INFO] [stdout] | [INFO] [stdout] 466 | fraction, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `fraction: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `query` (lib) due to 7 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5412c4476d65964e886f99a74a136e15ddd1590396c2a43c70e0e4609a241e5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5412c4476d65964e886f99a74a136e15ddd1590396c2a43c70e0e4609a241e5c", kill_on_drop: false }` [INFO] [stdout] 5412c4476d65964e886f99a74a136e15ddd1590396c2a43c70e0e4609a241e5c