[INFO] cloning repository https://github.com/nihn/eurostartrainfinder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nihn/eurostartrainfinder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnihn%2Feurostartrainfinder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnihn%2Feurostartrainfinder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b939148f34fcf15addbe404218aa14ace81eaf7d [INFO] testing nihn/eurostartrainfinder against master#404c8471aba60c2d837fa728e7c729a0f52d5830 for pr-87041-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnihn%2Feurostartrainfinder" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nihn/eurostartrainfinder on toolchain 404c8471aba60c2d837fa728e7c729a0f52d5830 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nihn/eurostartrainfinder [INFO] finished tweaking git repo https://github.com/nihn/eurostartrainfinder [INFO] tweaked toml for git repo https://github.com/nihn/eurostartrainfinder written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/nihn/eurostartrainfinder already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.105 [INFO] [stderr] Downloaded serde_json v1.0.50 [INFO] [stderr] Downloaded serde v1.0.105 [INFO] [stderr] Downloaded stderrlog v0.4.3 [INFO] [stderr] Downloaded tokio v0.2.13 [INFO] [stderr] Downloaded proc-macro-hack v0.5.14 [INFO] [stderr] Downloaded structopt v0.3.12 [INFO] [stderr] Downloaded security-framework-sys v0.4.1 [INFO] [stderr] Downloaded assert-json-diff v1.0.3 [INFO] [stderr] Downloaded extend v0.1.1 [INFO] [stderr] Downloaded security-framework v0.4.1 [INFO] [stderr] Downloaded thread_local v0.3.4 [INFO] [stderr] Downloaded proc-macro-error-attr v0.4.12 [INFO] [stderr] Downloaded mockito v0.23.3 [INFO] [stderr] Downloaded bstr v0.2.12 [INFO] [stderr] Downloaded h2 v0.2.3 [INFO] [stderr] Downloaded proc-macro-error v0.4.12 [INFO] [stderr] Downloaded structopt-derive v0.4.5 [INFO] [stderr] Downloaded reqwest v0.10.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17053f0b0ee9ea4cc5a2a727d550947b67a5f6d2b870df35b17ed001708b66c3 [INFO] running `Command { std: "docker" "start" "-a" "17053f0b0ee9ea4cc5a2a727d550947b67a5f6d2b870df35b17ed001708b66c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17053f0b0ee9ea4cc5a2a727d550947b67a5f6d2b870df35b17ed001708b66c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17053f0b0ee9ea4cc5a2a727d550947b67a5f6d2b870df35b17ed001708b66c3", kill_on_drop: false }` [INFO] [stdout] 17053f0b0ee9ea4cc5a2a727d550947b67a5f6d2b870df35b17ed001708b66c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61bd831f35370c64ed5bc8d90beb3db74a2c4eb86e0b3c8e574153632f5c4a19 [INFO] running `Command { std: "docker" "start" "-a" "61bd831f35370c64ed5bc8d90beb3db74a2c4eb86e0b3c8e574153632f5c4a19", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.14 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling stderrlog v0.4.3 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling extend v0.1.1 [INFO] [stderr] Compiling structopt-derive v0.4.5 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling h2 v0.2.3 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling structopt v0.3.12 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.50 [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling assert-json-diff v1.0.3 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling mockito v0.23.3 [INFO] [stderr] Compiling eurostarchecker v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 13s [INFO] running `Command { std: "docker" "inspect" "61bd831f35370c64ed5bc8d90beb3db74a2c4eb86e0b3c8e574153632f5c4a19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61bd831f35370c64ed5bc8d90beb3db74a2c4eb86e0b3c8e574153632f5c4a19", kill_on_drop: false }` [INFO] [stdout] 61bd831f35370c64ed5bc8d90beb3db74a2c4eb86e0b3c8e574153632f5c4a19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 864e3faa912bd905cf8b65f0f70695c517fff284ee02d5cd207f541f38b40bcf [INFO] running `Command { std: "docker" "start" "-a" "864e3faa912bd905cf8b65f0f70695c517fff284ee02d5cd207f541f38b40bcf", kill_on_drop: false }` [INFO] [stderr] Compiling eurostarchecker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: static is never used: `EUROSTAR_URL` [INFO] [stdout] --> src/trains.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | static EUROSTAR_URL: &str = "https://api.prod.eurostar.com/bpa"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.18s [INFO] running `Command { std: "docker" "inspect" "864e3faa912bd905cf8b65f0f70695c517fff284ee02d5cd207f541f38b40bcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "864e3faa912bd905cf8b65f0f70695c517fff284ee02d5cd207f541f38b40bcf", kill_on_drop: false }` [INFO] [stdout] 864e3faa912bd905cf8b65f0f70695c517fff284ee02d5cd207f541f38b40bcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b35d6fc5e0d039b049b8129cd885461a4680474f9a10f8189039a1f4abb12188 [INFO] running `Command { std: "docker" "start" "-a" "b35d6fc5e0d039b049b8129cd885461a4680474f9a10f8189039a1f4abb12188", kill_on_drop: false }` [INFO] [stderr] warning: static is never used: `EUROSTAR_URL` [INFO] [stderr] --> src/trains.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | static EUROSTAR_URL: &str = "https://api.prod.eurostar.com/bpa"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `eurostarchecker` (bin "eurostarchecker" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/eurostarchecker-12cb6b5f1253b350) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test date::tests::test_duration_from_str ... ok [INFO] [stdout] test date::tests::test_duration_from_str_invalid_number ... ok [INFO] [stdout] test date::tests::test_duration_from_str_below_zero ... ok [INFO] [stdout] test date::tests::test_get_possible_travel_dates_impossible_constraints ... ok [INFO] [stdout] test date::tests::test_get_possible_travel_dates_ok ... ok [INFO] [stdout] test date::tests::test_parse_date_from_str ... ok [INFO] [stdout] test date::tests::test_parse_date_from_str_in_the_past ... ok [INFO] [stdout] test date::tests::test_parse_date_from_str_invalid ... ok [INFO] [stdout] test date::tests::test_parse_date_from_str_now ... ok [INFO] [stdout] test date::tests::test_parse_date_from_str_two_weeks_in_the_future ... ok [INFO] [stdout] test date::tests::test_parse_hour ... ok [INFO] [stdout] test date::tests::test_parse_weekday_from_str ... ok [INFO] [stdout] test date::tests::test_parse_weekday_from_str_invalid ... ok [INFO] [stdout] test trains::tests::test_get_journeys_404_response ... ok [INFO] [stdout] test trains::tests::test_empty_response ... ok [INFO] [stdout] test trains::tests::test_get_journeys_422_response ... ok [INFO] [stdout] test trains::tests::test_get_journeys_500_response ... ok [INFO] [stdout] test trains::tests::test_get_journeys_all_filters ... ok [INFO] [stdout] test trains::tests::test_get_journeys_filtered_by_max_price ... ok [INFO] [stdout] test trains::tests::test_get_journeys_no_filters ... ok [INFO] [stdout] test trains::tests::test_get_journeys_filtered_by_time ... ok [INFO] [stdout] test trains::tests::test_get_journeys_invalid_json ... ok [INFO] [stdout] test trains::tests::test_get_stations_map_empty_json ... ok [INFO] [stdout] test trains::tests::test_get_stations_map_invalid_json ... ok [INFO] [stdout] test trains::tests::test_get_stations_map_ok ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b35d6fc5e0d039b049b8129cd885461a4680474f9a10f8189039a1f4abb12188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b35d6fc5e0d039b049b8129cd885461a4680474f9a10f8189039a1f4abb12188", kill_on_drop: false }` [INFO] [stdout] b35d6fc5e0d039b049b8129cd885461a4680474f9a10f8189039a1f4abb12188