[INFO] fetching crate railway-api 0.2.0... [INFO] building railway-api-0.2.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate railway-api 0.2.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate railway-api 0.2.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded windows-registry v0.2.0 [INFO] [stderr] Downloaded railway-core v0.2.0 [INFO] [stderr] Downloaded railway-api-derive v0.2.0 [INFO] [stderr] Downloaded http v1.2.0 [INFO] [stderr] Downloaded railway-provider-db-movas v0.2.0 [INFO] [stderr] Downloaded polyline v0.10.2 [INFO] [stderr] Downloaded railway-provider-hafas v0.2.0 [INFO] [stderr] Downloaded motis-openapi-sdk v1.0.0 [INFO] [stderr] Downloaded railway-provider-motis v0.3.0 [INFO] [stderr] Downloaded serde_json v1.0.137 [INFO] [stderr] Downloaded railway-provider-search-ch v0.2.0 [INFO] [stderr] Downloaded geojson v0.24.1 [INFO] [stderr] Downloaded winnow v0.6.24 [INFO] [stderr] Downloaded reqwest v0.12.12 [INFO] [stderr] Downloaded rustls v0.23.21 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ac4c62f370902c7e53d8d8fccf477ec32eb3f6b8e3688d0d1e42927f235cafa [INFO] running `Command { std: "docker" "start" "-a" "7ac4c62f370902c7e53d8d8fccf477ec32eb3f6b8e3688d0d1e42927f235cafa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ac4c62f370902c7e53d8d8fccf477ec32eb3f6b8e3688d0d1e42927f235cafa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ac4c62f370902c7e53d8d8fccf477ec32eb3f6b8e3688d0d1e42927f235cafa", kill_on_drop: false }` [INFO] [stdout] 7ac4c62f370902c7e53d8d8fccf477ec32eb3f6b8e3688d0d1e42927f235cafa [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8c4e4fe40fb98466a3dd70e1878f247e770939ffff7df7b80c0c75be530c1bf [INFO] running `Command { std: "docker" "start" "-a" "b8c4e4fe40fb98466a3dd70e1878f247e770939ffff7df7b80c0c75be530c1bf", kill_on_drop: false }` [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling litemap v0.7.4 [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 tracing-core v0.1.33 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling hyper v1.5.2 [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 serde_repr v0.1.19 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling railway-api-derive v0.2.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling hyper-util v0.1.10 [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 icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling uuid v1.12.1 [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-motis v0.3.0 [INFO] [stderr] Compiling railway-provider-hafas v0.2.0 [INFO] [stderr] Compiling railway-provider-db-movas v0.2.0 [INFO] [stderr] Compiling railway-provider-search-ch v0.2.0 [INFO] [stderr] Compiling railway-api v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.84s [INFO] running `Command { std: "docker" "inspect" "b8c4e4fe40fb98466a3dd70e1878f247e770939ffff7df7b80c0c75be530c1bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8c4e4fe40fb98466a3dd70e1878f247e770939ffff7df7b80c0c75be530c1bf", kill_on_drop: false }` [INFO] [stdout] b8c4e4fe40fb98466a3dd70e1878f247e770939ffff7df7b80c0c75be530c1bf [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30072682b341eec6decec13fc306c6eb4a7b4af9bacb0afe78baee6a5da35806 [INFO] running `Command { std: "docker" "start" "-a" "30072682b341eec6decec13fc306c6eb4a7b4af9bacb0afe78baee6a5da35806", 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" "30072682b341eec6decec13fc306c6eb4a7b4af9bacb0afe78baee6a5da35806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30072682b341eec6decec13fc306c6eb4a7b4af9bacb0afe78baee6a5da35806", kill_on_drop: false }` [INFO] [stdout] 30072682b341eec6decec13fc306c6eb4a7b4af9bacb0afe78baee6a5da35806