[INFO] fetching crate mosekcomodel 0.4.3... [INFO] checking mosekcomodel-0.4.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate mosekcomodel 0.4.3 into /workspace/builds/worker-5-tc2/source [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate mosekcomodel 0.4.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mosekcomodel 0.4.3 [INFO] tweaked toml for crates.io crate mosekcomodel 0.4.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mosekcomodel 0.4.3 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] crate crates.io crate mosekcomodel 0.4.3 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d93d904465d7eea190b38c963e338001046b6e0c2a75ec956a52afc5f6e4759d [INFO] running `Command { std: "docker" "start" "-a" "d93d904465d7eea190b38c963e338001046b6e0c2a75ec956a52afc5f6e4759d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d93d904465d7eea190b38c963e338001046b6e0c2a75ec956a52afc5f6e4759d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d93d904465d7eea190b38c963e338001046b6e0c2a75ec956a52afc5f6e4759d", kill_on_drop: false }` [INFO] [stdout] d93d904465d7eea190b38c963e338001046b6e0c2a75ec956a52afc5f6e4759d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8d97015e7f3a2d03381f5d46e06724bb6a741be6d82721a13c31fa5f45aa14ef [INFO] running `Command { std: "docker" "start" "-a" "8d97015e7f3a2d03381f5d46e06724bb6a741be6d82721a13c31fa5f45aa14ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling mosek v11.0.16 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking mosekcomodel v0.4.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.8.5 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/domain/mod.rs:267:45 [INFO] [stdout] | [INFO] [stdout] 267 | *shape.get(d).ok_or_else(|| ("Invalid cone dimension index for this shape".to_string()))? [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 267 - *shape.get(d).ok_or_else(|| ("Invalid cone dimension index for this shape".to_string()))? [INFO] [stdout] 267 + *shape.get(d).ok_or_else(|| "Invalid cone dimension index for this shape".to_string())? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/expr/eval.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | .filter(|(&i,_,_)| (i < last && [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 49 | ( anti && index < 0 && d-i%d + absidx == i/d)))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 ~ .filter(|(&i,_,_)| i < last && [INFO] [stdout] 46 | (((!anti) && index >= 0 && i%d == i/d + absidx) || [INFO] [stdout] 47 | ((!anti) && index < 0 && i%d - absidx == i/d) || [INFO] [stdout] 48 | ( anti && index >= 0 && d-i%d - absidx == i/d) || [INFO] [stdout] 49 ~ ( anti && index < 0 && d-i%d + absidx == i/d))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/expr/eval.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | .filter(|(&i,_,_)| (i < last && [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 62 | ( anti && index < 0 && d-i%d + absidx == i/d)))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 ~ .filter(|(&i,_,_)| i < last && [INFO] [stdout] 59 | ((!anti && index >= 0 && i%d == i/d + absidx) || [INFO] [stdout] 60 | (!anti && index < 0 && i%d - absidx == i/d) || [INFO] [stdout] 61 | ( anti && index >= 0 && d-i%d - absidx == i/d) || [INFO] [stdout] 62 ~ ( anti && index < 0 && d-i%d + absidx == i/d))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/expr/eval.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | .filter(|(&i,_,_)| (i < last && [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 78 | ( anti && index < 0 && d-i%d + absidx == i/d)))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 ~ .filter(|(&i,_,_)| i < last && [INFO] [stdout] 75 | ((!anti && index >= 0 && i%d == i/d + absidx) || [INFO] [stdout] 76 | (!anti && index < 0 && i%d - absidx == i/d) || [INFO] [stdout] 77 | ( anti && index >= 0 && d-i%d - absidx == i/d) || [INFO] [stdout] 78 ~ ( anti && index < 0 && d-i%d + absidx == i/d))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Chunk` [INFO] [stdout] --> src/utils/iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Chunk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DJCDomainTrait`, `DJCModelTrait`, `ModelWithIntSolutionCallback`, `ModelWithLogCallback`, `PSDModelTrait`, and `VectorConeModelTrait` [INFO] [stdout] --> src/optserver/mod.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::model::{DJCDomainTrait, DJCModelTrait, ModelWithIntSolutionCallback, ModelWithLogCallback, PSDModelTrait, VectorConeModelTrait}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PermuteByMutEx` [INFO] [stdout] --> src/optserver/mod.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::iter::{ChunksByIterExt, PermuteByEx, PermuteByMutEx}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iproduct` [INFO] [stdout] --> src/optserver/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use itertools::{iproduct, izip}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/optserver/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::{write, File}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/domain/mod.rs:267:45 [INFO] [stdout] | [INFO] [stdout] 267 | *shape.get(d).ok_or_else(|| ("Invalid cone dimension index for this shape".to_string()))? [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 267 - *shape.get(d).ok_or_else(|| ("Invalid cone dimension index for this shape".to_string()))? [INFO] [stdout] 267 + *shape.get(d).ok_or_else(|| "Invalid cone dimension index for this shape".to_string())? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/expr/eval.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | .filter(|(&i,_,_)| (i < last && [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 49 | ( anti && index < 0 && d-i%d + absidx == i/d)))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 45 ~ .filter(|(&i,_,_)| i < last && [INFO] [stdout] 46 | (((!anti) && index >= 0 && i%d == i/d + absidx) || [INFO] [stdout] 47 | ((!anti) && index < 0 && i%d - absidx == i/d) || [INFO] [stdout] 48 | ( anti && index >= 0 && d-i%d - absidx == i/d) || [INFO] [stdout] 49 ~ ( anti && index < 0 && d-i%d + absidx == i/d))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/expr/eval.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | .filter(|(&i,_,_)| (i < last && [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 62 | ( anti && index < 0 && d-i%d + absidx == i/d)))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 ~ .filter(|(&i,_,_)| i < last && [INFO] [stdout] 59 | ((!anti && index >= 0 && i%d == i/d + absidx) || [INFO] [stdout] 60 | (!anti && index < 0 && i%d - absidx == i/d) || [INFO] [stdout] 61 | ( anti && index >= 0 && d-i%d - absidx == i/d) || [INFO] [stdout] 62 ~ ( anti && index < 0 && d-i%d + absidx == i/d))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/expr/eval.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | .filter(|(&i,_,_)| (i < last && [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 78 | ( anti && index < 0 && d-i%d + absidx == i/d)))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 74 ~ .filter(|(&i,_,_)| i < last && [INFO] [stdout] 75 | ((!anti && index >= 0 && i%d == i/d + absidx) || [INFO] [stdout] 76 | (!anti && index < 0 && i%d - absidx == i/d) || [INFO] [stdout] 77 | ( anti && index >= 0 && d-i%d - absidx == i/d) || [INFO] [stdout] 78 ~ ( anti && index < 0 && d-i%d + absidx == i/d))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Chunk` [INFO] [stdout] --> src/utils/iter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Chunk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DJCDomainTrait`, `DJCModelTrait`, `ModelWithIntSolutionCallback`, `ModelWithLogCallback`, `PSDModelTrait`, and `VectorConeModelTrait` [INFO] [stdout] --> src/optserver/mod.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::model::{DJCDomainTrait, DJCModelTrait, ModelWithIntSolutionCallback, ModelWithLogCallback, PSDModelTrait, VectorConeModelTrait}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PermuteByMutEx` [INFO] [stdout] --> src/optserver/mod.rs:7:56 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::iter::{ChunksByIterExt, PermuteByEx, PermuteByMutEx}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iproduct` [INFO] [stdout] --> src/optserver/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use itertools::{iproduct, izip}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/optserver/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::{write, File}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model/mod.rs:390:52 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn set_int_solution_callback(&mut self, mut func : F) where F : 'static+FnMut(&IntSolutionManager), T : 'static+ModelWithIntSo... [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dummy.rs:190:10 [INFO] [stdout] | [INFO] [stdout] 190 | name : Option<&str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dummy.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | name : Option<&str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lastcon` [INFO] [stdout] --> src/dummy.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | let lastcon = firstcon+n; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lastcon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `con0` [INFO] [stdout] --> src/dummy.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | let con0 = self.cons.len(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_con0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dummy.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | name : Option<&str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dummy.rs:439:51 [INFO] [stdout] | [INFO] [stdout] 439 | fn conic_variable(&mut self, name : Option<&str>,dom : VectorDomain) -> Result,String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/dummy.rs:499:13 [INFO] [stdout] | [INFO] [stdout] 499 | for i in 0..ncones { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dummy.rs:477:49 [INFO] [stdout] | [INFO] [stdout] 477 | fn psd_variable(&mut self, name : Option<&str>, dom : PSDDomain) -> Result,String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dummy.rs:536:52 [INFO] [stdout] | [INFO] [stdout] 536 | fn psd_constraint(& mut self, name : Option<&str>, dom : PSDDomain,shape : &[usize], ptr : &[usize], subj : &[usi... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dom` [INFO] [stdout] --> src/dummy.rs:536:73 [INFO] [stdout] | [INFO] [stdout] 536 | ... mut self, name : Option<&str>, dom : PSDDomain,shape : &[usize], ptr : &[usize], subj : &[usize], cof : &[f64]) -> Result src/dummy.rs:536:92 [INFO] [stdout] | [INFO] [stdout] 536 | ...ion<&str>, dom : PSDDomain,shape : &[usize], ptr : &[usize], subj : &[usize], cof : &[f64]) -> Result,String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/dummy.rs:536:110 [INFO] [stdout] | [INFO] [stdout] 536 | ... PSDDomain,shape : &[usize], ptr : &[usize], subj : &[usize], cof : &[f64]) -> Result,String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subj` [INFO] [stdout] --> src/dummy.rs:536:126 [INFO] [stdout] | [INFO] [stdout] 536 | ...pe : &[usize], ptr : &[usize], subj : &[usize], cof : &[f64]) -> Result,String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_subj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cof` [INFO] [stdout] --> src/dummy.rs:536:143 [INFO] [stdout] | [INFO] [stdout] 536 | ...tr : &[usize], subj : &[usize], cof : &[f64]) -> Result,String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_a_row` [INFO] [stdout] --> src/dummy.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | let first_a_row = self.a_ptr.len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_a_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/dummy.rs:586:28 [INFO] [stdout] | [INFO] [stdout] 586 | let (ct,offset,shape,conedim) = dom.extract(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conedim` [INFO] [stdout] --> src/dummy.rs:586:34 [INFO] [stdout] | [INFO] [stdout] 586 | let (ct,offset,shape,conedim) = dom.extract(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conedim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dummy.rs:568:20 [INFO] [stdout] | [INFO] [stdout] 568 | name : Option<&str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers_begin` [INFO] [stdout] --> src/optserver/http.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | let headers_begin = buf.iter().enumerate().find(|c| *c.1 == b'\n').unwrap().1+1; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers_begin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/optserver/http.rs:246:82 [INFO] [stdout] | [INFO] [stdout] 246 | while let Some(p) = buf[lastcrlfpos..].iter().enumerate().find(|(i,&b)| b == b'\n').map(|(i,_)| i) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_length` [INFO] [stdout] --> src/optserver/http.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | if let Some(content_length) = content_length { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/optserver/mod.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | name : Option<&str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/optserver/mod.rs:261:10 [INFO] [stdout] | [INFO] [stdout] 261 | name : Option<&str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rescode` is assigned to, but never used [INFO] [stdout] --> src/optserver/mod.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | let mut rescode = None; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_rescode` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rescode` is never read [INFO] [stdout] --> src/optserver/mod.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 383 | rescode = Some(r.to_string()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/optserver/mod.rs:391:26 [INFO] [stdout] | [INFO] [stdout] 391 | if let Some((k,JSON::Dict(d))) = d.0.iter().find(|kv| kv.0.as_str() == "Task/solutions") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/model/mod.rs:363:8 [INFO] [stdout] | [INFO] [stdout] 349 | impl ModelAPI where T : BaseModelTrait { [INFO] [stdout] | -------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 363 | fn from(inner : T) -> ModelAPI { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lb` and `ub` are never read [INFO] [stdout] --> src/dummy.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | Linear{lb:f64,ub:f64}, [INFO] [stdout] | ------ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Element` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `coneidx`, `offset`, and `b` are never read [INFO] [stdout] --> src/dummy.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | Conic{coneidx:usize,offset:usize,b:f64}, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^^ ^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Element` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `djc_clause_ptr` are never read [INFO] [stdout] --> src/dummy.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Backend { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 61 | name : Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | djc_clause_ptr : Vec, // index into djc_dom, djc_a_row [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `con_names` is never read [INFO] [stdout] --> src/optserver/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Backend { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | con_names : Vec>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `proto_ver` is never read [INFO] [stdout] --> src/optserver/http.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Response<'a,T> where T : Read { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 17 | proto_ver :(u8,u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get`, `put`, `head`, `content_length`, `submit_empty`, and `submit_data` are never used [INFO] [stdout] --> src/optserver/http.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl Request { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get(path : &str) -> Request { Request::new("GET",path) } [INFO] [stdout] | ^^^ [INFO] [stdout] 144 | pub fn put(path : &str) -> Request { Request::new("PUT",path) } [INFO] [stdout] | ^^^ [INFO] [stdout] 145 | pub fn post(path : &str) -> Request { Request::new("POST", path) } [INFO] [stdout] 146 | pub fn head(path : &str) -> Request { Request::new("PUT", path) } [INFO] [stdout] | ^^^^ [INFO] [stdout] 147 | [INFO] [stdout] 148 | pub fn content_length(mut self, size : usize) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn submit_empty<'a,T>(mut self, s : &'a mut T) -> Result,String> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn submit_data<'a,T>(mut self, s : &'a mut T, data : &[u8]) -> Result,String> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/mod.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iter(&self) -> std::slice::Iter { self.strides.iter() } [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] 40 | pub fn iter(&self) -> std::slice::Iter<'_, usize> { self.strides.iter() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `criterion` [INFO] [stdout] --> benches/exprs.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate criterion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `criterion` [INFO] [stdout] --> benches/performance.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate criterion; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> benches/performance.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut M = Model::new(None); [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 3 + use crate::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use crate::optserver::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::optserver::Model; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> benches/performance.rs:249:29 [INFO] [stdout] | [INFO] [stdout] 249 | let mut model = Model::new(None); [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 3 + use crate::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use crate::optserver::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::optserver::Model; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> benches/performance.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | let mut model = Model::new(None); [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 3 + use crate::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use crate::optserver::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::optserver::Model; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mosekcomodel` (bench "performance") due to 4 previous errors [INFO] [stdout] error[E0412]: cannot find type `Model` in this scope [INFO] [stdout] --> benches/exprs.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | fn make_6d_variable(m : & mut Model, sp : bool, n : usize) -> Variable<6> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 3 + use crate::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use crate::optserver::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::optserver::Model; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> benches/exprs.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut m = Model::new(None); [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 3 + use crate::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use crate::optserver::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::optserver::Model; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> benches/exprs.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let mut m = Model::new(None); [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 3 + use crate::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use crate::optserver::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::optserver::Model; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> benches/exprs.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let mut m = Model::new(None); [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 3 + use crate::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use crate::optserver::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::optserver::Model; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> benches/exprs.rs:101:25 [INFO] [stdout] | [INFO] [stdout] 101 | let mut m = Model::new(None); [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 3 + use crate::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use crate::optserver::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::optserver::Model; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> benches/exprs.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | let mut m = Model::new(None); [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 3 + use crate::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use crate::optserver::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::optserver::Model; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Model` [INFO] [stdout] --> benches/exprs.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | let mut m = Model::new(None); [INFO] [stdout] | ^^^^^ use of undeclared type `Model` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these type aliases [INFO] [stdout] | [INFO] [stdout] 3 + use crate::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use crate::optserver::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::dummy::Model; [INFO] [stdout] | [INFO] [stdout] 3 + use mosekcomodel::optserver::Model; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `exprs` [INFO] [stdout] --> benches/exprs.rs:321:26 [INFO] [stdout] | [INFO] [stdout] 321 | criterion_main!(benches); [INFO] [stdout] | ^ consider adding a `main` function to `benches/exprs.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eval_finalize` found for struct `mosekcomodel::Variable` in the current scope [INFO] [stdout] --> benches/exprs.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 40 | v.axispermute(&[3,2,1,0,4,5]).axispermute(&[2,0,1,4,3,5]).axispermute(&[5,4,3,2,1,0]) [INFO] [stdout] | - --------------------------- --------------------------- method `eval_finalize` is available on `&mosekcomodel::Variable<6>` [INFO] [stdout] | | | [INFO] [stdout] | | method `eval_finalize` is available on `&mosekcomodel::Variable<6>` [INFO] [stdout] | _____________method `eval_finalize` is available on `&mosekcomodel::Variable<6>` [INFO] [stdout] | | [INFO] [stdout] 41 | | .eval_finalize(&mut rs,&mut ws,&mut xs).unwrap() [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `mosekcomodel::Variable<6>` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463, E0599, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mosekcomodel` (bench "exprs") due to 10 previous errors [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model/mod.rs:390:52 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn set_int_solution_callback(&mut self, mut func : F) where F : 'static+FnMut(&IntSolutionManager), T : 'static+ModelWithIntSo... [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/utils/iter.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | let ptr : &[usize] = &[0,3,5,7,9,10]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dummy.rs:190:10 [INFO] [stdout] | [INFO] [stdout] 190 | name : Option<&str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dummy.rs:253:10 [INFO] [stdout] | [INFO] [stdout] 253 | name : Option<&str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lastcon` [INFO] [stdout] --> src/dummy.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | let lastcon = firstcon+n; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lastcon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `con0` [INFO] [stdout] --> src/dummy.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | let con0 = self.cons.len(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_con0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dummy.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | name : Option<&str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dummy.rs:439:51 [INFO] [stdout] | [INFO] [stdout] 439 | fn conic_variable(&mut self, name : Option<&str>,dom : VectorDomain) -> Result,String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/dummy.rs:499:13 [INFO] [stdout] | [INFO] [stdout] 499 | for i in 0..ncones { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dummy.rs:477:49 [INFO] [stdout] | [INFO] [stdout] 477 | fn psd_variable(&mut self, name : Option<&str>, dom : PSDDomain) -> Result,String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dummy.rs:536:52 [INFO] [stdout] | [INFO] [stdout] 536 | fn psd_constraint(& mut self, name : Option<&str>, dom : PSDDomain,shape : &[usize], ptr : &[usize], subj : &[usi... [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dom` [INFO] [stdout] --> src/dummy.rs:536:73 [INFO] [stdout] | [INFO] [stdout] 536 | ... mut self, name : Option<&str>, dom : PSDDomain,shape : &[usize], ptr : &[usize], subj : &[usize], cof : &[f64]) -> Result src/dummy.rs:536:92 [INFO] [stdout] | [INFO] [stdout] 536 | ...ion<&str>, dom : PSDDomain,shape : &[usize], ptr : &[usize], subj : &[usize], cof : &[f64]) -> Result,String> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/dummy.rs:536:110 [INFO] [stdout] | [INFO] [stdout] 536 | ... PSDDomain,shape : &[usize], ptr : &[usize], subj : &[usize], cof : &[f64]) -> Result,String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `subj` [INFO] [stdout] --> src/dummy.rs:536:126 [INFO] [stdout] | [INFO] [stdout] 536 | ...pe : &[usize], ptr : &[usize], subj : &[usize], cof : &[f64]) -> Result,String> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_subj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cof` [INFO] [stdout] --> src/dummy.rs:536:143 [INFO] [stdout] | [INFO] [stdout] 536 | ...tr : &[usize], subj : &[usize], cof : &[f64]) -> Result,String> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_a_row` [INFO] [stdout] --> src/dummy.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | let first_a_row = self.a_ptr.len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_a_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/dummy.rs:586:28 [INFO] [stdout] | [INFO] [stdout] 586 | let (ct,offset,shape,conedim) = dom.extract(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conedim` [INFO] [stdout] --> src/dummy.rs:586:34 [INFO] [stdout] | [INFO] [stdout] 586 | let (ct,offset,shape,conedim) = dom.extract(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conedim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/dummy.rs:568:20 [INFO] [stdout] | [INFO] [stdout] 568 | name : Option<&str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `headers_begin` [INFO] [stdout] --> src/optserver/http.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | let headers_begin = buf.iter().enumerate().find(|c| *c.1 == b'\n').unwrap().1+1; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_headers_begin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/optserver/http.rs:246:82 [INFO] [stdout] | [INFO] [stdout] 246 | while let Some(p) = buf[lastcrlfpos..].iter().enumerate().find(|(i,&b)| b == b'\n').map(|(i,_)| i) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content_length` [INFO] [stdout] --> src/optserver/http.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | if let Some(content_length) = content_length { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/optserver/mod.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | name : Option<&str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/optserver/mod.rs:261:10 [INFO] [stdout] | [INFO] [stdout] 261 | name : Option<&str>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rescode` is assigned to, but never used [INFO] [stdout] --> src/optserver/mod.rs:370:17 [INFO] [stdout] | [INFO] [stdout] 370 | let mut rescode = None; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_rescode` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rescode` is never read [INFO] [stdout] --> src/optserver/mod.rs:383:21 [INFO] [stdout] | [INFO] [stdout] 383 | rescode = Some(r.to_string()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> src/optserver/mod.rs:391:26 [INFO] [stdout] | [INFO] [stdout] 391 | if let Some((k,JSON::Dict(d))) = d.0.iter().find(|kv| kv.0.as_str() == "Task/solutions") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/model/mod.rs:363:8 [INFO] [stdout] | [INFO] [stdout] 349 | impl ModelAPI where T : BaseModelTrait { [INFO] [stdout] | -------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 363 | fn from(inner : T) -> ModelAPI { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lb` and `ub` are never read [INFO] [stdout] --> src/dummy.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | Linear{lb:f64,ub:f64}, [INFO] [stdout] | ------ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Element` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `coneidx`, `offset`, and `b` are never read [INFO] [stdout] --> src/dummy.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | Conic{coneidx:usize,offset:usize,b:f64}, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^^ ^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Element` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `djc_clause_ptr` are never read [INFO] [stdout] --> src/dummy.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Backend { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 61 | name : Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | djc_clause_ptr : Vec, // index into djc_dom, djc_a_row [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `con_names` is never read [INFO] [stdout] --> src/optserver/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Backend { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | con_names : Vec>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `proto_ver` is never read [INFO] [stdout] --> src/optserver/http.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Response<'a,T> where T : Read { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 17 | proto_ver :(u8,u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get`, `put`, `head`, and `submit_empty` are never used [INFO] [stdout] --> src/optserver/http.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl Request { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get(path : &str) -> Request { Request::new("GET",path) } [INFO] [stdout] | ^^^ [INFO] [stdout] 144 | pub fn put(path : &str) -> Request { Request::new("PUT",path) } [INFO] [stdout] | ^^^ [INFO] [stdout] 145 | pub fn post(path : &str) -> Request { Request::new("POST", path) } [INFO] [stdout] 146 | pub fn head(path : &str) -> Request { Request::new("PUT", path) } [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn submit_empty<'a,T>(mut self, s : &'a mut T) -> Result,String> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/mod.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn iter(&self) -> std::slice::Iter { self.strides.iter() } [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] 40 | pub fn iter(&self) -> std::slice::Iter<'_, usize> { self.strides.iter() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8d97015e7f3a2d03381f5d46e06724bb6a741be6d82721a13c31fa5f45aa14ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d97015e7f3a2d03381f5d46e06724bb6a741be6d82721a13c31fa5f45aa14ef", kill_on_drop: false }` [INFO] [stdout] 8d97015e7f3a2d03381f5d46e06724bb6a741be6d82721a13c31fa5f45aa14ef