[INFO] fetching crate ohlcv 0.0.3... [INFO] testing ohlcv-0.0.3 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate ohlcv 0.0.3 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate ohlcv 0.0.3 [INFO] finished tweaking crates.io crate ohlcv 0.0.3 [INFO] tweaked toml for crates.io crate ohlcv 0.0.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ohlcv 0.0.3 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 213 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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 md-5 v0.10.6 [INFO] [stderr] Downloaded sqlx-macros v0.8.6 [INFO] [stderr] Downloaded etcetera v0.8.0 [INFO] [stderr] Downloaded slugify v0.1.0 [INFO] [stderr] Downloaded atoi v2.0.0 [INFO] [stderr] Downloaded bytecheck_derive v0.6.12 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.6 [INFO] [stderr] Downloaded pem-rfc7468 v0.7.0 [INFO] [stderr] Downloaded pkcs1 v0.7.5 [INFO] [stderr] Downloaded unicode-bidi v0.3.18 [INFO] [stderr] Downloaded sqlx-mysql v0.8.6 [INFO] [stderr] Downloaded rsa v0.9.10 [INFO] [stderr] Downloaded unidecode v0.3.0 [INFO] [stderr] Downloaded sqlx-postgres v0.8.6 [INFO] [stderr] Downloaded rust_decimal v1.41.0 [INFO] [stderr] Downloaded sqlx v0.8.6 [INFO] [stderr] Downloaded futures-intrusive v0.5.0 [INFO] [stderr] Downloaded rkyv v0.7.46 [INFO] [stderr] Downloaded sqlx-core v0.8.6 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.6 [INFO] [stderr] Downloaded unicode-properties v0.1.4 [INFO] [stderr] Downloaded whoami v1.6.1 [INFO] [stderr] Downloaded dotenvy v0.15.7 [INFO] [stderr] Downloaded stringprep v0.1.5 [INFO] [stderr] Downloaded ptr_meta v0.1.4 [INFO] [stderr] Downloaded wasite v0.1.0 [INFO] [stderr] Downloaded crc-catalog v2.4.0 [INFO] [stderr] Downloaded crc v3.4.0 [INFO] [stderr] Downloaded ptr_meta_derive v0.1.4 [INFO] [stderr] Downloaded rend v0.4.2 [INFO] [stderr] Downloaded rkyv_derive v0.7.46 [INFO] [stderr] Downloaded seahash v4.1.0 [INFO] [stderr] Downloaded bytecheck v0.6.12 [INFO] [stderr] Downloaded libsqlite3-sys v0.30.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23a8301ea643acc8c851f60fd152883c694aa661659ae1092aeb323746330fbb [INFO] running `Command { std: "docker" "start" "-a" "23a8301ea643acc8c851f60fd152883c694aa661659ae1092aeb323746330fbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23a8301ea643acc8c851f60fd152883c694aa661659ae1092aeb323746330fbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a8301ea643acc8c851f60fd152883c694aa661659ae1092aeb323746330fbb", kill_on_drop: false }` [INFO] [stdout] 23a8301ea643acc8c851f60fd152883c694aa661659ae1092aeb323746330fbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2db0bced6f59a9063c7c67f22d79f9de2aa69463e89a469e95469c6d08cf7b41 [INFO] running `Command { std: "docker" "start" "-a" "2db0bced6f59a9063c7c67f22d79f9de2aa69463e89a469e95469c6d08cf7b41", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rust_decimal v1.41.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unidecode v0.3.0 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling slugify v0.1.0 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling ohlcv v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error: At least one of the features 'mysql', 'postgres', or 'sqlite' must be enabled. [INFO] [stdout] --> src/lib.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | compile_error!("At least one of the features 'mysql', 'postgres', or 'sqlite' must be enabled."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&mut DbType` is non-empty [INFO] [stdout] --> src/database/dbtype.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | match self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DbType` defined here [INFO] [stdout] --> src/database/dbtype.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum DbType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: the matched value is of type `&mut DbType` [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] 79 ~ match self { [INFO] [stdout] 80 + _ => todo!(), [INFO] [stdout] 81 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&mut DbType` is non-empty [INFO] [stdout] --> src/database/dbtype.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | match self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DbType` defined here [INFO] [stdout] --> src/database/dbtype.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum DbType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: the matched value is of type `&mut DbType` [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] 94 ~ match self { [INFO] [stdout] 95 + _ => todo!(), [INFO] [stdout] 96 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&DbType` is non-empty [INFO] [stdout] --> src/database/dbtype.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | match self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DbType` defined here [INFO] [stdout] --> src/database/dbtype.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum DbType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: the matched value is of type `&DbType` [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] 53 ~ match self { [INFO] [stdout] 54 + _ => todo!(), [INFO] [stdout] 55 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: type `&DbType` is non-empty [INFO] [stdout] --> src/database/dbtype.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | match self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `DbType` defined here [INFO] [stdout] --> src/database/dbtype.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum DbType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: the matched value is of type `&DbType` [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] 64 ~ match self { [INFO] [stdout] 65 + _ => todo!(), [INFO] [stdout] 66 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/error.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | SqlCommon(Box), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/error.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | SqlConnect(String, Box), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/error.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | SqlCreateTable(String, Box), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/error.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | SqlDropTable(String, Box), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/error.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | SqlDropType(String, Box), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `sqlx` in this scope [INFO] [stdout] --> src/error.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | SqlSelect(Box), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sqlx` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sqlx`, use `cargo add sqlx` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ohlcv` (lib) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "2db0bced6f59a9063c7c67f22d79f9de2aa69463e89a469e95469c6d08cf7b41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2db0bced6f59a9063c7c67f22d79f9de2aa69463e89a469e95469c6d08cf7b41", kill_on_drop: false }` [INFO] [stdout] 2db0bced6f59a9063c7c67f22d79f9de2aa69463e89a469e95469c6d08cf7b41