[INFO] fetching crate yatima-core 0.1.1... [INFO] checking yatima-core-0.1.1 against master#8424f8e8cdf07010967a57584fd647b30e930d4d for pr-120095 [INFO] extracting crate yatima-core 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate yatima-core 0.1.1 on toolchain 8424f8e8cdf07010967a57584fd647b30e930d4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yatima-core 0.1.1 [INFO] finished tweaking crates.io crate yatima-core 0.1.1 [INFO] tweaked toml for crates.io crate yatima-core 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-multihash v0.2.0 [INFO] [stderr] Downloaded sp-multihash-derive v0.2.0 [INFO] [stderr] Downloaded blake3 v0.3.8 [INFO] [stderr] Downloaded bytecursor v0.1.2 [INFO] [stderr] Downloaded sp-ipld v0.1.2 [INFO] [stderr] Downloaded sp-cid v0.2.0 [INFO] [stderr] Downloaded sp-ropey v0.1.0 [INFO] [stderr] Downloaded nom_locate v3.0.2 [INFO] [stderr] Downloaded sp-im v0.2.1 [INFO] [stderr] Downloaded sp-sized-chunks v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 559b9e51b00a1b1fd75fc4bdb5d2bc336a7f2ef622f1ea627fe7769a3642bc6a [INFO] running `Command { std: "docker" "start" "-a" "559b9e51b00a1b1fd75fc4bdb5d2bc336a7f2ef622f1ea627fe7769a3642bc6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "559b9e51b00a1b1fd75fc4bdb5d2bc336a7f2ef622f1ea627fe7769a3642bc6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "559b9e51b00a1b1fd75fc4bdb5d2bc336a7f2ef622f1ea627fe7769a3642bc6a", kill_on_drop: false }` [INFO] [stdout] 559b9e51b00a1b1fd75fc4bdb5d2bc336a7f2ef622f1ea627fe7769a3642bc6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3488e960eff03ac9298ff0576422c4b4b51d923dbcfdc472412f02c78c1c018e [INFO] running `Command { std: "docker" "start" "-a" "3488e960eff03ac9298ff0576422c4b4b51d923dbcfdc472412f02c78c1c018e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling winnow v0.4.7 [INFO] [stderr] Checking sp-std v3.0.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking bytecursor v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling nom v6.2.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking bitmaps v3.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking bitvec v0.19.6 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Compiling toml_edit v0.19.12 [INFO] [stderr] Checking sp-sized-chunks v0.1.0 [INFO] [stderr] Checking bytecount v0.6.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking sp-ropey v0.1.0 [INFO] [stderr] Checking sp-im v0.2.1 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking nom_locate v3.0.2 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Compiling sp-multihash-derive v0.2.0 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Checking data-encoding-macro v0.1.14 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking sp-multihash v0.2.0 [INFO] [stderr] Checking sp-cid v0.2.0 [INFO] [stderr] Checking sp-ipld v0.1.2 [INFO] [stderr] Checking yatima-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dag.rs:512:11 [INFO] [stdout] | [INFO] [stdout] 512 | last_old.map_or((), |last_old| (*last_old.as_ptr()).next = first_new); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 512 | let _ = last_old.map_or((), |last_old| (*last_old.as_ptr()).next = first_new); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dag.rs:516:7 [INFO] [stdout] | [INFO] [stdout] 516 | first_new.map_or((), |first_new| (*first_new.as_ptr()).prev = last_old); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 516 | let _ = first_new.map_or((), |first_new| (*first_new.as_ptr()).prev = last_old); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 544 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 553 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 562 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 571 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 580 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 595 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:609:9 [INFO] [stdout] | [INFO] [stdout] 609 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 609 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:623:9 [INFO] [stdout] | [INFO] [stdout] 623 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 623 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:644:9 [INFO] [stdout] | [INFO] [stdout] 644 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 644 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:650:11 [INFO] [stdout] | [INFO] [stdout] 650 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 650 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 654 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:657:9 [INFO] [stdout] | [INFO] [stdout] 657 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 657 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 660 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:663:9 [INFO] [stdout] | [INFO] [stdout] 663 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 663 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 666 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | Box::from_raw(pref.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 681 | let _ = Box::from_raw(pref.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | self.next.map_or((), |ptr| unsafe { (*ptr.as_ptr()).prev = new_next }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = self.next.map_or((), |ptr| unsafe { (*ptr.as_ptr()).prev = new_next }); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | self.prev.map_or((), |ptr| unsafe { (*ptr.as_ptr()).next = new_prev }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 90 | let _ = self.prev.map_or((), |ptr| unsafe { (*ptr.as_ptr()).next = new_prev }); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | self.prev.map_or((), |ptr| (*ptr.as_ptr()).next = Some(node)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = self.prev.map_or((), |ptr| (*ptr.as_ptr()).next = Some(node)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | / first.map_or((), |first| unsafe { [INFO] [stdout] 153 | | (*first.as_ptr()).prev = Some(last); [INFO] [stdout] 154 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = first.map_or((), |first| unsafe { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dag.rs:512:11 [INFO] [stdout] | [INFO] [stdout] 512 | last_old.map_or((), |last_old| (*last_old.as_ptr()).next = first_new); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 512 | let _ = last_old.map_or((), |last_old| (*last_old.as_ptr()).next = first_new); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dag.rs:516:7 [INFO] [stdout] | [INFO] [stdout] 516 | first_new.map_or((), |first_new| (*first_new.as_ptr()).prev = last_old); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 516 | let _ = first_new.map_or((), |first_new| (*first_new.as_ptr()).prev = last_old); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 544 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 553 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 562 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 571 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 580 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 595 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:609:9 [INFO] [stdout] | [INFO] [stdout] 609 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 609 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:623:9 [INFO] [stdout] | [INFO] [stdout] 623 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 623 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:644:9 [INFO] [stdout] | [INFO] [stdout] 644 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 644 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:650:11 [INFO] [stdout] | [INFO] [stdout] 650 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 650 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 654 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:657:9 [INFO] [stdout] | [INFO] [stdout] 657 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 657 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 660 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:663:9 [INFO] [stdout] | [INFO] [stdout] 663 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 663 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 666 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | Box::from_raw(pref.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 681 | let _ = Box::from_raw(pref.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | self.next.map_or((), |ptr| unsafe { (*ptr.as_ptr()).prev = new_next }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = self.next.map_or((), |ptr| unsafe { (*ptr.as_ptr()).prev = new_next }); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | self.prev.map_or((), |ptr| unsafe { (*ptr.as_ptr()).next = new_prev }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 90 | let _ = self.prev.map_or((), |ptr| unsafe { (*ptr.as_ptr()).next = new_prev }); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | self.prev.map_or((), |ptr| (*ptr.as_ptr()).next = Some(node)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = self.prev.map_or((), |ptr| (*ptr.as_ptr()).next = Some(node)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | / first.map_or((), |first| unsafe { [INFO] [stdout] 153 | | (*first.as_ptr()).prev = Some(last); [INFO] [stdout] 154 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = first.map_or((), |first| unsafe { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.88s [INFO] running `Command { std: "docker" "inspect" "3488e960eff03ac9298ff0576422c4b4b51d923dbcfdc472412f02c78c1c018e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3488e960eff03ac9298ff0576422c4b4b51d923dbcfdc472412f02c78c1c018e", kill_on_drop: false }` [INFO] [stdout] 3488e960eff03ac9298ff0576422c4b4b51d923dbcfdc472412f02c78c1c018e [INFO] checking yatima-core-0.1.1 against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] extracting crate yatima-core 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate yatima-core 0.1.1 on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yatima-core 0.1.1 [INFO] finished tweaking crates.io crate yatima-core 0.1.1 [INFO] tweaked toml for crates.io crate yatima-core 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61a0ac4a7478dabc454489d0f0446fea907a8d3d8228648ec12d05c2eded8bf2 [INFO] running `Command { std: "docker" "start" "-a" "61a0ac4a7478dabc454489d0f0446fea907a8d3d8228648ec12d05c2eded8bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61a0ac4a7478dabc454489d0f0446fea907a8d3d8228648ec12d05c2eded8bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61a0ac4a7478dabc454489d0f0446fea907a8d3d8228648ec12d05c2eded8bf2", kill_on_drop: false }` [INFO] [stdout] 61a0ac4a7478dabc454489d0f0446fea907a8d3d8228648ec12d05c2eded8bf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Ddereferencing_mut_binding" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63e0fdfbea0ee566b6e5631007345f3a92e91b53514fceae14225f3415572a03 [INFO] running `Command { std: "docker" "start" "-a" "63e0fdfbea0ee566b6e5631007345f3a92e91b53514fceae14225f3415572a03", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling winnow v0.4.7 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking sp-std v3.0.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking bytecursor v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling nom v6.2.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking bitvec v0.19.6 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking bitmaps v3.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Compiling toml_edit v0.19.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bytecount v0.6.7 [INFO] [stderr] Checking sp-sized-chunks v0.1.0 [INFO] [stderr] Checking sp-ropey v0.1.0 [INFO] [stderr] Checking sp-im v0.2.1 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking nom_locate v3.0.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Compiling sp-multihash-derive v0.2.0 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Checking data-encoding-macro v0.1.14 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking sp-multihash v0.2.0 [INFO] [stderr] Checking sp-cid v0.2.0 [INFO] [stderr] Checking sp-ipld v0.1.2 [INFO] [stderr] Checking yatima-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | ParentPtr::AppFun(mut link) | ParentPtr::AppArg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | ParentPtr::AppFun(mut link) | ParentPtr::AppArg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:59:53 [INFO] [stdout] | [INFO] [stdout] 59 | ParentPtr::AppFun(mut link) | ParentPtr::AppArg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:59:53 [INFO] [stdout] | [INFO] [stdout] 59 | ParentPtr::AppFun(mut link) | ParentPtr::AppArg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | ParentPtr::AnnExp(mut link) | ParentPtr::AnnTyp(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | ParentPtr::AnnExp(mut link) | ParentPtr::AnnTyp(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:71:53 [INFO] [stdout] | [INFO] [stdout] 71 | ParentPtr::AnnExp(mut link) | ParentPtr::AnnTyp(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:71:53 [INFO] [stdout] | [INFO] [stdout] 71 | ParentPtr::AnnExp(mut link) | ParentPtr::AnnTyp(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | ParentPtr::AllDom(mut link) | ParentPtr::AllImg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | ParentPtr::AllDom(mut link) | ParentPtr::AllImg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:83:53 [INFO] [stdout] | [INFO] [stdout] 83 | ParentPtr::AllDom(mut link) | ParentPtr::AllImg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:83:53 [INFO] [stdout] | [INFO] [stdout] 83 | ParentPtr::AllDom(mut link) | ParentPtr::AllImg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | ParentPtr::LetTyp(mut link) [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | ParentPtr::LetTyp(mut link) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | | ParentPtr::LetExp(mut link) [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | | ParentPtr::LetExp(mut link) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | | ParentPtr::LetBod(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | | ParentPtr::LetBod(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | ParentPtr::AppFun(mut link) | ParentPtr::AppArg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | ParentPtr::AppFun(mut link) | ParentPtr::AppArg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:59:53 [INFO] [stdout] | [INFO] [stdout] 59 | ParentPtr::AppFun(mut link) | ParentPtr::AppArg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:59:53 [INFO] [stdout] | [INFO] [stdout] 59 | ParentPtr::AppFun(mut link) | ParentPtr::AppArg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | ParentPtr::AnnExp(mut link) | ParentPtr::AnnTyp(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | ParentPtr::AnnExp(mut link) | ParentPtr::AnnTyp(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:71:53 [INFO] [stdout] | [INFO] [stdout] 71 | ParentPtr::AnnExp(mut link) | ParentPtr::AnnTyp(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:71:53 [INFO] [stdout] | [INFO] [stdout] 71 | ParentPtr::AnnExp(mut link) | ParentPtr::AnnTyp(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | ParentPtr::AllDom(mut link) | ParentPtr::AllImg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | ParentPtr::AllDom(mut link) | ParentPtr::AllImg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:83:53 [INFO] [stdout] | [INFO] [stdout] 83 | ParentPtr::AllDom(mut link) | ParentPtr::AllImg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:83:53 [INFO] [stdout] | [INFO] [stdout] 83 | ParentPtr::AllDom(mut link) | ParentPtr::AllImg(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | ParentPtr::LetTyp(mut link) [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | ParentPtr::LetTyp(mut link) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | | ParentPtr::LetExp(mut link) [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | | ParentPtr::LetExp(mut link) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/upcopy.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | | ParentPtr::LetBod(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/upcopy.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | | ParentPtr::LetBod(mut link) => unsafe { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dag.rs:512:11 [INFO] [stdout] | [INFO] [stdout] 512 | last_old.map_or((), |last_old| (*last_old.as_ptr()).next = first_new); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 512 | let _ = last_old.map_or((), |last_old| (*last_old.as_ptr()).next = first_new); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dag.rs:516:7 [INFO] [stdout] | [INFO] [stdout] 516 | first_new.map_or((), |first_new| (*first_new.as_ptr()).prev = last_old); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 516 | let _ = first_new.map_or((), |first_new| (*first_new.as_ptr()).prev = last_old); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 544 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 553 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 562 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 571 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 580 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 595 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:609:9 [INFO] [stdout] | [INFO] [stdout] 609 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 609 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:623:9 [INFO] [stdout] | [INFO] [stdout] 623 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 623 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:644:9 [INFO] [stdout] | [INFO] [stdout] 644 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 644 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:650:11 [INFO] [stdout] | [INFO] [stdout] 650 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 650 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 654 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:657:9 [INFO] [stdout] | [INFO] [stdout] 657 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 657 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 660 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:663:9 [INFO] [stdout] | [INFO] [stdout] 663 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 663 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 666 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | Box::from_raw(pref.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 681 | let _ = Box::from_raw(pref.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | self.next.map_or((), |ptr| unsafe { (*ptr.as_ptr()).prev = new_next }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = self.next.map_or((), |ptr| unsafe { (*ptr.as_ptr()).prev = new_next }); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | self.prev.map_or((), |ptr| unsafe { (*ptr.as_ptr()).next = new_prev }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 90 | let _ = self.prev.map_or((), |ptr| unsafe { (*ptr.as_ptr()).next = new_prev }); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | self.prev.map_or((), |ptr| (*ptr.as_ptr()).next = Some(node)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = self.prev.map_or((), |ptr| (*ptr.as_ptr()).next = Some(node)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | / first.map_or((), |first| unsafe { [INFO] [stdout] 153 | | (*first.as_ptr()).prev = Some(last); [INFO] [stdout] 154 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = first.map_or((), |first| unsafe { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yatima-core` (lib) due to 10 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dag.rs:512:11 [INFO] [stdout] | [INFO] [stdout] 512 | last_old.map_or((), |last_old| (*last_old.as_ptr()).next = first_new); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 512 | let _ = last_old.map_or((), |last_old| (*last_old.as_ptr()).next = first_new); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dag.rs:516:7 [INFO] [stdout] | [INFO] [stdout] 516 | first_new.map_or((), |first_new| (*first_new.as_ptr()).prev = last_old); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 516 | let _ = first_new.map_or((), |first_new| (*first_new.as_ptr()).prev = last_old); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:544:9 [INFO] [stdout] | [INFO] [stdout] 544 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 544 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:553:9 [INFO] [stdout] | [INFO] [stdout] 553 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 553 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 562 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 562 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 571 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 580 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 595 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:609:9 [INFO] [stdout] | [INFO] [stdout] 609 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 609 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:623:9 [INFO] [stdout] | [INFO] [stdout] 623 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 623 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:644:9 [INFO] [stdout] | [INFO] [stdout] 644 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 644 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:650:11 [INFO] [stdout] | [INFO] [stdout] 650 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 650 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 654 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:657:9 [INFO] [stdout] | [INFO] [stdout] 657 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 657 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 660 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:663:9 [INFO] [stdout] | [INFO] [stdout] 663 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 663 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | Box::from_raw(link.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 666 | let _ = Box::from_raw(link.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::boxed::Box::::from_raw` that must be used [INFO] [stdout] --> src/dag.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | Box::from_raw(pref.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 681 | let _ = Box::from_raw(pref.as_ptr()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | self.next.map_or((), |ptr| unsafe { (*ptr.as_ptr()).prev = new_next }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = self.next.map_or((), |ptr| unsafe { (*ptr.as_ptr()).prev = new_next }); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | self.prev.map_or((), |ptr| unsafe { (*ptr.as_ptr()).next = new_prev }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 90 | let _ = self.prev.map_or((), |ptr| unsafe { (*ptr.as_ptr()).next = new_prev }); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 100 | self.prev.map_or((), |ptr| (*ptr.as_ptr()).next = Some(node)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = self.prev.map_or((), |ptr| (*ptr.as_ptr()).next = Some(node)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/dll.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | / first.map_or((), |first| unsafe { [INFO] [stdout] 153 | | (*first.as_ptr()).prev = Some(last); [INFO] [stdout] 154 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = first.map_or((), |first| unsafe { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yatima-core` (lib test) due to 10 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "63e0fdfbea0ee566b6e5631007345f3a92e91b53514fceae14225f3415572a03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63e0fdfbea0ee566b6e5631007345f3a92e91b53514fceae14225f3415572a03", kill_on_drop: false }` [INFO] [stdout] 63e0fdfbea0ee566b6e5631007345f3a92e91b53514fceae14225f3415572a03