[INFO] cloning repository https://github.com/sdedovic/mpd-wrapped
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sdedovic/mpd-wrapped" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdedovic%2Fmpd-wrapped", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdedovic%2Fmpd-wrapped'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 54086e2f0bada607303f76fbb750dd2980281ddf
[INFO] testing sdedovic/mpd-wrapped against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdedovic%2Fmpd-wrapped" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/sdedovic/mpd-wrapped
[INFO] finished tweaking git repo https://github.com/sdedovic/mpd-wrapped
[INFO] tweaked toml for git repo https://github.com/sdedovic/mpd-wrapped written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sdedovic/mpd-wrapped on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sdedovic/mpd-wrapped already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pico-args v0.5.0
[INFO] [stderr]   Downloaded directories v6.0.0
[INFO] [stderr]   Downloaded rusqlite_migration v2.3.0
[INFO] [stderr]   Downloaded mpd v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f432a9bcccb3569a088d5f05c274c6e23c8a68499f4dfb8aecf3e88053ab538b
[INFO] running `Command { std: "docker" "start" "f432a9bcccb3569a088d5f05c274c6e23c8a68499f4dfb8aecf3e88053ab538b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f432a9bcccb3569a088d5f05c274c6e23c8a68499f4dfb8aecf3e88053ab538b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f432a9bcccb3569a088d5f05c274c6e23c8a68499f4dfb8aecf3e88053ab538b" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f432a9bcccb3569a088d5f05c274c6e23c8a68499f4dfb8aecf3e88053ab538b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f432a9bcccb3569a088d5f05c274c6e23c8a68499f4dfb8aecf3e88053ab538b" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling cc v1.2.49
[INFO] [stderr]    Compiling tracing-core v0.1.35
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling rusqlite_migration v2.3.0
[INFO] [stderr]    Compiling bufstream v0.1.4
[INFO] [stderr]    Compiling pico-args v0.5.0
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling directories v6.0.0
[INFO] [stderr]    Compiling mpd v0.1.0
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling include_dir_macros v0.7.4
[INFO] [stderr]    Compiling include_dir v0.7.4
[INFO] [stderr]    Compiling libsqlite3-sys v0.35.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tracing v0.1.43
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling rusqlite v0.37.0
[INFO] [stderr]    Compiling mpd-wrapped v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: methods `top_artists` and `top_albums` are never used
[INFO] [stdout]    --> src/persistence/sqlite.rs:151:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl MusicDb {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 151 |     pub fn top_artists(&self, limit: usize) -> Result<Vec<(String, i64)>> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub fn top_albums(&self, limit: usize) -> Result<Vec<(String, String, i64)>> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.65s
[INFO] running `Command { std: "docker" "inspect" "f432a9bcccb3569a088d5f05c274c6e23c8a68499f4dfb8aecf3e88053ab538b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f432a9bcccb3569a088d5f05c274c6e23c8a68499f4dfb8aecf3e88053ab538b" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling mpd-wrapped v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `top_albums` is never used
[INFO] [stdout]    --> src/persistence/sqlite.rs:169:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl MusicDb {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub fn top_albums(&self, limit: usize) -> Result<Vec<(String, String, i64)>> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s
[INFO] running `Command { std: "docker" "inspect" "f432a9bcccb3569a088d5f05c274c6e23c8a68499f4dfb8aecf3e88053ab538b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f432a9bcccb3569a088d5f05c274c6e23c8a68499f4dfb8aecf3e88053ab538b" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: method `top_albums` is never used
[INFO] [stderr]    --> src/persistence/sqlite.rs:169:12
[INFO] [stderr]     |
[INFO] [stderr] 111 | impl MusicDb {
[INFO] [stderr]     | ------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 169 |     pub fn top_albums(&self, limit: usize) -> Result<Vec<(String, String, i64)>> {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `mpd-wrapped` (bin "mpd-wrapped" test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mpd_wrapped-a81abad54efd2aac)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test persistence::sqlite::tests::test_multiple_plays ... FAILED
[INFO] [stdout] test persistence::sqlite::tests::test_basic_operations ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- persistence::sqlite::tests::test_multiple_plays stdout ----
[INFO] [stdout] Error: SqliteFailure(Error { code: ConstraintViolation, extended_code: 1299 }, Some("NOT NULL constraint failed: plays.song_duration_seconds"))
[INFO] [stdout] 
[INFO] [stdout] ---- persistence::sqlite::tests::test_basic_operations stdout ----
[INFO] [stdout] Error: SqliteFailure(Error { code: ConstraintViolation, extended_code: 1299 }, Some("NOT NULL constraint failed: plays.song_duration_seconds"))
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     persistence::sqlite::tests::test_basic_operations
[INFO] [stdout]     persistence::sqlite::tests::test_multiple_plays
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin mpd-wrapped`
[INFO] running `Command { std: "docker" "inspect" "f432a9bcccb3569a088d5f05c274c6e23c8a68499f4dfb8aecf3e88053ab538b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f432a9bcccb3569a088d5f05c274c6e23c8a68499f4dfb8aecf3e88053ab538b", kill_on_drop: false }`
[INFO] [stdout] f432a9bcccb3569a088d5f05c274c6e23c8a68499f4dfb8aecf3e88053ab538b
