[INFO] fetching crate canyon_connection 0.5.1... [INFO] checking canyon_connection-0.5.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate canyon_connection 0.5.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate canyon_connection 0.5.1 [INFO] finished tweaking crates.io crate canyon_connection 0.5.1 [INFO] tweaked toml for crates.io crate canyon_connection 0.5.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate canyon_connection 0.5.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 380 packages to latest compatible versions [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.0) [INFO] [stderr] Adding mysql_async v0.32.2 (available: v0.36.1) [INFO] [stderr] Adding mysql_common v0.30.6 (available: v0.35.5) [INFO] [stderr] Adding toml v0.7.8 (available: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libgssapi-sys v0.2.4 [INFO] [stderr] Downloaded libgssapi v0.4.6 [INFO] [stderr] Downloaded pem v2.0.1 [INFO] [stderr] Downloaded mysql-common-derive v0.30.2 [INFO] [stderr] Downloaded mysql_common v0.30.6 [INFO] [stderr] Downloaded mysql_async v0.32.2 [INFO] [stderr] Downloaded bindgen v0.72.1 [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5cb55cddd36250a33678ea9db3f89522fa7bf810e700a71e93c27ddbf875154 [INFO] running `Command { std: "docker" "start" "-a" "b5cb55cddd36250a33678ea9db3f89522fa7bf810e700a71e93c27ddbf875154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5cb55cddd36250a33678ea9db3f89522fa7bf810e700a71e93c27ddbf875154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5cb55cddd36250a33678ea9db3f89522fa7bf810e700a71e93c27ddbf875154", kill_on_drop: false }` [INFO] [stdout] b5cb55cddd36250a33678ea9db3f89522fa7bf810e700a71e93c27ddbf875154 [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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21927a92bf7caa2f13fb20d434d46f82164ace47cfb9aa152c0554e37d970e88 [INFO] running `Command { std: "docker" "start" "-a" "21927a92bf7caa2f13fb20d434d46f82164ace47cfb9aa152c0554e37d970e88", kill_on_drop: false }` [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking canyon_connection v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/canyon_database_connector.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | ) -> Result> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - ) -> Result> { [INFO] [stdout] 79 + ) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/canyon_database_connector.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | ) -> Result> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - ) -> Result> { [INFO] [stdout] 79 + ) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/canyon_database_connector.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::CanyonSqlConfig` [INFO] [stdout] --> src/canyon_database_connector.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | use crate::CanyonSqlConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/canyon_database_connector.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | match datasource.get_db_type() { [INFO] [stdout] | ^ ------------------------ any code following this expression is unreachable [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 81 | | #[cfg(feature = "postgres")] [INFO] [stdout] 82 | | DatabaseType::PostgreSql => { [INFO] [stdout] 83 | | let (username, password) = match &datasource.auth { [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseType`, which is uninhabited [INFO] [stdout] --> src/canyon_database_connector.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | match datasource.get_db_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / for datasource in DATASOURCES.iter() { [INFO] [stdout] 74 | | CACHED_DATABASE_CONN.lock().await.insert( [INFO] [stdout] 75 | | &datasource.name, [INFO] [stdout] 76 | |/ DatabaseConnection::new(datasource) [INFO] [stdout] 77 | || .await [INFO] [stdout] 78 | || .unwrap_or_else(|_| { [INFO] [stdout] 79 | || panic!( [INFO] [stdout] ... || [INFO] [stdout] 83 | || }), [INFO] [stdout] | ||__________________- any code following this expression is unreachable [INFO] [stdout] 84 | | ); [INFO] [stdout] 85 | | } [INFO] [stdout] | |______^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseConnection`, which is uninhabited [INFO] [stdout] --> src/lib.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | / DatabaseConnection::new(datasource) [INFO] [stdout] 77 | | .await [INFO] [stdout] 78 | | .unwrap_or_else(|_| { [INFO] [stdout] 79 | | panic!( [INFO] [stdout] ... | [INFO] [stdout] 83 | | }), [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/canyon_database_connector.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | match datasource.get_db_type() { [INFO] [stdout] | ^ ------------------------ any code following this expression is unreachable [INFO] [stdout] | _________| [INFO] [stdout] | | [INFO] [stdout] 81 | | #[cfg(feature = "postgres")] [INFO] [stdout] 82 | | DatabaseType::PostgreSql => { [INFO] [stdout] 83 | | let (username, password) = match &datasource.auth { [INFO] [stdout] ... | [INFO] [stdout] 208 | | } [INFO] [stdout] | |_________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseType`, which is uninhabited [INFO] [stdout] --> src/canyon_database_connector.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | match datasource.get_db_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / for datasource in DATASOURCES.iter() { [INFO] [stdout] 74 | | CACHED_DATABASE_CONN.lock().await.insert( [INFO] [stdout] 75 | | &datasource.name, [INFO] [stdout] 76 | |/ DatabaseConnection::new(datasource) [INFO] [stdout] 77 | || .await [INFO] [stdout] 78 | || .unwrap_or_else(|_| { [INFO] [stdout] 79 | || panic!( [INFO] [stdout] ... || [INFO] [stdout] 83 | || }), [INFO] [stdout] | ||__________________- any code following this expression is unreachable [INFO] [stdout] 84 | | ); [INFO] [stdout] 85 | | } [INFO] [stdout] | |______^ unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DatabaseConnection`, which is uninhabited [INFO] [stdout] --> src/lib.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | / DatabaseConnection::new(datasource) [INFO] [stdout] 77 | | .await [INFO] [stdout] 78 | | .unwrap_or_else(|_| { [INFO] [stdout] 79 | | panic!( [INFO] [stdout] ... | [INFO] [stdout] 83 | | }), [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&Auth` is non-empty [INFO] [stdout] --> src/canyon_database_connector.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | match value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Auth` defined here [INFO] [stdout] --> src/datasources.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | pub enum Auth { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: the matched value is of type `&Auth` [INFO] [stdout] = note: references are always considered inhabited [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown [INFO] [stdout] | [INFO] [stdout] 30 ~ match value { [INFO] [stdout] 31 + _ => todo!(), [INFO] [stdout] 32 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&Auth` is non-empty [INFO] [stdout] --> src/canyon_database_connector.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | match value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Auth` defined here [INFO] [stdout] --> src/datasources.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | pub enum Auth { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: the matched value is of type `&Auth` [INFO] [stdout] = note: references are always considered inhabited [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown [INFO] [stdout] | [INFO] [stdout] 30 ~ match value { [INFO] [stdout] 31 + _ => todo!(), [INFO] [stdout] 32 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `canyon_connection` (lib) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `canyon_connection` (lib test) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "21927a92bf7caa2f13fb20d434d46f82164ace47cfb9aa152c0554e37d970e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21927a92bf7caa2f13fb20d434d46f82164ace47cfb9aa152c0554e37d970e88", kill_on_drop: false }` [INFO] [stdout] 21927a92bf7caa2f13fb20d434d46f82164ace47cfb9aa152c0554e37d970e88