[INFO] cloning repository https://github.com/Ciantic/rust-sqlx-experiment01 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ciantic/rust-sqlx-experiment01" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiantic%2Frust-sqlx-experiment01", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiantic%2Frust-sqlx-experiment01'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75ceaff9ac3711515270669a4fb5b25542fc4a7f [INFO] testing Ciantic/rust-sqlx-experiment01 against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCiantic%2Frust-sqlx-experiment01" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ciantic/rust-sqlx-experiment01 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ciantic/rust-sqlx-experiment01 [INFO] finished tweaking git repo https://github.com/Ciantic/rust-sqlx-experiment01 [INFO] tweaked toml for git repo https://github.com/Ciantic/rust-sqlx-experiment01 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Ciantic/rust-sqlx-experiment01 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d474228153854767ac6dbbaf2a464f185eeb96afc1c4f5be578230a0408a5d4a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d474228153854767ac6dbbaf2a464f185eeb96afc1c4f5be578230a0408a5d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d474228153854767ac6dbbaf2a464f185eeb96afc1c4f5be578230a0408a5d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d474228153854767ac6dbbaf2a464f185eeb96afc1c4f5be578230a0408a5d4a", kill_on_drop: false }` [INFO] [stdout] d474228153854767ac6dbbaf2a464f185eeb96afc1c4f5be578230a0408a5d4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f045c854dc64ea85053d6386cce9a4024364700c607b7e86d025868d0ce134da [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f045c854dc64ea85053d6386cce9a4024364700c607b7e86d025868d0ce134da", kill_on_drop: false }` [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling whoami v1.0.1 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling ahash v0.6.2 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling sqlformat v0.1.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling async-process v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling async-std v1.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling semver-parser v0.10.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo_metadata v0.12.1 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling sqlx-rt v0.2.0 [INFO] [stderr] Compiling sqlx-core v0.4.2 [INFO] [stderr] Compiling sqlx-macros v0.4.2 [INFO] [stderr] Compiling sqlx v0.4.2 [INFO] [stderr] Compiling rust-sqlx-experiment01 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> src/main.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | let row = sqlx::query_as!(Article, r#"select * from articles"#).fetch_one(&pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `migrate::Migrator` [INFO] [stdout] --> src/main.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Decode, error::BoxDynError, migrate::Migrator, sqlite::{SqlitePoolOptions, SqliteTypeInfo}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-sqlx-experiment01` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "f045c854dc64ea85053d6386cce9a4024364700c607b7e86d025868d0ce134da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f045c854dc64ea85053d6386cce9a4024364700c607b7e86d025868d0ce134da", kill_on_drop: false }` [INFO] [stdout] f045c854dc64ea85053d6386cce9a4024364700c607b7e86d025868d0ce134da