[INFO] fetching crate routecore 0.6.0... [INFO] checking routecore-0.6.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate routecore 0.6.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate routecore 0.6.0 [INFO] finished tweaking crates.io crate routecore 0.6.0 [INFO] tweaked toml for crates.io crate routecore 0.6.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate routecore 0.6.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate routecore 0.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 133ca98f51e0f740cfb69dcbb4c0c4dd5036704e5975a448b60032120c74838d [INFO] running `Command { std: "docker" "start" "-a" "133ca98f51e0f740cfb69dcbb4c0c4dd5036704e5975a448b60032120c74838d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "133ca98f51e0f740cfb69dcbb4c0c4dd5036704e5975a448b60032120c74838d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "133ca98f51e0f740cfb69dcbb4c0c4dd5036704e5975a448b60032120c74838d", kill_on_drop: false }` [INFO] [stdout] 133ca98f51e0f740cfb69dcbb4c0c4dd5036704e5975a448b60032120c74838d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11a2a255766407c214f50242d21f598a6e4bd91cbe52ae8100cf2541f212afba [INFO] running `Command { std: "docker" "start" "-a" "11a2a255766407c214f50242d21f598a6e4bd91cbe52ae8100cf2541f212afba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking octseq v0.5.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling derive_arbitrary v1.4.1 [INFO] [stderr] Compiling const-str-proc-macro v0.6.2 [INFO] [stderr] Checking const-str v0.6.2 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Checking serde_with v3.14.0 [INFO] [stderr] Checking inetnum v0.1.1 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking routecore v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 575 | / HopPath::from( [INFO] [stdout] 576 | | asns.into_iter().map(Into::into).collect::>() [INFO] [stdout] 577 | | ).to_as_path() [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/path_attributes.rs:1085:9 [INFO] [stdout] | [INFO] [stdout] 1085 | self.to_as_path::>().unwrap().into_inner().len() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/path_attributes.rs:1092:12 [INFO] [stdout] | [INFO] [stdout] 1092 | self.to_as_path::>().unwrap().into_inner().as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/path_attributes.rs:1843:9 [INFO] [stdout] | [INFO] [stdout] 1843 | self.0.to_as_path::>().unwrap().into_inner().len() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/path_attributes.rs:1850:13 [INFO] [stdout] | [INFO] [stdout] 1850 | self.0.to_as_path::>().unwrap().into_inner().as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/message/update_builder.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | aspath.to_as_path::>() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `routecore` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:575:13 [INFO] [stdout] | [INFO] [stdout] 575 | / HopPath::from( [INFO] [stdout] 576 | | asns.into_iter().map(Into::into).collect::>() [INFO] [stdout] 577 | | ).to_as_path() [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1379:19 [INFO] [stdout] | [INFO] [stdout] 1379 | let asp = hp.to_as_path::>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1402:19 [INFO] [stdout] | [INFO] [stdout] 1402 | let asp = hp.to_as_path::>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1430:36 [INFO] [stdout] | [INFO] [stdout] 1430 | let asp: AsPath> = hp.to_as_path().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1448:13 [INFO] [stdout] | [INFO] [stdout] 1448 | hp.to_as_path::>().unwrap().to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1454:13 [INFO] [stdout] | [INFO] [stdout] 1454 | hp.to_as_path::>().unwrap().to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1460:13 [INFO] [stdout] | [INFO] [stdout] 1460 | hp.to_as_path::>().unwrap().to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1525:40 [INFO] [stdout] | [INFO] [stdout] 1525 | let asp1_32: AsPath> = hp.to_as_path().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1541:40 [INFO] [stdout] | [INFO] [stdout] 1541 | let asp1_32: AsPath> = hp.to_as_path().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1555:40 [INFO] [stdout] | [INFO] [stdout] 1555 | let asp1_32: AsPath> = hp.to_as_path().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1571:40 [INFO] [stdout] | [INFO] [stdout] 1571 | let asp1_32: AsPath> = hp.to_as_path().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1591:36 [INFO] [stdout] | [INFO] [stdout] 1591 | let asp: AsPath> = hp.to_as_path().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1598:37 [INFO] [stdout] | [INFO] [stdout] 1598 | let asp2: AsPath> = hp2.to_as_path().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1611:42 [INFO] [stdout] | [INFO] [stdout] 1611 | let asp32: AsPath> = hp.to_as_path().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1617:44 [INFO] [stdout] | [INFO] [stdout] 1617 | let asp32_2: AsPath> = hp2.to_as_path().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1653:17 [INFO] [stdout] | [INFO] [stdout] 1653 | assert!(hp.to_as_path::>().is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1661:36 [INFO] [stdout] | [INFO] [stdout] 1661 | let asp: AsPath> = hp.to_as_path().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/aspath.rs:1667:36 [INFO] [stdout] | [INFO] [stdout] 1667 | let asp: AsPath> = hp.to_as_path().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/path_attributes.rs:1085:9 [INFO] [stdout] | [INFO] [stdout] 1085 | self.to_as_path::>().unwrap().into_inner().len() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/path_attributes.rs:1092:12 [INFO] [stdout] | [INFO] [stdout] 1092 | self.to_as_path::>().unwrap().into_inner().as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/path_attributes.rs:1843:9 [INFO] [stdout] | [INFO] [stdout] 1843 | self.0.to_as_path::>().unwrap().into_inner().len() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/path_attributes.rs:1850:13 [INFO] [stdout] | [INFO] [stdout] 1850 | self.0.to_as_path::>().unwrap().into_inner().as_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bgp/message/update.rs:1570:34 [INFO] [stdout] | [INFO] [stdout] 1570 | let asp: AsPath = pb.to_as_path().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> src/bgp/message/update_builder.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | aspath.to_as_path::>() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bgp/message/update_builder.rs:1405:19 [INFO] [stdout] | [INFO] [stdout] 1405 | let msg = builder.finish(&SessionConfig::modern()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bgp/message/update_builder.rs:1430:19 [INFO] [stdout] | [INFO] [stdout] 1430 | let msg = builder.finish(&SessionConfig::modern()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bgp/message/update_builder.rs:1447:20 [INFO] [stdout] | [INFO] [stdout] 1447 | let msg2 = builder2.finish(&SessionConfig::modern()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bgp/message/update_builder.rs:1693:19 [INFO] [stdout] | [INFO] [stdout] 1693 | let msg = builder.finish(&SessionConfig::modern()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bgp/message/update_builder.rs:1712:19 [INFO] [stdout] | [INFO] [stdout] 1712 | let msg = builder.finish(&SessionConfig::modern()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bgp/message/update_builder.rs:1736:19 [INFO] [stdout] | [INFO] [stdout] 1736 | let raw = builder.finish(&SessionConfig::modern()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bgp/message/update_builder.rs:1859:19 [INFO] [stdout] | [INFO] [stdout] 1859 | let raw = builder.finish(&SessionConfig::modern()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bgp/message/update_builder.rs:1886:19 [INFO] [stdout] | [INFO] [stdout] 1886 | let raw = builder.finish(&SessionConfig::modern()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `routecore` (lib test) due to 32 previous errors [INFO] running `Command { std: "docker" "inspect" "11a2a255766407c214f50242d21f598a6e4bd91cbe52ae8100cf2541f212afba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11a2a255766407c214f50242d21f598a6e4bd91cbe52ae8100cf2541f212afba", kill_on_drop: false }` [INFO] [stdout] 11a2a255766407c214f50242d21f598a6e4bd91cbe52ae8100cf2541f212afba