[INFO] fetching crate railway-api 0.2.0... [INFO] testing railway-api-0.2.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate railway-api 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate railway-api 0.2.0 [INFO] finished tweaking crates.io crate railway-api 0.2.0 [INFO] tweaked toml for crates.io crate railway-api 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate railway-api 0.2.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate railway-api 0.2.0 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded litemap v0.7.4 [INFO] [stderr] Downloaded zerofrom v0.1.5 [INFO] [stderr] Downloaded railway-provider-search-ch v0.2.0 [INFO] [stderr] Downloaded railway-core v0.2.0 [INFO] [stderr] Downloaded zerofrom-derive v0.1.5 [INFO] [stderr] Downloaded serde_derive v1.0.217 [INFO] [stderr] Downloaded railway-provider-db-movas v0.2.0 [INFO] [stderr] Downloaded chrono-tz-build v0.2.1 [INFO] [stderr] Downloaded windows-registry v0.2.0 [INFO] [stderr] Downloaded rustls-pki-types v1.10.1 [INFO] [stderr] Downloaded tokio-rustls v0.26.1 [INFO] [stderr] Downloaded httparse v1.9.5 [INFO] [stderr] Downloaded iana-time-zone v0.1.61 [INFO] [stderr] Downloaded polyline v0.10.2 [INFO] [stderr] Downloaded http v1.2.0 [INFO] [stderr] Downloaded railway-provider-hafas v0.2.0 [INFO] [stderr] Downloaded motis-openapi-sdk v1.0.0 [INFO] [stderr] Downloaded chrono-tz v0.8.6 [INFO] [stderr] Downloaded geojson v0.24.1 [INFO] [stderr] Downloaded libm v0.2.11 [INFO] [stderr] Downloaded railway-provider-motis v0.3.0 [INFO] [stderr] Downloaded async-trait v0.1.85 [INFO] [stderr] Downloaded openssl v0.10.68 [INFO] [stderr] Downloaded hyper v1.5.2 [INFO] [stderr] Downloaded cc v1.2.10 [INFO] [stderr] Downloaded railway-api-derive v0.2.0 [INFO] [stderr] Downloaded rustls v0.23.21 [INFO] [stderr] Downloaded h2 v0.4.7 [INFO] [stderr] Downloaded reqwest v0.12.12 [INFO] [stderr] Downloaded geo-types v0.7.15 [INFO] [stderr] Downloaded tokio-util v0.7.13 [INFO] [stderr] Downloaded bitflags v2.8.0 [INFO] [stderr] Downloaded tempfile v3.15.0 [INFO] [stderr] Downloaded hyper-rustls v0.27.5 [INFO] [stderr] Downloaded pkg-config v0.3.31 [INFO] [stderr] Downloaded openssl-sys v0.9.104 [INFO] [stderr] Downloaded rustversion v1.0.19 [INFO] [stderr] Downloaded serde_json v1.0.137 [INFO] [stderr] Downloaded serde v1.0.217 [INFO] [stderr] Downloaded indexmap v2.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77432544aa8b712d1165ae94282f5f94855eea2f1141f480eb3bad6ad083f41f [INFO] running `Command { std: "docker" "start" "-a" "77432544aa8b712d1165ae94282f5f94855eea2f1141f480eb3bad6ad083f41f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77432544aa8b712d1165ae94282f5f94855eea2f1141f480eb3bad6ad083f41f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77432544aa8b712d1165ae94282f5f94855eea2f1141f480eb3bad6ad083f41f", kill_on_drop: false }` [INFO] [stdout] 77432544aa8b712d1165ae94282f5f94855eea2f1141f480eb3bad6ad083f41f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 982c7b708298e23689f9a02a96657cab6ef92b6fef7ff38b0bcaa36b5ae82f98 [INFO] running `Command { std: "docker" "start" "-a" "982c7b708298e23689f9a02a96657cab6ef92b6fef7ff38b0bcaa36b5ae82f98", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling railway-api-derive v0.2.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling motis-openapi-sdk v1.0.0 [INFO] [stderr] Compiling railway-core v0.2.0 [INFO] [stderr] Compiling railway-provider-db-movas v0.2.0 [INFO] [stderr] Compiling railway-provider-motis v0.3.0 [INFO] [stderr] Compiling railway-provider-search-ch v0.2.0 [INFO] [stderr] Compiling railway-provider-hafas v0.2.0 [INFO] [stderr] Compiling railway-api v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.36s [INFO] running `Command { std: "docker" "inspect" "982c7b708298e23689f9a02a96657cab6ef92b6fef7ff38b0bcaa36b5ae82f98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "982c7b708298e23689f9a02a96657cab6ef92b6fef7ff38b0bcaa36b5ae82f98", kill_on_drop: false }` [INFO] [stdout] 982c7b708298e23689f9a02a96657cab6ef92b6fef7ff38b0bcaa36b5ae82f98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8560672b1be6a857b91bb7058e0b680b23de0bd28036eb4a318649de8041b2bb [INFO] running `Command { std: "docker" "start" "-a" "8560672b1be6a857b91bb7058e0b680b23de0bd28036eb4a318649de8041b2bb", kill_on_drop: false }` [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling railway-api v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/../../README.md`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:208:22 [INFO] [stdout] | [INFO] [stdout] 208 | let readme = include_str!("../../README.md").lines(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a file with the same name in a different directory [INFO] [stdout] | [INFO] [stdout] 208 - let readme = include_str!("../../README.md").lines(); [INFO] [stdout] 208 + let readme = include_str!("../README.md").lines(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../../railway-provider-hafas/Cargo.toml`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:246:27 [INFO] [stdout] | [INFO] [stdout] 246 | let hafas_cargo = include_str!("../../railway-provider-hafas/Cargo.toml"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a file with the same name in a different directory [INFO] [stdout] | [INFO] [stdout] 246 - let hafas_cargo = include_str!("../../railway-provider-hafas/Cargo.toml"); [INFO] [stdout] 246 + let hafas_cargo = include_str!("../Cargo.toml"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:214:26 [INFO] [stdout] | [INFO] [stdout] 214 | .skip_while(|l| !l.starts_with("|")) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 214 | .skip_while(|l: /* Type */| !l.starts_with("|")) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | .take_while(|l| l.starts_with("|")) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 218 | .take_while(|l: /* Type */| l.starts_with("|")) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:220:24 [INFO] [stdout] | [INFO] [stdout] 220 | .flat_map(|r| r.split('|').nth(1)) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 220 | .flat_map(|r: /* Type */| r.split('|').nth(1)) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:221:19 [INFO] [stdout] | [INFO] [stdout] 221 | .map(|s| s.trim().to_lowercase().replace(&['-', '_', '.'], "")) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 221 | .map(|s: /* Type */| s.trim().to_lowercase().replace(&['-', '_', '.'], "")) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `railway-api` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "8560672b1be6a857b91bb7058e0b680b23de0bd28036eb4a318649de8041b2bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8560672b1be6a857b91bb7058e0b680b23de0bd28036eb4a318649de8041b2bb", kill_on_drop: false }` [INFO] [stdout] 8560672b1be6a857b91bb7058e0b680b23de0bd28036eb4a318649de8041b2bb