[INFO] fetching crate lp-modeler 0.5.0...
[INFO] checking lp-modeler-0.5.0 against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4
[INFO] extracting crate lp-modeler 0.5.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate lp-modeler 0.5.0 on toolchain 52995a223f2919dd3e2e427231db90a257350ded
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "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" "+52995a223f2919dd3e2e427231db90a257350ded" "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]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6d80945d8c7cd6cf5211fd097ed2c5d41a29db28afb709f484781372f7d54476
[INFO] running `Command { std: "docker" "start" "6d80945d8c7cd6cf5211fd097ed2c5d41a29db28afb709f484781372f7d54476", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d80945d8c7cd6cf5211fd097ed2c5d41a29db28afb709f484781372f7d54476", 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" "6d80945d8c7cd6cf5211fd097ed2c5d41a29db28afb709f484781372f7d54476" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d80945d8c7cd6cf5211fd097ed2c5d41a29db28afb709f484781372f7d54476", 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" "6d80945d8c7cd6cf5211fd097ed2c5d41a29db28afb709f484781372f7d54476" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "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 autocfg v0.1.7
[INFO] [stderr]     Checking rand_core v0.4.2
[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 rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking quote v1.0.9
[INFO] [stderr]     Checking rand_os v0.1.3
[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] error: useless conversion to the same type: `&T`
[INFO] [stdout]     --> src/dsl/variables.rs:1369:42
[INFO] [stdout]      |
[INFO] [stdout] 1369 |     return lp_sum(&expr.iter().map(|t| f(t.into())).collect());
[INFO] [stdout]      |                                          ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]      = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]      |
[INFO] [stdout] 1369 -     return lp_sum(&expr.iter().map(|t| f(t.into())).collect());
[INFO] [stdout] 1369 +     return lp_sum(&expr.iter().map(|t| f(t)).collect());
[INFO] [stdout]      |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]      |
[INFO] [stdout] 1369 -     return lp_sum(&expr.iter().map(|t| f(t.into())).collect());
[INFO] [stdout] 1369 +     return lp_sum(&expr.iter().map(|t| f(<&T as Into<_>>::into(t))).collect());
[INFO] [stdout]      |
[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<String, f32>, 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<String, f32>, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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: 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] error: useless conversion to the same type: `&T`
[INFO] [stdout]     --> src/dsl/variables.rs:1369:42
[INFO] [stdout]      |
[INFO] [stdout] 1369 |     return lp_sum(&expr.iter().map(|t| f(t.into())).collect());
[INFO] [stdout]      |                                          ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]      = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]      |
[INFO] [stdout] 1369 -     return lp_sum(&expr.iter().map(|t| f(t.into())).collect());
[INFO] [stdout] 1369 +     return lp_sum(&expr.iter().map(|t| f(t)).collect());
[INFO] [stdout]      |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]      |
[INFO] [stdout] 1369 -     return lp_sum(&expr.iter().map(|t| f(t.into())).collect());
[INFO] [stdout] 1369 +     return lp_sum(&expr.iter().map(|t| f(<&T as Into<_>>::into(t))).collect());
[INFO] [stdout]      |
[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<String, f32>, 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<String, f32>, 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 <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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] error: could not compile `lp-modeler` (lib test) due to 1 previous error; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `lp-modeler` (lib) due to 1 previous error; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "6d80945d8c7cd6cf5211fd097ed2c5d41a29db28afb709f484781372f7d54476", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d80945d8c7cd6cf5211fd097ed2c5d41a29db28afb709f484781372f7d54476", kill_on_drop: false }`
[INFO] [stdout] 6d80945d8c7cd6cf5211fd097ed2c5d41a29db28afb709f484781372f7d54476
