[INFO] fetching crate toql_core 0.4.2... [INFO] checking toql_core-0.4.2 against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] extracting crate toql_core 0.4.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate toql_core 0.4.2 on toolchain 8ea250bdb76176ecb0225baa34aa634b024ae0e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate toql_core 0.4.2 [INFO] finished tweaking crates.io crate toql_core 0.4.2 [INFO] tweaked toml for crates.io crate toql_core 0.4.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91fe6c2d19df8e2608d7f881c6776e970c507110d14184320c7348aa6f003462 [INFO] running `Command { std: "docker" "start" "-a" "91fe6c2d19df8e2608d7f881c6776e970c507110d14184320c7348aa6f003462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91fe6c2d19df8e2608d7f881c6776e970c507110d14184320c7348aa6f003462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91fe6c2d19df8e2608d7f881c6776e970c507110d14184320c7348aa6f003462", kill_on_drop: false }` [INFO] [stdout] 91fe6c2d19df8e2608d7f881c6776e970c507110d14184320c7348aa6f003462 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61e06e16693e5c2bde6b7a1747d0fe83d4fd9869736eb353ea484964c44c4a85 [INFO] running `Command { std: "docker" "start" "-a" "61e06e16693e5c2bde6b7a1747d0fe83d4fd9869736eb353ea484964c44c4a85", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling once_cell v1.14.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking iana-time-zone v0.1.48 [INFO] [stderr] Checking unicode-segmentation v1.10.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking lru v0.6.6 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking pest v2.3.1 [INFO] [stderr] Checking enquote v1.1.0 [INFO] [stderr] Compiling pest_meta v2.3.1 [INFO] [stderr] Compiling pest_generator v2.3.1 [INFO] [stderr] Compiling pest_derive v2.3.1 [INFO] [stderr] Checking toql_sql_expr_parser v0.4.0 [INFO] [stderr] Checking toql_role_expr_parser v0.4.0 [INFO] [stderr] Checking toql_query_parser v0.4.0 [INFO] [stderr] Checking toql_core v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0391]: cycle detected when type-checking `mock_db::backend::::insert_sql` [INFO] [stdout] --> src/mock_db/backend.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `mock_db::backend::::insert_sql`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `mock_db::backend::::insert_sql` [INFO] [stdout] --> src/mock_db/backend.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: ...which requires generator glue MIR for `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires elaborating drops for `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires borrow-checking `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires processing MIR for `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires unsafety-checking `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires building MIR for `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] note: ...which requires type-checking `mock_db::backend::::insert_sql::{closure#0}`... [INFO] [stdout] --> src/mock_db/backend.rs:35:69 [INFO] [stdout] | [INFO] [stdout] 35 | async fn insert_sql(&mut self, sql: Sql) -> Result> { [INFO] [stdout] | _____________________________________________________________________^ [INFO] [stdout] 36 | | log_mut_sql!(&sql); [INFO] [stdout] 37 | | // Count number of closing parens to guess number of rows [INFO] [stdout] 38 | | let number_of_rows: u64 = sql.0.chars().filter(|c| c == &')').count() as u64 - 1; [INFO] [stdout] ... | [INFO] [stdout] 45 | | Ok(ids) [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] = note: ...which again requires type-checking `mock_db::backend::::insert_sql`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toql_core` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toql_core` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "61e06e16693e5c2bde6b7a1747d0fe83d4fd9869736eb353ea484964c44c4a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61e06e16693e5c2bde6b7a1747d0fe83d4fd9869736eb353ea484964c44c4a85", kill_on_drop: false }` [INFO] [stdout] 61e06e16693e5c2bde6b7a1747d0fe83d4fd9869736eb353ea484964c44c4a85