[INFO] fetching crate yatima-core 0.1.1... [INFO] checking yatima-core-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate yatima-core 0.1.1 into /workspace/builds/worker-4-tc2/source [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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yatima-core 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 97 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.7.15 (available: v0.7.20) [INFO] [stderr] Adding memchr v2.3.4 (available: v2.7.5) [INFO] [stderr] Adding nom v6.2.2 (available: v8.0.0) [INFO] [stderr] Adding nom_locate v3.0.2 (available: v5.0.0) [INFO] [stderr] Adding num-bigint v0.3.3 (available: v0.4.6) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding regex v1.4.6 (available: v1.11.2) [INFO] [stderr] Adding sp-cid v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding sp-im v0.2.1 (available: v0.3.0) [INFO] [stderr] Adding sp-ipld v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding sp-multihash v0.2.0 (available: v0.3.0) [INFO] [stderr] Adding sp-ropey v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding sp-std v3.0.0 (available: v14.0.0) [INFO] [stderr] Adding toml_edit v0.19.12 (available: v0.19.15) [INFO] [stderr] Adding winnow v0.4.7 (available: v0.4.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2010d943c7d6216354e1f4244f0112e070a3d4d6c07fdc95c4a3fad83036eeb7 [INFO] running `Command { std: "docker" "start" "-a" "2010d943c7d6216354e1f4244f0112e070a3d4d6c07fdc95c4a3fad83036eeb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2010d943c7d6216354e1f4244f0112e070a3d4d6c07fdc95c4a3fad83036eeb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2010d943c7d6216354e1f4244f0112e070a3d4d6c07fdc95c4a3fad83036eeb7", kill_on_drop: false }` [INFO] [stdout] 2010d943c7d6216354e1f4244f0112e070a3d4d6c07fdc95c4a3fad83036eeb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca4b7cedabcf212b88650c6ac51402a4f97b7bc914a7f3aac652775ff794743f [INFO] running `Command { std: "docker" "start" "-a" "ca4b7cedabcf212b88650c6ac51402a4f97b7bc914a7f3aac652775ff794743f", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling winnow v0.4.7 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking sp-std v3.0.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Compiling toml_edit v0.19.12 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking bytecursor v0.1.2 [INFO] [stderr] Compiling nom v6.2.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bitvec v0.19.6 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking bitmaps v3.2.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking sp-sized-chunks v0.1.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bytecount v0.6.9 [INFO] [stderr] Checking log v0.4.27 [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 rand v0.8.5 [INFO] [stderr] Compiling sp-multihash-derive v0.2.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling quickcheck_macros v1.1.0 [INFO] [stderr] Checking sp-multihash v0.2.0 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking data-encoding-macro v0.1.18 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking sp-cid v0.2.0 [INFO] [stderr] Checking sp-ipld v0.1.2 [INFO] [stderr] Checking nom_locate v3.0.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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/eval.rs:592:8 [INFO] [stdout] | [INFO] [stdout] 592 | i: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 593 | ) -> nom::IResult> { [INFO] [stdout] | ---- the same lifetime is hidden here ---- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 593 | ) -> nom::IResult, DAG, crate::parse::error::ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/eval.rs:601:8 [INFO] [stdout] | [INFO] [stdout] 601 | i: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 602 | ) -> nom::IResult> { [INFO] [stdout] | ---- the same lifetime is hidden here ---- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 602 | ) -> nom::IResult, Defs, crate::parse::error::ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/term.rs:1026:17 [INFO] [stdout] | [INFO] [stdout] 1026 | pub fn parse(i: &str, defs: Defs) -> IResult> { [INFO] [stdout] | ^^^^ ---- ---- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1026 | pub fn parse(i: &str, defs: Defs) -> IResult, Term, ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/term.rs:1038:6 [INFO] [stdout] | [INFO] [stdout] 1038 | i: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1041 | ) -> IResult> { [INFO] [stdout] | ---- ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1041 | ) -> IResult, Term, ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/prim/io.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | self.fun_symbol == rhs.fun_symbol [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 23 - self.fun_symbol == rhs.fun_symbol [INFO] [stdout] 23 + std::ptr::fn_addr_eq(self.fun_symbol, rhs.fun_symbol) [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 `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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/eval.rs:592:8 [INFO] [stdout] | [INFO] [stdout] 592 | i: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 593 | ) -> nom::IResult> { [INFO] [stdout] | ---- the same lifetime is hidden here ---- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 593 | ) -> nom::IResult, DAG, crate::parse::error::ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/eval.rs:601:8 [INFO] [stdout] | [INFO] [stdout] 601 | i: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 602 | ) -> nom::IResult> { [INFO] [stdout] | ---- the same lifetime is hidden here ---- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 602 | ) -> nom::IResult, Defs, crate::parse::error::ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/term.rs:1026:17 [INFO] [stdout] | [INFO] [stdout] 1026 | pub fn parse(i: &str, defs: Defs) -> IResult> { [INFO] [stdout] | ^^^^ ---- ---- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1026 | pub fn parse(i: &str, defs: Defs) -> IResult, Term, ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/term.rs:1038:6 [INFO] [stdout] | [INFO] [stdout] 1038 | i: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 1041 | ) -> IResult> { [INFO] [stdout] | ---- ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1041 | ) -> IResult, Term, ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/term.rs:1077:16 [INFO] [stdout] | [INFO] [stdout] 1077 | fn test(i: &str) -> IResult> { [INFO] [stdout] | ^^^^ ---- ---- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1077 | fn test(i: &str) -> IResult, Term, ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/term.rs:1096:16 [INFO] [stdout] | [INFO] [stdout] 1096 | fn test(i: &str) -> IResult> { [INFO] [stdout] | ^^^^ ---- ---- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1096 | fn test(i: &str) -> IResult, Term, ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/term.rs:1127:10 [INFO] [stdout] | [INFO] [stdout] 1127 | i: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 1128 | ) -> IResult, ParseError> { [INFO] [stdout] | ---- the same lifetime is hidden here ---- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1128 | ) -> IResult, Vec<(Uses, Name, Term)>, ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/term.rs:1172:10 [INFO] [stdout] | [INFO] [stdout] 1172 | i: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 1173 | ) -> IResult, ParseError> { [INFO] [stdout] | ---- the same lifetime is hidden here ---- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1173 | ) -> IResult, Vec<(Uses, Name, Term)>, ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/term.rs:1221:16 [INFO] [stdout] | [INFO] [stdout] 1221 | fn test(i: &str) -> IResult> { [INFO] [stdout] | ^^^^ ---- ---- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1221 | fn test(i: &str) -> IResult, Term, ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/term.rs:1237:16 [INFO] [stdout] | [INFO] [stdout] 1237 | fn test(i: &str) -> IResult> { [INFO] [stdout] | ^^^^ ---- ---- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1237 | fn test(i: &str) -> IResult, Term, ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/term.rs:1270:10 [INFO] [stdout] | [INFO] [stdout] 1270 | i: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 1271 | ) -> IResult> { [INFO] [stdout] | ---- ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1271 | ) -> IResult, (Term, Term), ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/term.rs:1317:10 [INFO] [stdout] | [INFO] [stdout] 1317 | i: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 1318 | ) -> IResult, ParseError> { [INFO] [stdout] | ---- the same lifetime is hidden here ---- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1318 | ) -> IResult, Vec<(Uses, Name, Term)>, ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/term.rs:1346:10 [INFO] [stdout] | [INFO] [stdout] 1346 | i: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 1347 | ) -> IResult, ParseError> { [INFO] [stdout] | ---- the same lifetime is hidden here ---- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1347 | ) -> IResult, Vec<(Uses, Name, Term)>, ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/typedef.rs:349:10 [INFO] [stdout] | [INFO] [stdout] 349 | i: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 350 | ) -> IResult> { [INFO] [stdout] | ---- ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 350 | ) -> IResult, Variant, ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/typedef.rs:490:20 [INFO] [stdout] | [INFO] [stdout] 490 | fn test_parse(i: &str) -> IResult> { [INFO] [stdout] | ^^^^ ---- ---- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 490 | fn test_parse(i: &str) -> IResult, TypeDef, ParseError>> { [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/prim/io.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | self.fun_symbol == rhs.fun_symbol [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 23 - self.fun_symbol == rhs.fun_symbol [INFO] [stdout] 23 + std::ptr::fn_addr_eq(self.fun_symbol, rhs.fun_symbol) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "ca4b7cedabcf212b88650c6ac51402a4f97b7bc914a7f3aac652775ff794743f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4b7cedabcf212b88650c6ac51402a4f97b7bc914a7f3aac652775ff794743f", kill_on_drop: false }` [INFO] [stdout] ca4b7cedabcf212b88650c6ac51402a4f97b7bc914a7f3aac652775ff794743f