[INFO] cloning repository https://github.com/KOBA789/vecexp-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KOBA789/vecexp-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKOBA789%2Fvecexp-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKOBA789%2Fvecexp-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e96ae7d1ff93f55615ba71481ea3b2612aac309b [INFO] testing KOBA789/vecexp-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKOBA789%2Fvecexp-rs" "/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/KOBA789/vecexp-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KOBA789/vecexp-rs [INFO] finished tweaking git repo https://github.com/KOBA789/vecexp-rs [INFO] tweaked toml for git repo https://github.com/KOBA789/vecexp-rs written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/KOBA789/vecexp-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6a8b3f813f7119a6307fd3f00271e53cce9b56121fe1f1ed5083ce5277e6f9c [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" "f6a8b3f813f7119a6307fd3f00271e53cce9b56121fe1f1ed5083ce5277e6f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6a8b3f813f7119a6307fd3f00271e53cce9b56121fe1f1ed5083ce5277e6f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a8b3f813f7119a6307fd3f00271e53cce9b56121fe1f1ed5083ce5277e6f9c", kill_on_drop: false }` [INFO] [stdout] f6a8b3f813f7119a6307fd3f00271e53cce9b56121fe1f1ed5083ce5277e6f9c [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5be8d2a4b9053a217d10d0542e49159a222e72064ccea0f8d07c71d6cbe29680 [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" "5be8d2a4b9053a217d10d0542e49159a222e72064ccea0f8d07c71d6cbe29680", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling vec_map v0.7.0 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling ascii v0.7.1 [INFO] [stderr] Compiling unicode-segmentation v1.1.0 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling combine v2.3.2 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling filebuffer v0.1.0 (https://github.com/ruuda/filebuffer.git?rev=4a55662#4a55662b) [INFO] [stderr] Compiling clap v2.23.3 [INFO] [stderr] Compiling vecexp-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/index.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn body_path(&self, usize) -> PathBuf; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/index.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | fn features_path(&self, usize) -> PathBuf; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/index.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | Ok((io::BufWriter::new(fs::File::create(path)?))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - Ok((io::BufWriter::new(fs::File::create(path)?))) [INFO] [stdout] 90 + Ok(io::BufWriter::new(fs::File::create(path)?)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:16:63 [INFO] [stdout] | [INFO] [stdout] 16 | let mut array: [$ty; $len] = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | let mut features_per_column = init_array!(FeatList, COLS, FeatList::new()); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `init_array` (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/macros.rs:16:63 [INFO] [stdout] | [INFO] [stdout] 16 | let mut array: [$ty; $len] = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | init_array!(LinkedHashMap, COLS, LinkedHashMap::new()); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `init_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/index.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | bundle: &'a IndexFileBundle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 - bundle: &'a IndexFileBundle, [INFO] [stdout] 80 + bundle: &'a dyn IndexFileBundle, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm.rs:59:37 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn exec(&self, writer: &mut io::Write, limit: Option) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - pub fn exec(&self, writer: &mut io::Write, limit: Option) -> Option<()> { [INFO] [stdout] 59 + pub fn exec(&self, writer: &mut dyn io::Write, limit: Option) -> Option<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/index.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new(bundle: &'a IndexFileBundle) -> Indexer<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - pub fn new(bundle: &'a IndexFileBundle) -> Indexer<'a> { [INFO] [stdout] 84 + pub fn new(bundle: &'a dyn IndexFileBundle) -> Indexer<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/index.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | for (column, (mut pool, mut features)) in [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/index.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | for (column, (mut pool, mut features)) in [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/index.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | ... mut bufs: &mut Vec, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/index.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | fn body_table<'a>(&self, mut bufs: &'a mut Vec) -> BodyTable<'a> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/index.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | for (mut column, (feat, mut feature_id_map)) in zipped { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/index.rs:129:41 [INFO] [stdout] | [INFO] [stdout] 129 | for (mut column, (feat, mut feature_id_map)) in zipped { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/index.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 143 | for (feat_id, mut column) in row.iter().zip(columns.iter_mut()) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/index.rs:155:67 [INFO] [stdout] | [INFO] [stdout] 155 | for (column, feature_id_map) in feature_id_map_bundle.into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 155 | for (column, feature_id_map) in feature_id_map_bundle.iter().enumerate() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 155 | for (column, feature_id_map) in IntoIterator::into_iter(feature_id_map_bundle).enumerate() { [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[Vec<&[u8]>; 10]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | let mut array: [$ty; $len] = unsafe { ::std::mem::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] ::: src/index.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | let mut features_per_column = init_array!(FeatList, COLS, FeatList::new()); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: `std::ptr::Unique<&[u8]>` must be non-null (in this struct field) [INFO] [stdout] = note: this warning originates in the macro `init_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[LinkedHashMap<&[u8], u32>; 10]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | let mut array: [$ty; $len] = unsafe { ::std::mem::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] ::: src/index.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | init_array!(LinkedHashMap, COLS, LinkedHashMap::new()); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ptr::NonNull` must be non-null (in this struct field) [INFO] [stdout] = note: this warning originates in the macro `init_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.55s [INFO] running `Command { std: "docker" "inspect" "5be8d2a4b9053a217d10d0542e49159a222e72064ccea0f8d07c71d6cbe29680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5be8d2a4b9053a217d10d0542e49159a222e72064ccea0f8d07c71d6cbe29680", kill_on_drop: false }` [INFO] [stdout] 5be8d2a4b9053a217d10d0542e49159a222e72064ccea0f8d07c71d6cbe29680 [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0308231f89925212fbcb9a9badfe84b81eed1eba183832406ad7af92a140e8fd [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" "0308231f89925212fbcb9a9badfe84b81eed1eba183832406ad7af92a140e8fd", kill_on_drop: false }` [INFO] [stderr] Compiling vecexp-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/index.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | fn body_path(&self, usize) -> PathBuf; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/index.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | fn features_path(&self, usize) -> PathBuf; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/index.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | Ok((io::BufWriter::new(fs::File::create(path)?))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - Ok((io::BufWriter::new(fs::File::create(path)?))) [INFO] [stdout] 90 + Ok(io::BufWriter::new(fs::File::create(path)?)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:16:63 [INFO] [stdout] | [INFO] [stdout] 16 | let mut array: [$ty; $len] = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | let mut features_per_column = init_array!(FeatList, COLS, FeatList::new()); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `init_array` (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/macros.rs:16:63 [INFO] [stdout] | [INFO] [stdout] 16 | let mut array: [$ty; $len] = unsafe { ::std::mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | init_array!(LinkedHashMap, COLS, LinkedHashMap::new()); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `init_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/index.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | bundle: &'a IndexFileBundle, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 - bundle: &'a IndexFileBundle, [INFO] [stdout] 80 + bundle: &'a dyn IndexFileBundle, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/vm.rs:59:37 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn exec(&self, writer: &mut io::Write, limit: Option) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - pub fn exec(&self, writer: &mut io::Write, limit: Option) -> Option<()> { [INFO] [stdout] 59 + pub fn exec(&self, writer: &mut dyn io::Write, limit: Option) -> Option<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/index.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new(bundle: &'a IndexFileBundle) -> Indexer<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - pub fn new(bundle: &'a IndexFileBundle) -> Indexer<'a> { [INFO] [stdout] 84 + pub fn new(bundle: &'a dyn IndexFileBundle) -> Indexer<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/index.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | for (column, (mut pool, mut features)) in [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/index.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | for (column, (mut pool, mut features)) in [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/index.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | ... mut bufs: &mut Vec, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/index.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | fn body_table<'a>(&self, mut bufs: &'a mut Vec) -> BodyTable<'a> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/index.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 129 | for (mut column, (feat, mut feature_id_map)) in zipped { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/index.rs:129:41 [INFO] [stdout] | [INFO] [stdout] 129 | for (mut column, (feat, mut feature_id_map)) in zipped { [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/index.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 143 | for (feat_id, mut column) in row.iter().zip(columns.iter_mut()) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/index.rs:155:67 [INFO] [stdout] | [INFO] [stdout] 155 | for (column, feature_id_map) in feature_id_map_bundle.into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 155 | for (column, feature_id_map) in feature_id_map_bundle.iter().enumerate() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 155 | for (column, feature_id_map) in IntoIterator::into_iter(feature_id_map_bundle).enumerate() { [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[Vec<&[u8]>; 10]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | let mut array: [$ty; $len] = unsafe { ::std::mem::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] ::: src/index.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | let mut features_per_column = init_array!(FeatList, COLS, FeatList::new()); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: `std::ptr::Unique<&[u8]>` must be non-null (in this struct field) [INFO] [stdout] = note: this warning originates in the macro `init_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[LinkedHashMap<&[u8], u32>; 10]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | let mut array: [$ty; $len] = unsafe { ::std::mem::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] ::: src/index.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | init_array!(LinkedHashMap, COLS, LinkedHashMap::new()); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `std::ptr::NonNull` must be non-null (in this struct field) [INFO] [stdout] = note: this warning originates in the macro `init_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.67s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/vecexp_rs-5067d4e1cd22b1e8) [INFO] running `Command { std: "docker" "inspect" "0308231f89925212fbcb9a9badfe84b81eed1eba183832406ad7af92a140e8fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0308231f89925212fbcb9a9badfe84b81eed1eba183832406ad7af92a140e8fd", kill_on_drop: false }` [INFO] [stdout] 0308231f89925212fbcb9a9badfe84b81eed1eba183832406ad7af92a140e8fd [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9aa9ef9bf0ee293ffd4c73b7d5915ccee79b25779e2fb7b8ae5f464f8ce167d5 [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" "9aa9ef9bf0ee293ffd4c73b7d5915ccee79b25779e2fb7b8ae5f464f8ce167d5", kill_on_drop: false }` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/index.rs:16:25 [INFO] [stderr] | [INFO] [stderr] 16 | fn body_path(&self, usize) -> PathBuf; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/index.rs:17:29 [INFO] [stderr] | [INFO] [stderr] 17 | fn features_path(&self, usize) -> PathBuf; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/index.rs:90:12 [INFO] [stderr] | [INFO] [stderr] 90 | Ok((io::BufWriter::new(fs::File::create(path)?))) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 90 - Ok((io::BufWriter::new(fs::File::create(path)?))) [INFO] [stderr] 90 + Ok(io::BufWriter::new(fs::File::create(path)?)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:16:63 [INFO] [stderr] | [INFO] [stderr] 16 | let mut array: [$ty; $len] = unsafe { ::std::mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/index.rs:31:39 [INFO] [stderr] | [INFO] [stderr] 31 | let mut features_per_column = init_array!(FeatList, COLS, FeatList::new()); [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `init_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:16:63 [INFO] [stderr] | [INFO] [stderr] 16 | let mut array: [$ty; $len] = unsafe { ::std::mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/index.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 102 | init_array!(LinkedHashMap, COLS, LinkedHashMap::new()); [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `init_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/index.rs:80:17 [INFO] [stderr] | [INFO] [stderr] 80 | bundle: &'a IndexFileBundle, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 80 - bundle: &'a IndexFileBundle, [INFO] [stderr] 80 + bundle: &'a dyn IndexFileBundle, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/vm.rs:59:37 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn exec(&self, writer: &mut io::Write, limit: Option) -> Option<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 59 - pub fn exec(&self, writer: &mut io::Write, limit: Option) -> Option<()> { [INFO] [stderr] 59 + pub fn exec(&self, writer: &mut dyn io::Write, limit: Option) -> Option<()> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/index.rs:84:28 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn new(bundle: &'a IndexFileBundle) -> Indexer<'a> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 84 - pub fn new(bundle: &'a IndexFileBundle) -> Indexer<'a> { [INFO] [stderr] 84 + pub fn new(bundle: &'a dyn IndexFileBundle) -> Indexer<'a> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/index.rs:32:23 [INFO] [stderr] | [INFO] [stderr] 32 | for (column, (mut pool, mut features)) in [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/index.rs:32:33 [INFO] [stderr] | [INFO] [stderr] 32 | for (column, (mut pool, mut features)) in [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/index.rs:47:31 [INFO] [stderr] | [INFO] [stderr] 47 | ... mut bufs: &mut Vec, [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/index.rs:58:30 [INFO] [stderr] | [INFO] [stderr] 58 | fn body_table<'a>(&self, mut bufs: &'a mut Vec) -> BodyTable<'a> { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/index.rs:129:22 [INFO] [stderr] | [INFO] [stderr] 129 | for (mut column, (feat, mut feature_id_map)) in zipped { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/index.rs:129:41 [INFO] [stderr] | [INFO] [stderr] 129 | for (mut column, (feat, mut feature_id_map)) in zipped { [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/index.rs:143:31 [INFO] [stderr] | [INFO] [stderr] 143 | for (feat_id, mut column) in row.iter().zip(columns.iter_mut()) { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stderr] --> src/index.rs:155:67 [INFO] [stderr] | [INFO] [stderr] 155 | for (column, feature_id_map) in feature_id_map_bundle.into_iter().enumerate() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 155 | for (column, feature_id_map) in feature_id_map_bundle.iter().enumerate() { [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 155 | for (column, feature_id_map) in IntoIterator::into_iter(feature_id_map_bundle).enumerate() { [INFO] [stderr] | ++++++++++++++++++++++++ ~ [INFO] [stderr] [INFO] [stderr] warning: the type `[Vec<&[u8]>; 10]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:16:51 [INFO] [stderr] | [INFO] [stderr] 16 | let mut array: [$ty; $len] = unsafe { ::std::mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/index.rs:31:39 [INFO] [stderr] | [INFO] [stderr] 31 | let mut features_per_column = init_array!(FeatList, COLS, FeatList::new()); [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] note: `std::ptr::Unique<&[u8]>` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in the macro `init_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[LinkedHashMap<&[u8], u32>; 10]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:16:51 [INFO] [stderr] | [INFO] [stderr] 16 | let mut array: [$ty; $len] = unsafe { ::std::mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/index.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 102 | init_array!(LinkedHashMap, COLS, LinkedHashMap::new()); [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: `std::ptr::NonNull` must be non-null (in this struct field) [INFO] [stderr] = note: this warning originates in the macro `init_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `vecexp-rs` (bin "vecexp-rs" test) generated 18 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/vecexp_rs-5067d4e1cd22b1e8) [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" "9aa9ef9bf0ee293ffd4c73b7d5915ccee79b25779e2fb7b8ae5f464f8ce167d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aa9ef9bf0ee293ffd4c73b7d5915ccee79b25779e2fb7b8ae5f464f8ce167d5", kill_on_drop: false }` [INFO] [stdout] 9aa9ef9bf0ee293ffd4c73b7d5915ccee79b25779e2fb7b8ae5f464f8ce167d5