[INFO] fetching crate lp-modeler 0.5.0... [INFO] checking lp-modeler-0.5.0 against master#c0bb140a37c81cf59a0b40c21c9413059644e294 for pr-129249-1 [INFO] extracting crate lp-modeler 0.5.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate lp-modeler 0.5.0 [INFO] finished tweaking crates.io crate lp-modeler 0.5.0 [INFO] tweaked toml for crates.io crate lp-modeler 0.5.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lp-modeler 0.5.0 on toolchain c0bb140a37c81cf59a0b40c21c9413059644e294 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lp-modeler 0.5.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" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `lp-modeler` (manifest) generated 1 warning [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded coin_cbc_sys v0.1.0 [INFO] [stderr] Downloaded coin_cbc v0.1.3 [INFO] [stderr] Downloaded ndarray v0.13.1 [INFO] [stderr] Downloaded minilp v0.2.2 [INFO] [stderr] Downloaded sprs v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 5f1f8a4412dcfc507a7361ff23540d2130994a579924ded8b304d9e5a84cecc2 [INFO] running `Command { std: "docker" "start" "5f1f8a4412dcfc507a7361ff23540d2130994a579924ded8b304d9e5a84cecc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5f1f8a4412dcfc507a7361ff23540d2130994a579924ded8b304d9e5a84cecc2" "/opt/rustwide/cargo-home/bin/cargo" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f1f8a4412dcfc507a7361ff23540d2130994a579924ded8b304d9e5a84cecc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5f1f8a4412dcfc507a7361ff23540d2130994a579924ded8b304d9e5a84cecc2" "/opt/rustwide/cargo-home/bin/cargo" "+c0bb140a37c81cf59a0b40c21c9413059644e294" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `lp-modeler` (manifest) generated 1 warning [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking lp-modeler v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `LpCompExpr` is never constructed [INFO] [stdout] --> src/dsl/variables.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | pub(crate) struct LpCompExpr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EmptyExpr` is never constructed [INFO] [stdout] --> src/dsl/variables.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 169 | pub(crate) enum LpExprNode { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 174 | EmptyExpr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LpExprNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/solvers/mod.rs:76:81 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn with_problem(status: Status, results: HashMap, problem: &LpProblem) -> Solution { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn with_problem(status: Status, results: HashMap, problem: &LpProblem) -> Solution<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solvers/mod.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | assert!( is_zero( f-(i as f32)), format!("Value {} cannot be interpreted as integer.", f) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 105 - assert!( is_zero( f-(i as f32)), format!("Value {} cannot be interpreted as integer.", f) ); [INFO] [stdout] 105 + assert!( is_zero( f-(i as f32)), "Value {} cannot be interpreted as integer.", f ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/assignment.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(result.is_ok(), result.unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 64 | assert!(result.is_ok(), "{}", result.unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/problems.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | assert!(output1.contains(expr), format!("{} is not present",expr)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 79 - assert!(output1.contains(expr), format!("{} is not present",expr)); [INFO] [stdout] 79 + assert!(output1.contains(expr), "{} is not present",expr); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/problems.rs:154:29 [INFO] [stdout] | [INFO] [stdout] 154 | assert!(result.is_ok(), result.unwrap_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 154 | assert!(result.is_ok(), "{}", result.unwrap_err()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LpCompExpr` is never constructed [INFO] [stdout] --> src/dsl/variables.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | pub(crate) struct LpCompExpr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/solvers/mod.rs:76:81 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn with_problem(status: Status, results: HashMap, problem: &LpProblem) -> Solution { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn with_problem(status: Status, results: HashMap, problem: &LpProblem) -> Solution<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/solvers/mod.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | assert!( is_zero( f-(i as f32)), format!("Value {} cannot be interpreted as integer.", f) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 105 - assert!( is_zero( f-(i as f32)), format!("Value {} cannot be interpreted as integer.", f) ); [INFO] [stdout] 105 + assert!( is_zero( f-(i as f32)), "Value {} cannot be interpreted as integer.", f ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.73s [INFO] running `Command { std: "docker" "inspect" "5f1f8a4412dcfc507a7361ff23540d2130994a579924ded8b304d9e5a84cecc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f1f8a4412dcfc507a7361ff23540d2130994a579924ded8b304d9e5a84cecc2", kill_on_drop: false }` [INFO] [stdout] 5f1f8a4412dcfc507a7361ff23540d2130994a579924ded8b304d9e5a84cecc2