[INFO] cloning repository https://github.com/apanloco/kalender [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/apanloco/kalender" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapanloco%2Fkalender", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapanloco%2Fkalender'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c3b724bef8464e068b9f8b4db8174046e4063e6 [INFO] testing apanloco/kalender against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapanloco%2Fkalender" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/apanloco/kalender [INFO] finished tweaking git repo https://github.com/apanloco/kalender [INFO] tweaked toml for git repo https://github.com/apanloco/kalender written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/apanloco/kalender on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/apanloco/kalender 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea33ba76f1d73045edbcde536d402bef79af63f3835ef501ab3bd17baf2d48b0 [INFO] running `Command { std: "docker" "start" "-a" "ea33ba76f1d73045edbcde536d402bef79af63f3835ef501ab3bd17baf2d48b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea33ba76f1d73045edbcde536d402bef79af63f3835ef501ab3bd17baf2d48b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea33ba76f1d73045edbcde536d402bef79af63f3835ef501ab3bd17baf2d48b0", kill_on_drop: false }` [INFO] [stdout] ea33ba76f1d73045edbcde536d402bef79af63f3835ef501ab3bd17baf2d48b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 799ed6847b8edd5537dd2efe6d8cd4033922ebce149c14520ae19e4a7fb44cea [INFO] running `Command { std: "docker" "start" "-a" "799ed6847b8edd5537dd2efe6d8cd4033922ebce149c14520ae19e4a7fb44cea", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling async-trait v0.1.72 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling axum v0.7.4 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling brotli v3.4.0 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling clap_builder v4.3.19 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling http-range-header v0.4.0 [INFO] [stderr] Compiling matchit v0.7.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling pin-project v1.1.2 [INFO] [stderr] Compiling clap v4.3.19 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling async-compression v0.4.6 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.2 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling tower-http v0.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling basic-toml v0.1.8 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling hyper v1.1.0 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling reqwest v0.11.24 [INFO] [stderr] Compiling kalender v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `veckodag`, `rod_dag`, and `dag_fore_arbetsfri_helgdag` are never read [INFO] [stdout] --> src/faboul.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Dag { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub veckodag: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub rod_dag: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub dag_fore_arbetsfri_helgdag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dag` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 11s [INFO] running `Command { std: "docker" "inspect" "799ed6847b8edd5537dd2efe6d8cd4033922ebce149c14520ae19e4a7fb44cea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "799ed6847b8edd5537dd2efe6d8cd4033922ebce149c14520ae19e4a7fb44cea", kill_on_drop: false }` [INFO] [stdout] 799ed6847b8edd5537dd2efe6d8cd4033922ebce149c14520ae19e4a7fb44cea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3e4ce6542c8537527be05193db7dab52498dd8c119e0afd5fbe7b1061fcb719 [INFO] running `Command { std: "docker" "start" "-a" "f3e4ce6542c8537527be05193db7dab52498dd8c119e0afd5fbe7b1061fcb719", kill_on_drop: false }` [INFO] [stderr] Compiling kalender v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `veckodag` is never read [INFO] [stdout] --> src/faboul.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Dag { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub veckodag: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dag` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.12s [INFO] running `Command { std: "docker" "inspect" "f3e4ce6542c8537527be05193db7dab52498dd8c119e0afd5fbe7b1061fcb719", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3e4ce6542c8537527be05193db7dab52498dd8c119e0afd5fbe7b1061fcb719", kill_on_drop: false }` [INFO] [stdout] f3e4ce6542c8537527be05193db7dab52498dd8c119e0afd5fbe7b1061fcb719 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7f320a605d7650e0967eb1cfec7baf28d76de6624c60381fd4f56d69f3afbb4f [INFO] running `Command { std: "docker" "start" "-a" "7f320a605d7650e0967eb1cfec7baf28d76de6624c60381fd4f56d69f3afbb4f", kill_on_drop: false }` [INFO] [stderr] warning: field `veckodag` is never read [INFO] [stderr] --> src/faboul.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct Dag { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 20 | pub veckodag: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Dag` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `kalender` (bin "kalender" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kalender-173423b29b876757) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test faboul::test_basic ... ok [INFO] [stdout] test test_template ... FAILED [INFO] [stdout] test faboul::test_missing_fields ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_template stdout ---- [INFO] [stdout] Error: FailedToRetrieveCalendarApiData(reqwest::Error { kind: Request, url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("sholiday.faboul.se")), port: None, path: "/dagar/v2.1/2024/02", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_template [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin kalender` [INFO] running `Command { std: "docker" "inspect" "7f320a605d7650e0967eb1cfec7baf28d76de6624c60381fd4f56d69f3afbb4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f320a605d7650e0967eb1cfec7baf28d76de6624c60381fd4f56d69f3afbb4f", kill_on_drop: false }` [INFO] [stdout] 7f320a605d7650e0967eb1cfec7baf28d76de6624c60381fd4f56d69f3afbb4f