[INFO] cloning repository https://github.com/TinyTinni/RegAn
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TinyTinni/RegAn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinyTinni%2FRegAn", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinyTinni%2FRegAn'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a9046a78d644e8a0740ef5c634b3839856fb7678
[INFO] documenting TinyTinni/RegAn against nightly for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTinyTinni%2FRegAn" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/TinyTinni/RegAn on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/TinyTinni/RegAn
[INFO] finished tweaking git repo https://github.com/TinyTinni/RegAn
[INFO] tweaked toml for git repo https://github.com/TinyTinni/RegAn written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/TinyTinni/RegAn already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "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 actix-files v0.6.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 966a271450f7cb440b27aa4e9728b93b23176725042aa4eff2ae34fb4aefb6ec
[INFO] running `Command { std: "docker" "start" "-a" "966a271450f7cb440b27aa4e9728b93b23176725042aa4eff2ae34fb4aefb6ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "966a271450f7cb440b27aa4e9728b93b23176725042aa4eff2ae34fb4aefb6ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "966a271450f7cb440b27aa4e9728b93b23176725042aa4eff2ae34fb4aefb6ec", kill_on_drop: false }`
[INFO] [stdout] 966a271450f7cb440b27aa4e9728b93b23176725042aa4eff2ae34fb4aefb6ec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6dd746d7846c192b7139cf8a432c2798ec8e5b74babc83fc1d65d128129aa747
[INFO] running `Command { std: "docker" "start" "-a" "6dd746d7846c192b7139cf8a432c2798ec8e5b74babc83fc1d65d128129aa747", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.2
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking once_cell v1.13.0
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling crossbeam-utils v0.8.10
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]    Compiling serde_derive v1.0.139
[INFO] [stderr]    Compiling serde v1.0.139
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]     Checking hashbrown v0.12.2
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling crossbeam-queue v0.3.5
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling either v1.7.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.3
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]     Checking local-waker v0.1.3
[INFO] [stderr]    Compiling crc-catalog v1.1.1
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling event-listener v2.5.2
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]    Compiling anyhow v1.0.58
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]    Compiling firestorm v0.5.1
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking os_str_bytes v6.1.0
[INFO] [stderr]     Checking http-range v0.1.5
[INFO] [stderr]     Checking askama_escape v0.10.3
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]     Checking tracing-core v0.1.28
[INFO] [stderr]     Checking bytestring v1.1.0
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling tokio v1.20.0
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.9
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking alloc-stdlib v0.2.1
[INFO] [stderr]     Checking actix-utils v3.0.0
[INFO] [stderr]    Compiling crc v2.1.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking miniz_oxide v0.5.3
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking brotli-decompressor v2.3.2
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking tracing v0.1.35
[INFO] [stderr]     Checking unicode-normalization v0.1.21
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking nom v7.1.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.5
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking time v0.3.11
[INFO] [stderr]    Compiling spin v0.9.4
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling atoi v0.4.0
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking crypto-common v0.1.5
[INFO] [stderr]     Checking sqlformat v0.1.8
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling futures-intrusive v0.4.0
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]     Checking crossbeam v0.8.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling hashlink v0.7.0
[INFO] [stderr]     Checking sha2 v0.10.2
[INFO] [stderr]     Checking sha1 v0.10.1
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling libsqlite3-sys v0.24.2
[INFO] [stderr]    Compiling zstd-sys v2.0.1+zstd.1.5.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking actix-rt v2.7.0
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]     Checking tokio-stream v0.1.9
[INFO] [stderr]     Checking actix-codec v0.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.11
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]    Compiling clap_derive v3.2.7
[INFO] [stderr]    Compiling pin-project v1.0.11
[INFO] [stderr]    Compiling flume v0.10.13
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]     Checking clap v3.2.12
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]     Checking local-channel v0.1.3
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking actix-server v2.1.1
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking sqlx-rt v0.5.13
[INFO] [stderr]     Checking sqlx-core v0.5.13
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking actix-router v0.5.0
[INFO] [stderr]    Compiling actix-web-codegen v4.0.1
[INFO] [stderr]     Checking zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]     Checking actix-http v3.2.1
[INFO] [stderr]    Compiling sqlx-macros v0.5.13
[INFO] [stderr]     Checking actix-web v4.1.0
[INFO] [stderr]     Checking actix-files v0.6.1
[INFO] [stderr]     Checking sqlx v0.5.13
[INFO] [stderr]     Checking image_collection v0.1.0 (/opt/rustwide/workdir/image_collection)
[INFO] [stderr]  Documenting image_collection v0.1.0 (/opt/rustwide/workdir/image_collection)
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]   --> image_collection/src/lib.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |         sqlx::query_file!("./schema.sql").execute(&db).await?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_file` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]   --> image_collection/src/lib.rs:72:9
[INFO] [stdout]    |
[INFO] [stdout] 72 |         sqlx::query_file!("./schema.sql").execute(&db).await?;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_file` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]   --> image_collection/src/lib.rs:94:23
[INFO] [stdout]    |
[INFO] [stdout] 94 |           let players = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 95 | |             Player,
[INFO] [stdout] 96 | |             "SELECT name, rating, deviation FROM players ORDER BY rating"
[INFO] [stdout] 97 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]   --> image_collection/src/lib.rs:94:23
[INFO] [stdout]    |
[INFO] [stdout] 94 |           let players = sqlx::query_as!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 95 | |             Player,
[INFO] [stdout] 96 | |             "SELECT name, rating, deviation FROM players ORDER BY rating"
[INFO] [stdout] 97 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |         sqlx::query_file!("./schema.sql").execute(&db).await?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_file` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:132:9
[INFO] [stdout]     |
[INFO] [stdout] 132 |         sqlx::query_file!("./schema.sql").execute(&db).await?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_file` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:136:13
[INFO] [stdout]     |
[INFO] [stdout] 136 | /             sqlx::query!(
[INFO] [stdout] 137 | |                 "
[INFO] [stdout] 138 | |                 INSERT INTO players (name, rating, deviation) 
[INFO] [stdout] 139 | |                 VALUES (?, 2200, 350)
[INFO] [stdout] 140 | |                 ",
[INFO] [stdout] 141 | |                 i
[INFO] [stdout] 142 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:136:13
[INFO] [stdout]     |
[INFO] [stdout] 136 | /             sqlx::query!(
[INFO] [stdout] 137 | |                 "
[INFO] [stdout] 138 | |                 INSERT INTO players (name, rating, deviation) 
[INFO] [stdout] 139 | |                 VALUES (?, 2200, 350)
[INFO] [stdout] 140 | |                 ",
[INFO] [stdout] 141 | |                 i
[INFO] [stdout] 142 | |             )
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:227:20
[INFO] [stdout]     |
[INFO] [stdout] 227 |     let db_files = sqlx::query!("SELECT name FROM players")
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:227:20
[INFO] [stdout]     |
[INFO] [stdout] 227 |     let db_files = sqlx::query!("SELECT name FROM players")
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:240:13
[INFO] [stdout]     |
[INFO] [stdout] 240 |             sqlx::query!("DELETE FROM players WHERE name = ?", file)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:240:13
[INFO] [stdout]     |
[INFO] [stdout] 240 |             sqlx::query!("DELETE FROM players WHERE name = ?", file)
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 | /                 sqlx::query!(
[INFO] [stdout] 251 | |                     "
[INFO] [stdout] 252 | |                     INSERT INTO players (name, rating, deviation) 
[INFO] [stdout] 253 | |                     VALUES (?, 2200, 350)
[INFO] [stdout] 254 | |                     ",
[INFO] [stdout] 255 | |                     file
[INFO] [stdout] 256 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 | /                 sqlx::query!(
[INFO] [stdout] 251 | |                     "
[INFO] [stdout] 252 | |                     INSERT INTO players (name, rating, deviation) 
[INFO] [stdout] 253 | |                     VALUES (?, 2200, 350)
[INFO] [stdout] 254 | |                     ",
[INFO] [stdout] 255 | |                     file
[INFO] [stdout] 256 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:276:19
[INFO] [stdout]     |
[INFO] [stdout] 276 |       let rt_home = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 277 | |         Rating,
[INFO] [stdout] 278 | |         "SELECT rating, deviation FROM players WHERE id = ?",
[INFO] [stdout] 279 | |         m.home_id
[INFO] [stdout] 280 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:276:19
[INFO] [stdout]     |
[INFO] [stdout] 276 |       let rt_home = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 277 | |         Rating,
[INFO] [stdout] 278 | |         "SELECT rating, deviation FROM players WHERE id = ?",
[INFO] [stdout] 279 | |         m.home_id
[INFO] [stdout] 280 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:283:20
[INFO] [stdout]     |
[INFO] [stdout] 283 |       let rt_guest = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 284 | |         Rating,
[INFO] [stdout] 285 | |         "SELECT rating, deviation FROM players WHERE id = ?",
[INFO] [stdout] 286 | |         m.guest_id
[INFO] [stdout] 287 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:283:20
[INFO] [stdout]     |
[INFO] [stdout] 283 |       let rt_guest = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 284 | |         Rating,
[INFO] [stdout] 285 | |         "SELECT rating, deviation FROM players WHERE id = ?",
[INFO] [stdout] 286 | |         m.guest_id
[INFO] [stdout] 287 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:303:5
[INFO] [stdout]     |
[INFO] [stdout] 303 | /     sqlx::query!(
[INFO] [stdout] 304 | |         "UPDATE players SET rating = ?, deviation = ? WHERE id = ?",
[INFO] [stdout] 305 | |         rth_new.rating,
[INFO] [stdout] 306 | |         rth_new.deviation,
[INFO] [stdout] 307 | |         m.home_id
[INFO] [stdout] 308 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:303:5
[INFO] [stdout]     |
[INFO] [stdout] 303 | /     sqlx::query!(
[INFO] [stdout] 304 | |         "UPDATE players SET rating = ?, deviation = ? WHERE id = ?",
[INFO] [stdout] 305 | |         rth_new.rating,
[INFO] [stdout] 306 | |         rth_new.deviation,
[INFO] [stdout] 307 | |         m.home_id
[INFO] [stdout] 308 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:311:5
[INFO] [stdout]     |
[INFO] [stdout] 311 | /     sqlx::query!(
[INFO] [stdout] 312 | |         "UPDATE players SET rating = ?, deviation = ? WHERE id = ?",
[INFO] [stdout] 313 | |         rtg_new.rating,
[INFO] [stdout] 314 | |         rtg_new.deviation,
[INFO] [stdout] 315 | |         m.guest_id
[INFO] [stdout] 316 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:311:5
[INFO] [stdout]     |
[INFO] [stdout] 311 | /     sqlx::query!(
[INFO] [stdout] 312 | |         "UPDATE players SET rating = ?, deviation = ? WHERE id = ?",
[INFO] [stdout] 313 | |         rtg_new.rating,
[INFO] [stdout] 314 | |         rtg_new.deviation,
[INFO] [stdout] 315 | |         m.guest_id
[INFO] [stdout] 316 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:321:5
[INFO] [stdout]     |
[INFO] [stdout] 321 | /     sqlx::query!(
[INFO] [stdout] 322 | |         "INSERT INTO matches (home_players_id, guest_players_id, result, timestamp) VALUES (?, ?, ?, strftime('%Y-%m-%d %H %M','now'))",
[INFO] [stdout] 323 | |         m.home_id,
[INFO] [stdout] 324 | |         m.guest_id,
[INFO] [stdout] 325 | |         m.won
[INFO] [stdout] 326 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:321:5
[INFO] [stdout]     |
[INFO] [stdout] 321 | /     sqlx::query!(
[INFO] [stdout] 322 | |         "INSERT INTO matches (home_players_id, guest_players_id, result, timestamp) VALUES (?, ?, ?, strftime('%Y-%m-%d %H %M','now'))",
[INFO] [stdout] 323 | |         m.home_id,
[INFO] [stdout] 324 | |         m.guest_id,
[INFO] [stdout] 325 | |         m.won
[INFO] [stdout] 326 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:343:24
[INFO] [stdout]     |
[INFO] [stdout] 343 |       let home_players = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 344 | |         Player,
[INFO] [stdout] 345 | |         "SELECT id, rating, deviation AS deviation, name FROM players WHERE 
[INFO] [stdout] 346 | |              id IN 
[INFO] [stdout] ...   |
[INFO] [stdout] 350 | |         n_matches
[INFO] [stdout] 351 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:343:24
[INFO] [stdout]     |
[INFO] [stdout] 343 |       let home_players = sqlx::query_as!(
[INFO] [stdout]     |  ________________________^
[INFO] [stdout] 344 | |         Player,
[INFO] [stdout] 345 | |         "SELECT id, rating, deviation AS deviation, name FROM players WHERE 
[INFO] [stdout] 346 | |              id IN 
[INFO] [stdout] ...   |
[INFO] [stdout] 350 | |         n_matches
[INFO] [stdout] 351 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:363:15
[INFO] [stdout]     |
[INFO] [stdout] 363 |           match sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 364 | |             Player,
[INFO] [stdout] 365 | |             "SELECT id, rating, deviation, name FROM players 
[INFO] [stdout] 366 | |              WHERE id IN (SELECT id FROM players 
[INFO] [stdout] ...   |
[INFO] [stdout] 373 | |             lower
[INFO] [stdout] 374 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:363:15
[INFO] [stdout]     |
[INFO] [stdout] 363 |           match sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 364 | |             Player,
[INFO] [stdout] 365 | |             "SELECT id, rating, deviation, name FROM players 
[INFO] [stdout] 366 | |              WHERE id IN (SELECT id FROM players 
[INFO] [stdout] ...   |
[INFO] [stdout] 373 | |             lower
[INFO] [stdout] 374 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:385:33
[INFO] [stdout]     |
[INFO] [stdout] 385 |                   let random_id = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 386 | |                     Player,
[INFO] [stdout] 387 | |                         "SELECT id, rating, deviation, name FROM players
[INFO] [stdout] 388 | |                         WHERE id != $1 ORDER BY RANDOM()",
[INFO] [stdout] 389 | |                     home_id.id
[INFO] [stdout] 390 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error returned from database: attempt to write a readonly database
[INFO] [stdout]    --> image_collection/src/lib.rs:385:33
[INFO] [stdout]     |
[INFO] [stdout] 385 |                   let random_id = sqlx::query_as!(
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 386 | |                     Player,
[INFO] [stdout] 387 | |                         "SELECT id, rating, deviation, name FROM players
[INFO] [stdout] 388 | |                         WHERE id != $1 ORDER BY RANDOM()",
[INFO] [stdout] 389 | |                     home_id.id
[INFO] [stdout] 390 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not document `image_collection`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name image_collection image_collection/src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=30c086bce097bc2d -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-4fcb536d75eec0df.rmeta --extern crossbeam=/opt/rustwide/target/debug/deps/libcrossbeam-720f96daf98cf6a1.rmeta --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-4489d99f9a70d5c4.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-5c0089640d8f162f.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-79050d46c61221cc.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-b121883a1bc7f47a.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-8d272de7289e4dcc.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-0198354a05dc62a3.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-2d269f7f64dd3d6f.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-6d2f1198e9191d20.rmeta --extern tokio_stream=/opt/rustwide/target/debug/deps/libtokio_stream-c753a063bb059a1e.rmeta --cap-lints=allow --crate-version 0.1.0` (exit status: 1)
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `image_collection` due to 16 previous errors
[INFO] running `Command { std: "docker" "inspect" "6dd746d7846c192b7139cf8a432c2798ec8e5b74babc83fc1d65d128129aa747", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6dd746d7846c192b7139cf8a432c2798ec8e5b74babc83fc1d65d128129aa747", kill_on_drop: false }`
[INFO] [stdout] 6dd746d7846c192b7139cf8a432c2798ec8e5b74babc83fc1d65d128129aa747
