[INFO] fetching crate zirv-queue 0.1.0... [INFO] testing zirv-queue-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate zirv-queue 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate zirv-queue 0.1.0 [INFO] finished tweaking crates.io crate zirv-queue 0.1.0 [INFO] tweaked toml for crates.io crate zirv-queue 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zirv-queue 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 150 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded r2d2 v0.8.10 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.7 [INFO] [stderr] Downloaded zirv-db v0.0.1 [INFO] [stderr] Downloaded dsl_auto_type v0.2.0 [INFO] [stderr] Downloaded diesel_table_macro_syntax v0.3.0 [INFO] [stderr] Downloaded migrations_internals v2.3.0 [INFO] [stderr] Downloaded downcast-rs v2.0.2 [INFO] [stderr] Downloaded migrations_macros v2.3.0 [INFO] [stderr] Downloaded erased-serde v0.4.8 [INFO] [stderr] Downloaded diesel_migrations v2.3.0 [INFO] [stderr] Downloaded typetag v0.2.21 [INFO] [stderr] Downloaded typetag-impl v0.2.21 [INFO] [stderr] Downloaded diesel_derives v2.3.3 [INFO] [stderr] Downloaded diesel v2.3.2 [INFO] [stderr] Downloaded mysqlclient-sys v0.4.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 931ac8297c1a11bedc4641a58beda87fbb75cc09d05b80583ce9f2b8b04125c6 [INFO] running `Command { std: "docker" "start" "-a" "931ac8297c1a11bedc4641a58beda87fbb75cc09d05b80583ce9f2b8b04125c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "931ac8297c1a11bedc4641a58beda87fbb75cc09d05b80583ce9f2b8b04125c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "931ac8297c1a11bedc4641a58beda87fbb75cc09d05b80583ce9f2b8b04125c6", kill_on_drop: false }` [INFO] [stdout] 931ac8297c1a11bedc4641a58beda87fbb75cc09d05b80583ce9f2b8b04125c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3c9e30b4cca419c032aa93182ddc3144a976a4d227c100eeb227895a178325d [INFO] running `Command { std: "docker" "start" "-a" "a3c9e30b4cca419c032aa93182ddc3144a976a4d227c100eeb227895a178325d", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling diesel_derives v2.3.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_spanned v1.0.2 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling downcast-rs v2.0.2 [INFO] [stderr] Compiling erased-serde v0.4.8 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling typetag v0.2.21 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling mysqlclient-sys v0.4.7 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling toml v0.9.7 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.3.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling typetag-impl v0.2.21 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling dsl_auto_type v0.2.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling migrations_internals v2.3.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling migrations_macros v2.3.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling diesel v2.3.2 [INFO] [stderr] Compiling zirv-db v0.0.1 [INFO] [stderr] Compiling diesel_migrations v2.3.0 [INFO] [stderr] Compiling zirv-queue v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.86s [INFO] running `Command { std: "docker" "inspect" "a3c9e30b4cca419c032aa93182ddc3144a976a4d227c100eeb227895a178325d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3c9e30b4cca419c032aa93182ddc3144a976a4d227c100eeb227895a178325d", kill_on_drop: false }` [INFO] [stdout] a3c9e30b4cca419c032aa93182ddc3144a976a4d227c100eeb227895a178325d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4410efffd7ee036377748f21e056c5ce5d5dbc700cd95cb99e06772486988e0 [INFO] running `Command { std: "docker" "start" "-a" "f4410efffd7ee036377748f21e056c5ce5d5dbc700cd95cb99e06772486988e0", kill_on_drop: false }` [INFO] [stderr] Compiling zirv-queue v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "f4410efffd7ee036377748f21e056c5ce5d5dbc700cd95cb99e06772486988e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4410efffd7ee036377748f21e056c5ce5d5dbc700cd95cb99e06772486988e0", kill_on_drop: false }` [INFO] [stdout] f4410efffd7ee036377748f21e056c5ce5d5dbc700cd95cb99e06772486988e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c2ad51f70a9be76495f4f8022bf5a1defaa84a8bd0ee8e7e8a22038f9484ef07 [INFO] running `Command { std: "docker" "start" "-a" "c2ad51f70a9be76495f4f8022bf5a1defaa84a8bd0ee8e7e8a22038f9484ef07", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zirv_queue-6e8a5814fccb4751) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test config::tests::test_custom_env_values ... ok [INFO] [stdout] test config::tests::test_defaults_when_env_not_set ... ok [INFO] [stdout] test config::tests::test_get_config_lazy_initialization ... ok [INFO] [stdout] test config::tests::test_invalid_numeric_parse_panics - should panic ... ok [INFO] [stdout] test config::tests::test_missing_db_url_panics - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests zirv_queue [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/lib.rs - init (line 47) ... ignored [INFO] [stdout] test src/traits/mod.rs - traits::Queueable::handle (line 25) ... ignored [INFO] [stdout] test src/traits/mod.rs - traits::Queueable::schedule_at (line 89) ... ignored [INFO] [stdout] test src/utils/deserialize.rs - utils::deserialize::deserialize (line 20) ... ignored [INFO] [stdout] test src/utils/serialize.rs - utils::serialize::serialize (line 20) ... ignored [INFO] [stdout] test src/worker/mod.rs - worker::execute_job_logic (line 120) ... ignored [INFO] [stdout] test src/worker/mod.rs - worker::start_autoscaling_worker (line 29) ... ignored [INFO] [stdout] test src/config/mod.rs - config::Config::init (line 107) - compile ... ok [INFO] [stdout] test src/config/mod.rs - config::Config::get_config (line 151) - compile ... ok [INFO] [stdout] test src/config/mod.rs - config::Config::from_env (line 134) - compile ... ok [INFO] [stdout] test src/models/failed_job.rs - models::failed_job::FailedJob::create (line 80) - compile ... FAILED [INFO] [stdout] test src/models/processed_job.rs - models::processed_job::ProcessedJob::create (line 75) - compile ... FAILED [INFO] [stdout] test src/config/mod.rs - config::Config (line 38) ... ok [INFO] [stdout] test src/config/mod.rs - config::GLOBAL_CONFIG (line 14) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/models/failed_job.rs - models::failed_job::FailedJob::create (line 80) stdout ---- [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/models/failed_job.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 22 | match FailedJob::create(some_failed_job, reason) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ --------------- ------ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | expected `&Job`, found `Job` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/models/failed_job.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 22 | match FailedJob::create(&some_failed_job, reason) { [INFO] [stdout] | + [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 22 | match FailedJob::create(some_failed_job, &reason) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/models/processed_job.rs - models::processed_job::ProcessedJob::create (line 75) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models/processed_job.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 19 | match ProcessedJob::create(some_job, return_msg) { [INFO] [stdout] | -------------------- ^^^^^^^^ expected `&Job`, found `Job` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/models/processed_job.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 19 | match ProcessedJob::create(&some_job, return_msg) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/models/failed_job.rs - models::failed_job::FailedJob::create (line 80) [INFO] [stdout] src/models/processed_job.rs - models::processed_job::ProcessedJob::create (line 75) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 2 failed; 7 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c2ad51f70a9be76495f4f8022bf5a1defaa84a8bd0ee8e7e8a22038f9484ef07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2ad51f70a9be76495f4f8022bf5a1defaa84a8bd0ee8e7e8a22038f9484ef07", kill_on_drop: false }` [INFO] [stdout] c2ad51f70a9be76495f4f8022bf5a1defaa84a8bd0ee8e7e8a22038f9484ef07