[INFO] cloning repository https://github.com/lukasgeis/negative_edge_weights [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukasgeis/negative_edge_weights" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukasgeis%2Fnegative_edge_weights", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukasgeis%2Fnegative_edge_weights'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef1ea374ff3fec578680dea22ae77c7805554942 [INFO] checking lukasgeis/negative_edge_weights against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukasgeis%2Fnegative_edge_weights" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lukasgeis/negative_edge_weights [INFO] finished tweaking git repo https://github.com/lukasgeis/negative_edge_weights [INFO] tweaked toml for git repo https://github.com/lukasgeis/negative_edge_weights written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lukasgeis/negative_edge_weights 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 73 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding ordered-float v4.6.0 (available: v5.1.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_distr v0.4.3 (available: v0.5.1) [INFO] [stderr] Adding rand_pcg v0.3.1 (available: v0.9.0) [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3cfa613b2d583b3089e07a8431ba604adee7a5600c8bc6a1b661d9017df98fd5 [INFO] running `Command { std: "docker" "start" "-a" "3cfa613b2d583b3089e07a8431ba604adee7a5600c8bc6a1b661d9017df98fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cfa613b2d583b3089e07a8431ba604adee7a5600c8bc6a1b661d9017df98fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cfa613b2d583b3089e07a8431ba604adee7a5600c8bc6a1b661d9017df98fd5", kill_on_drop: false }` [INFO] [stdout] 3cfa613b2d583b3089e07a8431ba604adee7a5600c8bc6a1b661d9017df98fd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7cc2fcf68fbc7532754200ef37350f2ddfaf1075c4a00e800bc307d2fe953924 [INFO] running `Command { std: "docker" "start" "-a" "7cc2fcf68fbc7532754200ef37350f2ddfaf1075c4a00e800bc307d2fe953924", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking ez-bitset v0.1.0 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking negative_edge_weights v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/graph/generators/mod.rs:397:53 [INFO] [stdout] | [INFO] [stdout] 397 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 398 | | Ok(if s.starts_with('g') { [INFO] [stdout] 399 | | Self::Gnp [INFO] [stdout] 400 | | } else if s.starts_with('r') { [INFO] [stdout] ... | [INFO] [stdout] 410 | | }) [INFO] [stdout] 411 | | } [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 [INFO] [stdout] --> src/graph/generators/mod.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | / Ok(if s.starts_with('g') { [INFO] [stdout] 399 | | Self::Gnp [INFO] [stdout] 400 | | } else if s.starts_with('r') { [INFO] [stdout] 401 | | Self::Rhg [INFO] [stdout] ... | [INFO] [stdout] 409 | | Self::Complete [INFO] [stdout] 410 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:176:53 [INFO] [stdout] | [INFO] [stdout] 176 | fn from_str(t: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 177 | | if t.starts_with('i') { [INFO] [stdout] 178 | | if t.contains('8') { [INFO] [stdout] 179 | | Ok(WeightType::I8) [INFO] [stdout] ... | [INFO] [stdout] 192 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | / if t.starts_with('i') { [INFO] [stdout] 178 | | if t.contains('8') { [INFO] [stdout] 179 | | Ok(WeightType::I8) [INFO] [stdout] 180 | | } else if t.contains('1') { [INFO] [stdout] ... | [INFO] [stdout] 190 | | Ok(WeightType::F64) [INFO] [stdout] 191 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 177 | if t.starts_with('i') { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 178 | | if t.contains('8') { [INFO] [stdout] 179 | | Ok(WeightType::I8) [INFO] [stdout] 180 | | } else if t.contains('1') { [INFO] [stdout] ... | [INFO] [stdout] 187 | | } else if t.contains('3') || t.contains('2') { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | / if t.contains('8') { [INFO] [stdout] 179 | | Ok(WeightType::I8) [INFO] [stdout] 180 | | } else if t.contains('1') { [INFO] [stdout] 181 | | Ok(WeightType::I16) [INFO] [stdout] ... | [INFO] [stdout] 185 | | Ok(WeightType::I64) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 178 | if t.contains('8') { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 179 | | Ok(WeightType::I8) [INFO] [stdout] 180 | | } else if t.contains('1') { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | Ok(WeightType::I8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | } else if t.contains('1') { [INFO] [stdout] | ____________________^ [INFO] [stdout] 181 | | Ok(WeightType::I16) [INFO] [stdout] 182 | | } else if t.contains('3') || t.contains('2') { [INFO] [stdout] 183 | | Ok(WeightType::I32) [INFO] [stdout] 184 | | } else { [INFO] [stdout] 185 | | Ok(WeightType::I64) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:180:39 [INFO] [stdout] | [INFO] [stdout] 180 | } else if t.contains('1') { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 181 | | Ok(WeightType::I16) [INFO] [stdout] 182 | | } else if t.contains('3') || t.contains('2') { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | Ok(WeightType::I16) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | } else if t.contains('3') || t.contains('2') { [INFO] [stdout] | ____________________^ [INFO] [stdout] 183 | | Ok(WeightType::I32) [INFO] [stdout] 184 | | } else { [INFO] [stdout] 185 | | Ok(WeightType::I64) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:182:58 [INFO] [stdout] | [INFO] [stdout] 182 | } else if t.contains('3') || t.contains('2') { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 183 | | Ok(WeightType::I32) [INFO] [stdout] 184 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | Ok(WeightType::I32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 185 | | Ok(WeightType::I64) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | Ok(WeightType::I64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | } else if t.contains('3') || t.contains('2') { [INFO] [stdout] | ________________^ [INFO] [stdout] 188 | | Ok(WeightType::F32) [INFO] [stdout] 189 | | } else { [INFO] [stdout] 190 | | Ok(WeightType::F64) [INFO] [stdout] 191 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:187:54 [INFO] [stdout] | [INFO] [stdout] 187 | } else if t.contains('3') || t.contains('2') { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 188 | | Ok(WeightType::F32) [INFO] [stdout] 189 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | Ok(WeightType::F32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 190 | | Ok(WeightType::F64) [INFO] [stdout] 191 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | Ok(WeightType::F64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:240:53 [INFO] [stdout] | [INFO] [stdout] 240 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 241 | | if s.starts_with('m') { [INFO] [stdout] 242 | | Ok(Self::Maximum) [INFO] [stdout] 243 | | } else if s.starts_with('z') { [INFO] [stdout] ... | [INFO] [stdout] 248 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | / if s.starts_with('m') { [INFO] [stdout] 242 | | Ok(Self::Maximum) [INFO] [stdout] 243 | | } else if s.starts_with('z') { [INFO] [stdout] 244 | | Ok(Self::Zero) [INFO] [stdout] 245 | | } else { [INFO] [stdout] 246 | | Ok(Self::Uniform) [INFO] [stdout] 247 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:241:31 [INFO] [stdout] | [INFO] [stdout] 241 | if s.starts_with('m') { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 242 | | Ok(Self::Maximum) [INFO] [stdout] 243 | | } else if s.starts_with('z') { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | Ok(Self::Maximum) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | } else if s.starts_with('z') { [INFO] [stdout] | ________________^ [INFO] [stdout] 244 | | Ok(Self::Zero) [INFO] [stdout] 245 | | } else { [INFO] [stdout] 246 | | Ok(Self::Uniform) [INFO] [stdout] 247 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:243:38 [INFO] [stdout] | [INFO] [stdout] 243 | } else if s.starts_with('z') { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 244 | | Ok(Self::Zero) [INFO] [stdout] 245 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | Ok(Self::Zero) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:245:16 [INFO] [stdout] | [INFO] [stdout] 245 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 246 | | Ok(Self::Uniform) [INFO] [stdout] 247 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | Ok(Self::Uniform) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `negative_edge_weights` (lib test) due to 30 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 [INFO] [stdout] --> src/graph/generators/mod.rs:397:53 [INFO] [stdout] | [INFO] [stdout] 397 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 398 | | Ok(if s.starts_with('g') { [INFO] [stdout] 399 | | Self::Gnp [INFO] [stdout] 400 | | } else if s.starts_with('r') { [INFO] [stdout] ... | [INFO] [stdout] 410 | | }) [INFO] [stdout] 411 | | } [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 [INFO] [stdout] --> src/graph/generators/mod.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | / Ok(if s.starts_with('g') { [INFO] [stdout] 399 | | Self::Gnp [INFO] [stdout] 400 | | } else if s.starts_with('r') { [INFO] [stdout] 401 | | Self::Rhg [INFO] [stdout] ... | [INFO] [stdout] 409 | | Self::Complete [INFO] [stdout] 410 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:176:53 [INFO] [stdout] | [INFO] [stdout] 176 | fn from_str(t: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 177 | | if t.starts_with('i') { [INFO] [stdout] 178 | | if t.contains('8') { [INFO] [stdout] 179 | | Ok(WeightType::I8) [INFO] [stdout] ... | [INFO] [stdout] 192 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | / if t.starts_with('i') { [INFO] [stdout] 178 | | if t.contains('8') { [INFO] [stdout] 179 | | Ok(WeightType::I8) [INFO] [stdout] 180 | | } else if t.contains('1') { [INFO] [stdout] ... | [INFO] [stdout] 190 | | Ok(WeightType::F64) [INFO] [stdout] 191 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:177:31 [INFO] [stdout] | [INFO] [stdout] 177 | if t.starts_with('i') { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 178 | | if t.contains('8') { [INFO] [stdout] 179 | | Ok(WeightType::I8) [INFO] [stdout] 180 | | } else if t.contains('1') { [INFO] [stdout] ... | [INFO] [stdout] 187 | | } else if t.contains('3') || t.contains('2') { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | / if t.contains('8') { [INFO] [stdout] 179 | | Ok(WeightType::I8) [INFO] [stdout] 180 | | } else if t.contains('1') { [INFO] [stdout] 181 | | Ok(WeightType::I16) [INFO] [stdout] ... | [INFO] [stdout] 185 | | Ok(WeightType::I64) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 178 | if t.contains('8') { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 179 | | Ok(WeightType::I8) [INFO] [stdout] 180 | | } else if t.contains('1') { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | Ok(WeightType::I8) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | } else if t.contains('1') { [INFO] [stdout] | ____________________^ [INFO] [stdout] 181 | | Ok(WeightType::I16) [INFO] [stdout] 182 | | } else if t.contains('3') || t.contains('2') { [INFO] [stdout] 183 | | Ok(WeightType::I32) [INFO] [stdout] 184 | | } else { [INFO] [stdout] 185 | | Ok(WeightType::I64) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:180:39 [INFO] [stdout] | [INFO] [stdout] 180 | } else if t.contains('1') { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 181 | | Ok(WeightType::I16) [INFO] [stdout] 182 | | } else if t.contains('3') || t.contains('2') { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | Ok(WeightType::I16) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | } else if t.contains('3') || t.contains('2') { [INFO] [stdout] | ____________________^ [INFO] [stdout] 183 | | Ok(WeightType::I32) [INFO] [stdout] 184 | | } else { [INFO] [stdout] 185 | | Ok(WeightType::I64) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:182:58 [INFO] [stdout] | [INFO] [stdout] 182 | } else if t.contains('3') || t.contains('2') { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 183 | | Ok(WeightType::I32) [INFO] [stdout] 184 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | Ok(WeightType::I32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 185 | | Ok(WeightType::I64) [INFO] [stdout] 186 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | Ok(WeightType::I64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | } else if t.contains('3') || t.contains('2') { [INFO] [stdout] | ________________^ [INFO] [stdout] 188 | | Ok(WeightType::F32) [INFO] [stdout] 189 | | } else { [INFO] [stdout] 190 | | Ok(WeightType::F64) [INFO] [stdout] 191 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:187:54 [INFO] [stdout] | [INFO] [stdout] 187 | } else if t.contains('3') || t.contains('2') { [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 188 | | Ok(WeightType::F32) [INFO] [stdout] 189 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | Ok(WeightType::F32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:189:16 [INFO] [stdout] | [INFO] [stdout] 189 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 190 | | Ok(WeightType::F64) [INFO] [stdout] 191 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 190 | Ok(WeightType::F64) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:240:53 [INFO] [stdout] | [INFO] [stdout] 240 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 241 | | if s.starts_with('m') { [INFO] [stdout] 242 | | Ok(Self::Maximum) [INFO] [stdout] 243 | | } else if s.starts_with('z') { [INFO] [stdout] ... | [INFO] [stdout] 248 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | / if s.starts_with('m') { [INFO] [stdout] 242 | | Ok(Self::Maximum) [INFO] [stdout] 243 | | } else if s.starts_with('z') { [INFO] [stdout] 244 | | Ok(Self::Zero) [INFO] [stdout] 245 | | } else { [INFO] [stdout] 246 | | Ok(Self::Uniform) [INFO] [stdout] 247 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:241:31 [INFO] [stdout] | [INFO] [stdout] 241 | if s.starts_with('m') { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 242 | | Ok(Self::Maximum) [INFO] [stdout] 243 | | } else if s.starts_with('z') { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | Ok(Self::Maximum) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | } else if s.starts_with('z') { [INFO] [stdout] | ________________^ [INFO] [stdout] 244 | | Ok(Self::Zero) [INFO] [stdout] 245 | | } else { [INFO] [stdout] 246 | | Ok(Self::Uniform) [INFO] [stdout] 247 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:243:38 [INFO] [stdout] | [INFO] [stdout] 243 | } else if s.starts_with('z') { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 244 | | Ok(Self::Zero) [INFO] [stdout] 245 | | } else { [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | Ok(Self::Zero) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:245:16 [INFO] [stdout] | [INFO] [stdout] 245 | } else { [INFO] [stdout] | ________________^ [INFO] [stdout] 246 | | Ok(Self::Uniform) [INFO] [stdout] 247 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/weight.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | Ok(Self::Uniform) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `negative_edge_weights` (lib) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "7cc2fcf68fbc7532754200ef37350f2ddfaf1075c4a00e800bc307d2fe953924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cc2fcf68fbc7532754200ef37350f2ddfaf1075c4a00e800bc307d2fe953924", kill_on_drop: false }` [INFO] [stdout] 7cc2fcf68fbc7532754200ef37350f2ddfaf1075c4a00e800bc307d2fe953924