[INFO] fetching crate adapton 0.3.31... [INFO] checking adapton-0.3.31 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate adapton 0.3.31 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate adapton 0.3.31 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate adapton 0.3.31 [INFO] finished tweaking crates.io crate adapton 0.3.31 [INFO] tweaked toml for crates.io crate adapton 0.3.31 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14a6b6f97d8de05a8564493cdc81d7f9f698ba746c7d01f3302d447e89aa6471 [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" "14a6b6f97d8de05a8564493cdc81d7f9f698ba746c7d01f3302d447e89aa6471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14a6b6f97d8de05a8564493cdc81d7f9f698ba746c7d01f3302d447e89aa6471", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14a6b6f97d8de05a8564493cdc81d7f9f698ba746c7d01f3302d447e89aa6471", kill_on_drop: false }` [INFO] [stdout] 14a6b6f97d8de05a8564493cdc81d7f9f698ba746c7d01f3302d447e89aa6471 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfa1dd13abb766e1cd4f88f8c194a98a4f3435943e0441140daf8e6950108790 [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" "cfa1dd13abb766e1cd4f88f8c194a98a4f3435943e0441140daf8e6950108790", kill_on_drop: false }` [INFO] [stderr] Checking adapton v0.3.31 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/engine.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | /// An effect without an extent (without nested effects) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] ... [INFO] [stdout] 1020 | dcg_effect!(reflect::trace::Effect::CleanEdge, Some(loc), succ); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/engine.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | /// An effect without an extent (without nested effects) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] ... [INFO] [stdout] 1268 | dcg_effect!(reflect::trace::Effect::Remove, Some(src), succ); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/engine.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | /// An effect without an extent (without nested effects) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] ... [INFO] [stdout] 1843 | / dcg_effect!( [INFO] [stdout] 1844 | | // TODO-Someday: Reflect the fact that we are doing a mapping here [INFO] [stdout] 1845 | | reflect::trace::Effect::Force(reflect::trace::ForceCase::RefGet), [INFO] [stdout] 1846 | | current_loc!(*g.borrow()), [INFO] [stdout] ... | [INFO] [stdout] 1852 | | is_dup:false, [INFO] [stdout] 1853 | | }); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/engine.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | /// An effect without an extent (without nested effects) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] ... [INFO] [stdout] 1910 | / dcg_effect!( [INFO] [stdout] 1911 | | // TODO-Someday: Reflect the fact that we are doing a mapping here [INFO] [stdout] 1912 | | reflect::trace::Effect::Force(reflect::trace::ForceCase::RefGet), [INFO] [stdout] 1913 | | current_loc!(*g.borrow()), [INFO] [stdout] ... | [INFO] [stdout] 1919 | | is_dup:false, [INFO] [stdout] 1920 | | }); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/engine.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | /// An effect without an extent (without nested effects) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] ... [INFO] [stdout] 2056 | / dcg_effect!( [INFO] [stdout] 2057 | | reflect::trace::Effect::Force(reflect::trace::ForceCase::RefGet), [INFO] [stdout] 2058 | | current_loc!(*g.borrow()), [INFO] [stdout] 2059 | | reflect::Succ{ [INFO] [stdout] ... | [INFO] [stdout] 2064 | | is_dup:is_dup, [INFO] [stdout] 2065 | | }); [INFO] [stdout] | |___________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/engine.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | /// An effect without an extent (without nested effects) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] ... [INFO] [stdout] 1020 | dcg_effect!(reflect::trace::Effect::CleanEdge, Some(loc), succ); [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/engine.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | /// An effect without an extent (without nested effects) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] ... [INFO] [stdout] 1268 | dcg_effect!(reflect::trace::Effect::Remove, Some(src), succ); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/engine.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | /// An effect without an extent (without nested effects) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] ... [INFO] [stdout] 1843 | / dcg_effect!( [INFO] [stdout] 1844 | | // TODO-Someday: Reflect the fact that we are doing a mapping here [INFO] [stdout] 1845 | | reflect::trace::Effect::Force(reflect::trace::ForceCase::RefGet), [INFO] [stdout] 1846 | | current_loc!(*g.borrow()), [INFO] [stdout] ... | [INFO] [stdout] 1852 | | is_dup:false, [INFO] [stdout] 1853 | | }); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/engine.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | /// An effect without an extent (without nested effects) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] ... [INFO] [stdout] 1910 | / dcg_effect!( [INFO] [stdout] 1911 | | // TODO-Someday: Reflect the fact that we are doing a mapping here [INFO] [stdout] 1912 | | reflect::trace::Effect::Force(reflect::trace::ForceCase::RefGet), [INFO] [stdout] 1913 | | current_loc!(*g.borrow()), [INFO] [stdout] ... | [INFO] [stdout] 1919 | | is_dup:false, [INFO] [stdout] 1920 | | }); [INFO] [stdout] | |_______________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/engine.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | /// An effect without an extent (without nested effects) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] ... [INFO] [stdout] 2056 | / dcg_effect!( [INFO] [stdout] 2057 | | reflect::trace::Effect::Force(reflect::trace::ForceCase::RefGet), [INFO] [stdout] 2058 | | current_loc!(*g.borrow()), [INFO] [stdout] 2059 | | reflect::Succ{ [INFO] [stdout] ... | [INFO] [stdout] 2064 | | is_dup:is_dup, [INFO] [stdout] 2065 | | }); [INFO] [stdout] | |___________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/catalog/trie.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 269 | let root_mfn_art = panic!("todo"); //put(Self::root_mfn(nm.clone(), nm_, trie, elt)); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] 270 | Self::name(nm, Self::art(root_mfn_art)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nm` [INFO] [stdout] --> src/catalog/trie.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | let (nm, nm_) = name_fork(nm); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_nm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nm_` [INFO] [stdout] --> src/catalog/trie.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 267 | let (nm, nm_) = name_fork(nm); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nm_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_mfn_art` [INFO] [stdout] --> src/catalog/trie.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | let root_mfn_art = panic!("todo"); //put(Self::root_mfn(nm.clone(), nm_, trie, elt)); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_mfn_art` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trie` [INFO] [stdout] --> src/catalog/trie.rs:266:25 [INFO] [stdout] | [INFO] [stdout] 266 | fn extend(nm: Name, trie: Self, elt: X) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_trie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elt` [INFO] [stdout] --> src/catalog/trie.rs:266:37 [INFO] [stdout] | [INFO] [stdout] 266 | fn extend(nm: Name, trie: Self, elt: X) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_elt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/catalog/trie.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 269 | let root_mfn_art = panic!("todo"); //put(Self::root_mfn(nm.clone(), nm_, trie, elt)); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] 270 | Self::name(nm, Self::art(root_mfn_art)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nm` [INFO] [stdout] --> src/catalog/trie.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | let (nm, nm_) = name_fork(nm); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_nm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nm_` [INFO] [stdout] --> src/catalog/trie.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 267 | let (nm, nm_) = name_fork(nm); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_nm_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_mfn_art` [INFO] [stdout] --> src/catalog/trie.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | let root_mfn_art = panic!("todo"); //put(Self::root_mfn(nm.clone(), nm_, trie, elt)); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_mfn_art` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trie` [INFO] [stdout] --> src/catalog/trie.rs:266:25 [INFO] [stdout] | [INFO] [stdout] 266 | fn extend(nm: Name, trie: Self, elt: X) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_trie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elt` [INFO] [stdout] --> src/catalog/trie.rs:266:37 [INFO] [stdout] | [INFO] [stdout] 266 | fn extend(nm: Name, trie: Self, elt: X) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_elt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `explore_rec` [INFO] [stdout] --> src/engine.rs:2810:8 [INFO] [stdout] | [INFO] [stdout] 2810 | fn explore_rec(cur_n:usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/engine.rs:985:17 [INFO] [stdout] | [INFO] [stdout] 985 | replace(&mut node.succs, frame.succs.into_iter().map(|(succ,_)|succ).collect() ) ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/engine.rs:1319:17 [INFO] [stdout] | [INFO] [stdout] 1319 | replace(&mut succ.dirty, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/engine.rs:1338:17 [INFO] [stdout] | [INFO] [stdout] 1338 | replace(&mut succ.dirty, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/engine.rs:1375:25 [INFO] [stdout] | [INFO] [stdout] 1375 | replace(&mut nd.val, val) ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/engine.rs:985:17 [INFO] [stdout] | [INFO] [stdout] 985 | replace(&mut node.succs, frame.succs.into_iter().map(|(succ,_)|succ).collect() ) ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/engine.rs:1319:17 [INFO] [stdout] | [INFO] [stdout] 1319 | replace(&mut succ.dirty, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/engine.rs:1338:17 [INFO] [stdout] | [INFO] [stdout] 1338 | replace(&mut succ.dirty, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/engine.rs:1375:25 [INFO] [stdout] | [INFO] [stdout] 1375 | replace(&mut nd.val, val) ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.29s [INFO] running `Command { std: "docker" "inspect" "cfa1dd13abb766e1cd4f88f8c194a98a4f3435943e0441140daf8e6950108790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfa1dd13abb766e1cd4f88f8c194a98a4f3435943e0441140daf8e6950108790", kill_on_drop: false }` [INFO] [stdout] cfa1dd13abb766e1cd4f88f8c194a98a4f3435943e0441140daf8e6950108790