[INFO] fetching crate sbb-api 0.1.0... [INFO] checking sbb-api-0.1.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate sbb-api 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate sbb-api 0.1.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sbb-api 0.1.0 [INFO] finished tweaking crates.io crate sbb-api 0.1.0 [INFO] tweaked toml for crates.io crate sbb-api 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 165 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding float-cmp v0.9.0 (available: v0.10.0) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding hyper-tls v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding mockall v0.11.4 (available: v0.13.0) [INFO] [stderr] Adding mockall_derive v0.11.4 (available: v0.13.0) [INFO] [stderr] Adding predicates v2.1.5 (available: v3.1.2) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.7) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (available: v2.1.3) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding simple-error v0.2.3 (available: v0.3.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding system-configuration v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding termtree v0.4.1 (available: v0.5.1) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.10.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winreg v0.50.0 (available: v0.52.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7e021eba8e4fab08a485ee4c0c138540cd663a9a49b3a2ac7b9784dfb8b4c1f [INFO] running `Command { std: "docker" "start" "-a" "c7e021eba8e4fab08a485ee4c0c138540cd663a9a49b3a2ac7b9784dfb8b4c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7e021eba8e4fab08a485ee4c0c138540cd663a9a49b3a2ac7b9784dfb8b4c1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7e021eba8e4fab08a485ee4c0c138540cd663a9a49b3a2ac7b9784dfb8b4c1f", kill_on_drop: false }` [INFO] [stdout] c7e021eba8e4fab08a485ee4c0c138540cd663a9a49b3a2ac7b9784dfb8b4c1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e09061da63f4643aa248c566e371819c315704980c0a90bc70b7b91a9777d112 [INFO] running `Command { std: "docker" "start" "-a" "e09061da63f4643aa248c566e371819c315704980c0a90bc70b7b91a9777d112", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking ipnet v2.10.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking more-asserts v0.3.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking simple-error v0.2.3 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking mockall v0.11.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking sbb-api v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/connections.rs (3 fixes) [INFO] [stdout] error[E0425]: cannot find function `get_connections` in this scope [INFO] [stdout] --> src/connections.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let conn = get_connections("Zürich HB", [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 42 + use crate::connections::get_connections; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocationType` [INFO] [stdout] --> src/connections.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ... LocationType::Station, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LocationType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 42 + use crate::models::location::LocationType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocationType` [INFO] [stdout] --> src/connections.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | ... LocationType::Station, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LocationType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 42 + use crate::models::location::LocationType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Utc` in this scope [INFO] [stdout] --> src/connections.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let date = Utc.ymd(today.year(), today.month(), today.day()).and_hms(12, 0, 0); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit structs [INFO] [stdout] | [INFO] [stdout] 42 + use crate::connections::Utc; [INFO] [stdout] | [INFO] [stdout] 42 + use chrono::Utc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_connections` in this scope [INFO] [stdout] --> src/connections.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let conn = get_connections("Chiasso", [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 42 + use crate::connections::get_connections; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocationType` [INFO] [stdout] --> src/connections.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ... LocationType::Station, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LocationType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 42 + use crate::models::location::LocationType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocationType` [INFO] [stdout] --> src/connections.rs:65:36 [INFO] [stdout] | [INFO] [stdout] 65 | ... LocationType::Station, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LocationType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 42 + use crate::models::location::LocationType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Utc` in this scope [INFO] [stdout] --> src/connections.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | Utc.ymd(today.year(), today.month(), today.day()) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit structs [INFO] [stdout] | [INFO] [stdout] 42 + use crate::connections::Utc; [INFO] [stdout] | [INFO] [stdout] 42 + use chrono::Utc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_connections` in this scope [INFO] [stdout] --> src/connections.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | let conn = get_connections( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 42 + use crate::connections::get_connections; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocationType` [INFO] [stdout] --> src/connections.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | LocationType::Station, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LocationType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 42 + use crate::models::location::LocationType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocationType` [INFO] [stdout] --> src/connections.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | LocationType::Station, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LocationType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 42 + use crate::models::location::LocationType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Utc` in this scope [INFO] [stdout] --> src/connections.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | Utc.ymd(today.year(), today.month(), today.day()) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit structs [INFO] [stdout] | [INFO] [stdout] 42 + use crate::connections::Utc; [INFO] [stdout] | [INFO] [stdout] 42 + use chrono::Utc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_connections` in this scope [INFO] [stdout] --> src/connections.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | let conn = get_connections("Chiasso", [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 42 + use crate::connections::get_connections; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocationType` [INFO] [stdout] --> src/connections.rs:101:36 [INFO] [stdout] | [INFO] [stdout] 101 | ... LocationType::Address, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LocationType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 42 + use crate::models::location::LocationType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocationType` [INFO] [stdout] --> src/connections.rs:103:36 [INFO] [stdout] | [INFO] [stdout] 103 | ... LocationType::Address, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LocationType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 42 + use crate::models::location::LocationType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Utc` in this scope [INFO] [stdout] --> src/connections.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | Utc.ymd(today.year(), today.month(), today.day()) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these unit structs [INFO] [stdout] | [INFO] [stdout] 42 + use crate::connections::Utc; [INFO] [stdout] | [INFO] [stdout] 42 + use chrono::Utc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_connections` in this scope [INFO] [stdout] --> src/connections.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | let conn = get_connections("Im Tiergraten, 8055 Zürich, Zürich", [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 42 + use crate::connections::get_connections; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocationType` [INFO] [stdout] --> src/connections.rs:124:36 [INFO] [stdout] | [INFO] [stdout] 124 | ... LocationType::Address, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LocationType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 42 + use crate::models::location::LocationType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LocationType` [INFO] [stdout] --> src/connections.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | ... LocationType::Address, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `LocationType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 42 + use crate::models::location::LocationType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ymd` found for struct `Utc` in the current scope [INFO] [stdout] --> src/connections.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | let date = chrono::Utc.ymd(today.year(), today.month(), today.day()).and_hms(12, 0, 0); [INFO] [stdout] | ^^^ method not found in `Utc` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/offset/mod.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | fn ymd(&self, year: i32, month: u32, day: u32) -> Date { [INFO] [stdout] | --- the method is available for `Utc` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TimeZone` which provides `ymd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::TimeZone; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `year` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/connections.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | let date = chrono::Utc.ymd(today.year(), today.month(), today.day()).and_hms(12, 0, 0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/traits.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn year(&self) -> i32; [INFO] [stdout] | ---- the method is available for `DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Datelike` which provides `year` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::Datelike; [INFO] [stdout] | [INFO] [stdout] help: there is a method `year_ce` with a similar name [INFO] [stdout] | [INFO] [stdout] 45 | let date = chrono::Utc.ymd(today.year_ce(), today.month(), today.day()).and_hms(12, 0, 0); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `month` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/connections.rs:45:56 [INFO] [stdout] | [INFO] [stdout] 45 | let date = chrono::Utc.ymd(today.year(), today.month(), today.day()).and_hms(12, 0, 0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/traits.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn month(&self) -> u32; [INFO] [stdout] | ----- the method is available for `DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Datelike` which provides `month` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::Datelike; [INFO] [stdout] | [INFO] [stdout] help: there is a method `month0` with a similar name [INFO] [stdout] | [INFO] [stdout] 45 | let date = chrono::Utc.ymd(today.year(), today.month0(), today.day()).and_hms(12, 0, 0); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `day` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/connections.rs:45:71 [INFO] [stdout] | [INFO] [stdout] 45 | let date = chrono::Utc.ymd(today.year(), today.month(), today.day()).and_hms(12, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/traits.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn day(&self) -> u32; [INFO] [stdout] | --- the method is available for `DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Datelike` which provides `day` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::Datelike; [INFO] [stdout] | [INFO] [stdout] help: there is a method `day0` with a similar name [INFO] [stdout] | [INFO] [stdout] 45 | let date = chrono::Utc.ymd(today.year(), today.month(), today.day0()).and_hms(12, 0, 0); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `year` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/connections.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | let date = Utc.ymd(today.year(), today.month(), today.day()).and_hms(12, 0, 0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/traits.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn year(&self) -> i32; [INFO] [stdout] | ---- the method is available for `DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Datelike` which provides `year` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::Datelike; [INFO] [stdout] | [INFO] [stdout] help: there is a method `year_ce` with a similar name [INFO] [stdout] | [INFO] [stdout] 61 | let date = Utc.ymd(today.year_ce(), today.month(), today.day()).and_hms(12, 0, 0); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `month` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/connections.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | let date = Utc.ymd(today.year(), today.month(), today.day()).and_hms(12, 0, 0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/traits.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn month(&self) -> u32; [INFO] [stdout] | ----- the method is available for `DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Datelike` which provides `month` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::Datelike; [INFO] [stdout] | [INFO] [stdout] help: there is a method `month0` with a similar name [INFO] [stdout] | [INFO] [stdout] 61 | let date = Utc.ymd(today.year(), today.month0(), today.day()).and_hms(12, 0, 0); [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `day` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/connections.rs:61:63 [INFO] [stdout] | [INFO] [stdout] 61 | let date = Utc.ymd(today.year(), today.month(), today.day()).and_hms(12, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/traits.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn day(&self) -> u32; [INFO] [stdout] | --- the method is available for `DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Datelike` which provides `day` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::Datelike; [INFO] [stdout] | [INFO] [stdout] help: there is a method `day0` with a similar name [INFO] [stdout] | [INFO] [stdout] 61 | let date = Utc.ymd(today.year(), today.month(), today.day0()).and_hms(12, 0, 0); [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `year` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/connections.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | Utc.ymd(today.year(), today.month(), today.day()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/traits.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn year(&self) -> i32; [INFO] [stdout] | ---- the method is available for `DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Datelike` which provides `year` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::Datelike; [INFO] [stdout] | [INFO] [stdout] help: there is a method `year_ce` with a similar name [INFO] [stdout] | [INFO] [stdout] 78 | Utc.ymd(today.year_ce(), today.month(), today.day()) [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `month` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/connections.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 78 | Utc.ymd(today.year(), today.month(), today.day()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/traits.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn month(&self) -> u32; [INFO] [stdout] | ----- the method is available for `DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Datelike` which provides `month` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::Datelike; [INFO] [stdout] | [INFO] [stdout] help: there is a method `month0` with a similar name [INFO] [stdout] | [INFO] [stdout] 78 | Utc.ymd(today.year(), today.month0(), today.day()) [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `day` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/connections.rs:78:56 [INFO] [stdout] | [INFO] [stdout] 78 | Utc.ymd(today.year(), today.month(), today.day()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/traits.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn day(&self) -> u32; [INFO] [stdout] | --- the method is available for `DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Datelike` which provides `day` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::Datelike; [INFO] [stdout] | [INFO] [stdout] help: there is a method `day0` with a similar name [INFO] [stdout] | [INFO] [stdout] 78 | Utc.ymd(today.year(), today.month(), today.day0()) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `year` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/connections.rs:98:27 [INFO] [stdout] | [INFO] [stdout] 98 | Utc.ymd(today.year(), today.month(), today.day()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/traits.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn year(&self) -> i32; [INFO] [stdout] | ---- the method is available for `DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Datelike` which provides `year` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::Datelike; [INFO] [stdout] | [INFO] [stdout] help: there is a method `year_ce` with a similar name [INFO] [stdout] | [INFO] [stdout] 98 | Utc.ymd(today.year_ce(), today.month(), today.day()) [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `month` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/connections.rs:98:41 [INFO] [stdout] | [INFO] [stdout] 98 | Utc.ymd(today.year(), today.month(), today.day()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/traits.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn month(&self) -> u32; [INFO] [stdout] | ----- the method is available for `DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Datelike` which provides `month` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::Datelike; [INFO] [stdout] | [INFO] [stdout] help: there is a method `month0` with a similar name [INFO] [stdout] | [INFO] [stdout] 98 | Utc.ymd(today.year(), today.month0(), today.day()) [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `day` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/connections.rs:98:56 [INFO] [stdout] | [INFO] [stdout] 98 | Utc.ymd(today.year(), today.month(), today.day()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/traits.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn day(&self) -> u32; [INFO] [stdout] | --- the method is available for `DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Datelike` which provides `day` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::Datelike; [INFO] [stdout] | [INFO] [stdout] help: there is a method `day0` with a similar name [INFO] [stdout] | [INFO] [stdout] 98 | Utc.ymd(today.year(), today.month(), today.day0()) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `year` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/connections.rs:121:27 [INFO] [stdout] | [INFO] [stdout] 121 | Utc.ymd(today.year(), today.month(), today.day()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/traits.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn year(&self) -> i32; [INFO] [stdout] | ---- the method is available for `DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Datelike` which provides `year` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::Datelike; [INFO] [stdout] | [INFO] [stdout] help: there is a method `year_ce` with a similar name [INFO] [stdout] | [INFO] [stdout] 121 | Utc.ymd(today.year_ce(), today.month(), today.day()) [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `month` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/connections.rs:121:41 [INFO] [stdout] | [INFO] [stdout] 121 | Utc.ymd(today.year(), today.month(), today.day()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/traits.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn month(&self) -> u32; [INFO] [stdout] | ----- the method is available for `DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Datelike` which provides `month` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::Datelike; [INFO] [stdout] | [INFO] [stdout] help: there is a method `month0` with a similar name [INFO] [stdout] | [INFO] [stdout] 121 | Utc.ymd(today.year(), today.month0(), today.day()) [INFO] [stdout] | ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `day` found for struct `DateTime` in the current scope [INFO] [stdout] --> src/connections.rs:121:56 [INFO] [stdout] | [INFO] [stdout] 121 | Utc.ymd(today.year(), today.month(), today.day()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/chrono-0.4.38/src/traits.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn day(&self) -> u32; [INFO] [stdout] | --- the method is available for `DateTime` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Datelike` which provides `day` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 42 + use crate::chrono::Datelike; [INFO] [stdout] | [INFO] [stdout] help: there is a method `day0` with a similar name [INFO] [stdout] | [INFO] [stdout] 121 | Utc.ymd(today.year(), today.month(), today.day0()) [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sbb-api` (lib test) due to 36 previous errors [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "e09061da63f4643aa248c566e371819c315704980c0a90bc70b7b91a9777d112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e09061da63f4643aa248c566e371819c315704980c0a90bc70b7b91a9777d112", kill_on_drop: false }` [INFO] [stdout] e09061da63f4643aa248c566e371819c315704980c0a90bc70b7b91a9777d112