[INFO] cloning repository https://github.com/DylanVanAssche/irail-query-extractor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DylanVanAssche/irail-query-extractor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDylanVanAssche%2Firail-query-extractor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDylanVanAssche%2Firail-query-extractor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3650e8afa78d339a5948aa2002f74ff3a385fe81 [INFO] testing DylanVanAssche/irail-query-extractor against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDylanVanAssche%2Firail-query-extractor" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DylanVanAssche/irail-query-extractor on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DylanVanAssche/irail-query-extractor [INFO] finished tweaking git repo https://github.com/DylanVanAssche/irail-query-extractor [INFO] tweaked toml for git repo https://github.com/DylanVanAssche/irail-query-extractor written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/DylanVanAssche/irail-query-extractor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ad806412a6940dba08c08ffcb91c022704398fffe76def20634246f8d4d258b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7ad806412a6940dba08c08ffcb91c022704398fffe76def20634246f8d4d258b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ad806412a6940dba08c08ffcb91c022704398fffe76def20634246f8d4d258b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad806412a6940dba08c08ffcb91c022704398fffe76def20634246f8d4d258b", kill_on_drop: false }` [INFO] [stdout] 7ad806412a6940dba08c08ffcb91c022704398fffe76def20634246f8d4d258b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b295034eacc3e433b0c8416908cba8cfafed72c50e7b0a0a88be85b0dc862ed [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0b295034eacc3e433b0c8416908cba8cfafed72c50e7b0a0a88be85b0dc862ed", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling tokio-executor v0.1.9 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.12 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling tokio-reactor v0.1.11 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.17 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling irail-query-extractor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / error_chain! { [INFO] [stdout] 21 | | foreign_links { [INFO] [stdout] 22 | | Io(std::io::Error); [INFO] [stdout] 23 | | HttpRequest(reqwest::Error); [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `deserialize` [INFO] [stdout] --> src/main.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn deserialize<'de, D>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `departure_stop` [INFO] [stdout] --> src/main.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn departure_stop(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arrival_stop` [INFO] [stdout] --> src/main.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn arrival_stop(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `departure_time` [INFO] [stdout] --> src/main.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn departure_time(&self) -> &DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arrival_time` [INFO] [stdout] --> src/main.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn arrival_time(&self) -> &DateTime { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_connections` [INFO] [stdout] --> src/main.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn number_of_connections(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_transfers` [INFO] [stdout] --> src/main.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn number_of_transfers(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connection` [INFO] [stdout] --> src/main.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn connection(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `average_number_of_transfers` [INFO] [stdout] --> src/main.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn average_number_of_transfers(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | / ... &connections.push(Connection { [INFO] [stdout] 219 | | ... departure_time: previous_time, [INFO] [stdout] 220 | | ... arrival_time: arrival_time, [INFO] [stdout] 221 | | ... departure_stop: previous_stop, //stop["departureStop"].to_string().replace("\"", ""), [INFO] [stdout] 222 | | ... arrival_stop: stop["stationinfo"]["@id"].to_string().replace("\"", ""), [INFO] [stdout] 223 | | ... vehicle: format!("{}/{}", VEHICLE_URI, res["vehicle"].to_string().replace("\"", "").replace("BE.NMBS.", "")), [INFO] [stdout] 224 | | ... }); [INFO] [stdout] | |________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = &connections.push(Connection { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 45s [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0b295034eacc3e433b0c8416908cba8cfafed72c50e7b0a0a88be85b0dc862ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b295034eacc3e433b0c8416908cba8cfafed72c50e7b0a0a88be85b0dc862ed", kill_on_drop: false }` [INFO] [stdout] 0b295034eacc3e433b0c8416908cba8cfafed72c50e7b0a0a88be85b0dc862ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ed206f7f758e68cc8c522babf71da6759c1b3ea61dfe61d5a7bccb1a0065afb0 [INFO] running `Command { std: "docker" "start" "-a" "ed206f7f758e68cc8c522babf71da6759c1b3ea61dfe61d5a7bccb1a0065afb0", kill_on_drop: false }` [INFO] [stderr] Compiling irail-query-extractor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / error_chain! { [INFO] [stdout] 21 | | foreign_links { [INFO] [stdout] 22 | | Io(std::io::Error); [INFO] [stdout] 23 | | HttpRequest(reqwest::Error); [INFO] [stdout] 24 | | } [INFO] [stdout] 25 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `deserialize` [INFO] [stdout] --> src/main.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn deserialize<'de, D>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `departure_stop` [INFO] [stdout] --> src/main.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | fn departure_stop(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arrival_stop` [INFO] [stdout] --> src/main.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn arrival_stop(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `departure_time` [INFO] [stdout] --> src/main.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn departure_time(&self) -> &DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `arrival_time` [INFO] [stdout] --> src/main.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn arrival_time(&self) -> &DateTime { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_connections` [INFO] [stdout] --> src/main.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | fn number_of_connections(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `number_of_transfers` [INFO] [stdout] --> src/main.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn number_of_transfers(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `connection` [INFO] [stdout] --> src/main.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn connection(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `average_number_of_transfers` [INFO] [stdout] --> src/main.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn average_number_of_transfers(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | / ... &connections.push(Connection { [INFO] [stdout] 219 | | ... departure_time: previous_time, [INFO] [stdout] 220 | | ... arrival_time: arrival_time, [INFO] [stdout] 221 | | ... departure_stop: previous_stop, //stop["departureStop"].to_string().replace("\"", ""), [INFO] [stdout] 222 | | ... arrival_stop: stop["stationinfo"]["@id"].to_string().replace("\"", ""), [INFO] [stdout] 223 | | ... vehicle: format!("{}/{}", VEHICLE_URI, res["vehicle"].to_string().replace("\"", "").replace("BE.NMBS.", "")), [INFO] [stdout] 224 | | ... }); [INFO] [stdout] | |________________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = &connections.push(Connection { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "ed206f7f758e68cc8c522babf71da6759c1b3ea61dfe61d5a7bccb1a0065afb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed206f7f758e68cc8c522babf71da6759c1b3ea61dfe61d5a7bccb1a0065afb0", kill_on_drop: false }` [INFO] [stdout] ed206f7f758e68cc8c522babf71da6759c1b3ea61dfe61d5a7bccb1a0065afb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1a16beef89f09601058d562b2f7a09b35dcdbd14a5db6112613acb05e585f563 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1a16beef89f09601058d562b2f7a09b35dcdbd14a5db6112613acb05e585f563", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / error_chain! { [INFO] [stderr] 21 | | foreign_links { [INFO] [stderr] 22 | | Io(std::io::Error); [INFO] [stderr] 23 | | HttpRequest(reqwest::Error); [INFO] [stderr] 24 | | } [INFO] [stderr] 25 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `deserialize` [INFO] [stderr] --> src/main.rs:68:12 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn deserialize<'de, D>( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `departure_stop` [INFO] [stderr] --> src/main.rs:80:8 [INFO] [stderr] | [INFO] [stderr] 80 | fn departure_stop(&self) -> &String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `arrival_stop` [INFO] [stderr] --> src/main.rs:84:8 [INFO] [stderr] | [INFO] [stderr] 84 | fn arrival_stop(&self) -> &String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `departure_time` [INFO] [stderr] --> src/main.rs:88:8 [INFO] [stderr] | [INFO] [stderr] 88 | fn departure_time(&self) -> &DateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `arrival_time` [INFO] [stderr] --> src/main.rs:92:8 [INFO] [stderr] | [INFO] [stderr] 92 | fn arrival_time(&self) -> &DateTime { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `number_of_connections` [INFO] [stderr] --> src/main.rs:96:8 [INFO] [stderr] | [INFO] [stderr] 96 | fn number_of_connections(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `number_of_transfers` [INFO] [stderr] --> src/main.rs:100:8 [INFO] [stderr] | [INFO] [stderr] 100 | fn number_of_transfers(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `connection` [INFO] [stderr] --> src/main.rs:104:8 [INFO] [stderr] | [INFO] [stderr] 104 | fn connection(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `average_number_of_transfers` [INFO] [stderr] --> src/main.rs:110:8 [INFO] [stderr] | [INFO] [stderr] 110 | fn average_number_of_transfers(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/main.rs:218:33 [INFO] [stderr] | [INFO] [stderr] 218 | / ... &connections.push(Connection { [INFO] [stderr] 219 | | ... departure_time: previous_time, [INFO] [stderr] 220 | | ... arrival_time: arrival_time, [INFO] [stderr] 221 | | ... departure_stop: previous_stop, //stop["departureStop"].to_string().replace("\"", ""), [INFO] [stderr] 222 | | ... arrival_stop: stop["stationinfo"]["@id"].to_string().replace("\"", ""), [INFO] [stderr] 223 | | ... vehicle: format!("{}/{}", VEHICLE_URI, res["vehicle"].to_string().replace("\"", "").replace("BE.NMBS.", "")), [INFO] [stderr] 224 | | ... }); [INFO] [stderr] | |________________________^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 218 | let _ = &connections.push(Connection { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `irail-query-extractor` (bin "irail-query-extractor" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/irail_query_extractor-2156083bb2e0e3e0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1a16beef89f09601058d562b2f7a09b35dcdbd14a5db6112613acb05e585f563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a16beef89f09601058d562b2f7a09b35dcdbd14a5db6112613acb05e585f563", kill_on_drop: false }` [INFO] [stdout] 1a16beef89f09601058d562b2f7a09b35dcdbd14a5db6112613acb05e585f563