[INFO] cloning repository https://github.com/yjh0502/ch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yjh0502/ch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyjh0502%2Fch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyjh0502%2Fch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 132aa9374e14f6bd7b58c7a6ebd22e5af8af6822 [INFO] testing yjh0502/ch against try#ecd7b559f89c73ac8f1d318f7501006f37b944b2 for pr-112849 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyjh0502%2Fch" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yjh0502/ch on toolchain ecd7b559f89c73ac8f1d318f7501006f37b944b2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yjh0502/ch [INFO] finished tweaking git repo https://github.com/yjh0502/ch [INFO] tweaked toml for git repo https://github.com/yjh0502/ch written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/yjh0502/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" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a06d0eee0b50cd8ff61d52fc853a219f107b6eefdf1a23c6bcd1833d48c73e5e [INFO] running `Command { std: "docker" "start" "-a" "a06d0eee0b50cd8ff61d52fc853a219f107b6eefdf1a23c6bcd1833d48c73e5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a06d0eee0b50cd8ff61d52fc853a219f107b6eefdf1a23c6bcd1833d48c73e5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a06d0eee0b50cd8ff61d52fc853a219f107b6eefdf1a23c6bcd1833d48c73e5e", kill_on_drop: false }` [INFO] [stdout] a06d0eee0b50cd8ff61d52fc853a219f107b6eefdf1a23c6bcd1833d48c73e5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d93f82f4a89810c3f2fe69bb9c221e21de0f166710432272bf2a46c63e88f40b [INFO] running `Command { std: "docker" "start" "-a" "d93f82f4a89810c3f2fe69bb9c221e21de0f166710432272bf2a46c63e88f40b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.41 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling cc v1.0.15 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling serde v1.0.59 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.3 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling quote v0.6.2 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling backtrace-sys v0.1.19 [INFO] [stderr] Compiling syn v0.14.0 [INFO] [stderr] Compiling csv-core v0.1.4 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling ordslice v0.3.0 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling stopwatch v0.0.7 [INFO] [stderr] Compiling serde_derive v1.0.59 [INFO] [stderr] Compiling csv v1.0.0 [INFO] [stderr] Compiling backtrace v0.3.8 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling 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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:267:49 [INFO] [stdout] | [INFO] [stdout] 267 | 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:268:46 [INFO] [stdout] | [INFO] [stdout] 268 | 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:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | 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: 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/road.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 125 | 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/walk.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 57 | 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:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | 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:267:49 [INFO] [stdout] | [INFO] [stdout] 267 | 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:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | 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:268:46 [INFO] [stdout] | [INFO] [stdout] 268 | 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:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | forget(transmute::, [u8; 12]>( [INFO] [stdout] | __________^______- [INFO] [stdout] | | _________| [INFO] [stdout] | || [INFO] [stdout] 271 | || uninitialized(), [INFO] [stdout] 272 | || )); [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:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | 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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.78s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24, syn v0.14.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d93f82f4a89810c3f2fe69bb9c221e21de0f166710432272bf2a46c63e88f40b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d93f82f4a89810c3f2fe69bb9c221e21de0f166710432272bf2a46c63e88f40b", kill_on_drop: false }` [INFO] [stdout] d93f82f4a89810c3f2fe69bb9c221e21de0f166710432272bf2a46c63e88f40b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42a0f39c6dd86bf75a704a578efda9c2c7a9a845cd427c9b562baa6088638beb [INFO] running `Command { std: "docker" "start" "-a" "42a0f39c6dd86bf75a704a578efda9c2c7a9a845cd427c9b562baa6088638beb", kill_on_drop: false }` [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:267:49 [INFO] [stdout] | [INFO] [stdout] 267 | 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:268:46 [INFO] [stdout] | [INFO] [stdout] 268 | 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:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | 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: 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/road.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 125 | 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/walk.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 57 | 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:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | 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:267:49 [INFO] [stdout] | [INFO] [stdout] 267 | 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:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | 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:268:46 [INFO] [stdout] | [INFO] [stdout] 268 | 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:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | forget(transmute::, [u8; 12]>( [INFO] [stdout] | __________^______- [INFO] [stdout] | | _________| [INFO] [stdout] | || [INFO] [stdout] 271 | || uninitialized(), [INFO] [stdout] 272 | || )); [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:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | 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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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:267:49 [INFO] [stdout] | [INFO] [stdout] 267 | 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:268:46 [INFO] [stdout] | [INFO] [stdout] 268 | 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:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | 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: 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/road.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 125 | 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/walk.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 57 | 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:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | 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:267:49 [INFO] [stdout] | [INFO] [stdout] 267 | 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:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | 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:268:46 [INFO] [stdout] | [INFO] [stdout] 268 | 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:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | forget(transmute::, [u8; 12]>( [INFO] [stdout] | __________^______- [INFO] [stdout] | | _________| [INFO] [stdout] | || [INFO] [stdout] 271 | || uninitialized(), [INFO] [stdout] 272 | || )); [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:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | 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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24, syn v0.14.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "42a0f39c6dd86bf75a704a578efda9c2c7a9a845cd427c9b562baa6088638beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42a0f39c6dd86bf75a704a578efda9c2c7a9a845cd427c9b562baa6088638beb", kill_on_drop: false }` [INFO] [stdout] 42a0f39c6dd86bf75a704a578efda9c2c7a9a845cd427c9b562baa6088638beb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+ecd7b559f89c73ac8f1d318f7501006f37b944b2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1500e060be0ed459c98a1f1f72f2441dee907cee02685f43142b2ff5a498dded [INFO] running `Command { std: "docker" "start" "-a" "1500e060be0ed459c98a1f1f72f2441dee907cee02685f43142b2ff5a498dded", kill_on_drop: false }` [INFO] [stderr] time="2023-06-23T07:14:02Z" level=error msg="error waiting for container: context canceled" [INFO] [stderr] Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/var/lib/crater-agent-workspace/cargo-home" to rootfs at "/opt/rustwide/cargo-home": mkdir /var/lib/docker/overlay2/42bafd153ae6ad30ee06a09e85cdbe947e6ee062209be1dc6990293cb000268e/merged/opt/rustwide/cargo-home: no space left on device: unknown [INFO] running `Command { std: "docker" "inspect" "1500e060be0ed459c98a1f1f72f2441dee907cee02685f43142b2ff5a498dded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1500e060be0ed459c98a1f1f72f2441dee907cee02685f43142b2ff5a498dded", kill_on_drop: false }` [INFO] [stdout] 1500e060be0ed459c98a1f1f72f2441dee907cee02685f43142b2ff5a498dded