[INFO] fetching crate railway-api 0.2.0... [INFO] building railway-api-0.2.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate railway-api 0.2.0 into /workspace/builds/worker-0-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate railway-api 0.2.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff3d6615221891e416785039bbdaf6196a2b6b3a5389223a08026ba8453d60b1 [INFO] running `Command { std: "docker" "start" "-a" "ff3d6615221891e416785039bbdaf6196a2b6b3a5389223a08026ba8453d60b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff3d6615221891e416785039bbdaf6196a2b6b3a5389223a08026ba8453d60b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff3d6615221891e416785039bbdaf6196a2b6b3a5389223a08026ba8453d60b1", kill_on_drop: false }` [INFO] [stdout] ff3d6615221891e416785039bbdaf6196a2b6b3a5389223a08026ba8453d60b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39d6b40e2659fe4fea4256f0f04bc67ce428fbcde4036264fc45ca67a638db96 [INFO] running `Command { std: "docker" "start" "-a" "39d6b40e2659fe4fea4256f0f04bc67ce428fbcde4036264fc45ca67a638db96", 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 smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf v0.11.3 [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 phf_codegen v0.11.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling chrono-tz v0.8.6 [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 zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling h2 v0.4.7 [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 zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling hyper v1.5.2 [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 tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [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_properties v1.5.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 railway-core v0.2.0 [INFO] [stderr] Compiling motis-openapi-sdk v1.0.0 [INFO] [stderr] Compiling railway-provider-search-ch v0.2.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-motis v0.3.0 [INFO] [stderr] Compiling railway-api v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.75s [INFO] running `Command { std: "docker" "inspect" "39d6b40e2659fe4fea4256f0f04bc67ce428fbcde4036264fc45ca67a638db96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d6b40e2659fe4fea4256f0f04bc67ce428fbcde4036264fc45ca67a638db96", kill_on_drop: false }` [INFO] [stdout] 39d6b40e2659fe4fea4256f0f04bc67ce428fbcde4036264fc45ca67a638db96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23a9f4e6e19823da0cf0f2ea025f0890b86045fa19a1238d41fd20e0612dd99c [INFO] running `Command { std: "docker" "start" "-a" "23a9f4e6e19823da0cf0f2ea025f0890b86045fa19a1238d41fd20e0612dd99c", 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" "23a9f4e6e19823da0cf0f2ea025f0890b86045fa19a1238d41fd20e0612dd99c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a9f4e6e19823da0cf0f2ea025f0890b86045fa19a1238d41fd20e0612dd99c", kill_on_drop: false }` [INFO] [stdout] 23a9f4e6e19823da0cf0f2ea025f0890b86045fa19a1238d41fd20e0612dd99c