[INFO] cloning repository https://github.com/airof98/ch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/airof98/ch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fairof98%2Fch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fairof98%2Fch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e264243a9daa2042927ebac3cc9d4c682698747 [INFO] checking airof98/ch against master#00bfd6b2734d9c28a147bf237490995731781fdd for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fairof98%2Fch" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/airof98/ch on toolchain 00bfd6b2734d9c28a147bf237490995731781fdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/airof98/ch [INFO] finished tweaking git repo https://github.com/airof98/ch [INFO] tweaked toml for git repo https://github.com/airof98/ch written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/airof98/ch 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" "+00bfd6b2734d9c28a147bf237490995731781fdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded take_mut v0.2.0 [INFO] [stderr] Downloaded rand v0.3.19 [INFO] [stderr] Downloaded stopwatch v0.0.7 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.3.2 [INFO] [stderr] Downloaded redox_syscall v0.1.33 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.2 [INFO] [stderr] Downloaded backtrace v0.3.4 [INFO] [stderr] Downloaded serde_derive v1.0.26 [INFO] [stderr] Downloaded serde v1.0.26 [INFO] [stderr] Downloaded clap v2.29.0 [INFO] [stderr] Downloaded winapi v0.3.2 [INFO] [stderr] Downloaded csv-core v0.1.3 [INFO] [stderr] Downloaded num-bigint v0.1.41 [INFO] [stderr] Downloaded num-rational v0.1.40 [INFO] [stderr] Downloaded serde_derive_internals v0.18.1 [INFO] [stderr] Downloaded csv v1.0.0-beta.5 [INFO] [stderr] Downloaded ordslice v0.2.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32b9bd7acc423e526305c30d8c1a414e186d3324b308f1122d433917d1927639 [INFO] running `Command { std: "docker" "start" "-a" "32b9bd7acc423e526305c30d8c1a414e186d3324b308f1122d433917d1927639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32b9bd7acc423e526305c30d8c1a414e186d3324b308f1122d433917d1927639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b9bd7acc423e526305c30d8c1a414e186d3324b308f1122d433917d1927639", kill_on_drop: false }` [INFO] [stdout] 32b9bd7acc423e526305c30d8c1a414e186d3324b308f1122d433917d1927639 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98d6ba0ce8306f685ad7fb6b39995115c217997b71f6d170d641e9019bbdd23f [INFO] running `Command { std: "docker" "start" "-a" "98d6ba0ce8306f685ad7fb6b39995115c217997b71f6d170d641e9019bbdd23f", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking num-traits v0.1.41 [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking csv-core v0.1.3 [INFO] [stderr] Checking rand v0.3.19 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking serde v1.0.26 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking ordslice v0.2.0 [INFO] [stderr] Checking take_mut v0.2.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking clap v2.29.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking rayon v0.9.0 [INFO] [stderr] Compiling serde_derive_internals v0.18.1 [INFO] [stderr] Checking num-bigint v0.1.41 [INFO] [stderr] Checking num-complex v0.1.41 [INFO] [stderr] Compiling serde_derive v1.0.26 [INFO] [stderr] Checking num-rational v0.1.40 [INFO] [stderr] Checking num v0.1.41 [INFO] [stderr] Checking stopwatch v0.0.7 [INFO] [stderr] Checking csv v1.0.0-beta.5 [INFO] [stderr] Checking backtrace v0.3.4 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking ch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ch.rs:677:14 [INFO] [stdout] | [INFO] [stdout] 677 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/ch.rs:677:14 [INFO] [stdout] | [INFO] [stdout] 677 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:265:49 [INFO] [stdout] | [INFO] [stdout] 265 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:266:46 [INFO] [stdout] | [INFO] [stdout] 266 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | uninitialized(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ch.rs:742:46 [INFO] [stdout] | [INFO] [stdout] 742 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ch.rs:743:53 [INFO] [stdout] | [INFO] [stdout] 743 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / error_chain! { [INFO] [stdout] 30 | | foreign_links { [INFO] [stdout] 31 | | De(::serde::de::value::Error); [INFO] [stdout] 32 | | Csv(::csv::Error); [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:265:49 [INFO] [stdout] | [INFO] [stdout] 265 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:266:46 [INFO] [stdout] | [INFO] [stdout] 266 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | uninitialized(), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ch.rs:742:46 [INFO] [stdout] | [INFO] [stdout] 742 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ch.rs:743:53 [INFO] [stdout] | [INFO] [stdout] 743 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / error_chain! { [INFO] [stdout] 30 | | foreign_links { [INFO] [stdout] 31 | | De(::serde::de::value::Error); [INFO] [stdout] 32 | | Csv(::csv::Error); [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / error_chain! { [INFO] [stdout] 30 | | foreign_links { [INFO] [stdout] 31 | | De(::serde::de::value::Error); [INFO] [stdout] 32 | | Csv(::csv::Error); [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / error_chain! { [INFO] [stdout] 30 | | foreign_links { [INFO] [stdout] 31 | | De(::serde::de::value::Error); [INFO] [stdout] 32 | | Csv(::csv::Error); [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dijkstra.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(mut m) = self.min_costs.get_mut(&entry.key) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/dijkstra.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(mut m) = self.min_costs.get_mut(&entry.key) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mid` is never read [INFO] [stdout] --> src/network/walk.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 55 | mid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mid` is never read [INFO] [stdout] --> src/network/road.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 121 | mid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^-------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 4]` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(forgetting_copy_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `network::IdxNodeKey` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:265:49 [INFO] [stdout] | [INFO] [stdout] 265 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/network/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct IdxNodeKey(u32); [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `network::IdxLink` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:266:46 [INFO] [stdout] | [INFO] [stdout] 266 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> src/network/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enode_idx: IdxNodeKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/network/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct IdxNodeKey(u32); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | forget(transmute::, [u8; 12]>( [INFO] [stdout] | __________^______- [INFO] [stdout] | | _________| [INFO] [stdout] | || [INFO] [stdout] 269 | || uninitialized(), [INFO] [stdout] 270 | || )); [INFO] [stdout] | ||_________-^ [INFO] [stdout] | |__________| [INFO] [stdout] | argument has type `[u8; 12]` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `HeapEntry` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | uninitialized(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/dijkstra.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub cost: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mid` is never read [INFO] [stdout] --> src/network/walk.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 55 | mid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mid` is never read [INFO] [stdout] --> src/network/road.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 121 | mid: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^-------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 4]` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(forgetting_copy_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `network::IdxNodeKey` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:265:49 [INFO] [stdout] | [INFO] [stdout] 265 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/network/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct IdxNodeKey(u32); [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `network::IdxLink` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:266:46 [INFO] [stdout] | [INFO] [stdout] 266 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> src/network/mod.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enode_idx: IdxNodeKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/network/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct IdxNodeKey(u32); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | forget(transmute::, [u8; 12]>( [INFO] [stdout] | __________^______- [INFO] [stdout] | | _________| [INFO] [stdout] | || [INFO] [stdout] 269 | || uninitialized(), [INFO] [stdout] 270 | || )); [INFO] [stdout] | ||_________-^ [INFO] [stdout] | |__________| [INFO] [stdout] | argument has type `[u8; 12]` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `HeapEntry` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | uninitialized(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/dijkstra.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub cost: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ch.rs:742:9 [INFO] [stdout] | [INFO] [stdout] 742 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `CHEntry` does not permit being left uninitialized [INFO] [stdout] --> src/ch.rs:742:46 [INFO] [stdout] | [INFO] [stdout] 742 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ch.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | score: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ch.rs:743:9 [INFO] [stdout] | [INFO] [stdout] 743 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^-----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 16]` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `CHContraction` does not permit being left uninitialized [INFO] [stdout] --> src/ch.rs:743:53 [INFO] [stdout] | [INFO] [stdout] 743 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> src/ch.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | snode_idx: IdxNodeKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/network/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct IdxNodeKey(u32); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ch.rs:742:9 [INFO] [stdout] | [INFO] [stdout] 742 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 8]` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `CHEntry` does not permit being left uninitialized [INFO] [stdout] --> src/ch.rs:742:46 [INFO] [stdout] | [INFO] [stdout] 742 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ch.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | score: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/ch.rs:743:9 [INFO] [stdout] | [INFO] [stdout] 743 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^-----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[u8; 16]` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `CHContraction` does not permit being left uninitialized [INFO] [stdout] --> src/ch.rs:743:53 [INFO] [stdout] | [INFO] [stdout] 743 | forget(transmute::(uninitialized())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: in this struct field [INFO] [stdout] --> src/ch.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | snode_idx: IdxNodeKey, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/network/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct IdxNodeKey(u32); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.77s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "98d6ba0ce8306f685ad7fb6b39995115c217997b71f6d170d641e9019bbdd23f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98d6ba0ce8306f685ad7fb6b39995115c217997b71f6d170d641e9019bbdd23f", kill_on_drop: false }` [INFO] [stdout] 98d6ba0ce8306f685ad7fb6b39995115c217997b71f6d170d641e9019bbdd23f [INFO] checking airof98/ch against try#aa7c6ba69acce8b10a275eabfe6157ea72c8b599 for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fairof98%2Fch" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/airof98/ch on toolchain aa7c6ba69acce8b10a275eabfe6157ea72c8b599 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/airof98/ch [INFO] finished tweaking git repo https://github.com/airof98/ch [INFO] tweaked toml for git repo https://github.com/airof98/ch written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/airof98/ch 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" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8e86593c0bd45616ff2f4412c1e8eaf43b8b5efd49339802d598f64d48e06c2 [INFO] running `Command { std: "docker" "start" "-a" "c8e86593c0bd45616ff2f4412c1e8eaf43b8b5efd49339802d598f64d48e06c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8e86593c0bd45616ff2f4412c1e8eaf43b8b5efd49339802d598f64d48e06c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8e86593c0bd45616ff2f4412c1e8eaf43b8b5efd49339802d598f64d48e06c2", kill_on_drop: false }` [INFO] [stdout] c8e86593c0bd45616ff2f4412c1e8eaf43b8b5efd49339802d598f64d48e06c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9d54ffa8aad2fe2e4f6aeff34b61e5a3165b095779481e5ab14db7e8a7f5535 [INFO] running `Command { std: "docker" "start" "-a" "f9d54ffa8aad2fe2e4f6aeff34b61e5a3165b095779481e5ab14db7e8a7f5535", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking num-traits v0.1.41 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/aa7c6ba69acce8b10a275eabfe6157ea72c8b599/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking csv-core v0.1.3 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking serde v1.0.26 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking rand v0.3.19 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking ordslice v0.2.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking take_mut v0.2.0 [INFO] [stderr] Checking clap v2.29.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f9d54ffa8aad2fe2e4f6aeff34b61e5a3165b095779481e5ab14db7e8a7f5535", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9d54ffa8aad2fe2e4f6aeff34b61e5a3165b095779481e5ab14db7e8a7f5535", kill_on_drop: false }` [INFO] [stdout] f9d54ffa8aad2fe2e4f6aeff34b61e5a3165b095779481e5ab14db7e8a7f5535