[INFO] fetching crate mosekcomodel 0.3.0... [INFO] checking mosekcomodel-0.3.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate mosekcomodel 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate mosekcomodel 0.3.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate mosekcomodel 0.3.0 [INFO] tweaked toml for crates.io crate mosekcomodel 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mosekcomodel 0.3.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mosekcomodel 0.3.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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mosek v11.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 577e86eaf15c75e973ef691c1a5aa5dac6c5901c407f2008bca441ab10393fa6 [INFO] running `Command { std: "docker" "start" "-a" "577e86eaf15c75e973ef691c1a5aa5dac6c5901c407f2008bca441ab10393fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "577e86eaf15c75e973ef691c1a5aa5dac6c5901c407f2008bca441ab10393fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "577e86eaf15c75e973ef691c1a5aa5dac6c5901c407f2008bca441ab10393fa6", kill_on_drop: false }` [INFO] [stdout] 577e86eaf15c75e973ef691c1a5aa5dac6c5901c407f2008bca441ab10393fa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d440adf80de753f8c6331851910a41607e498c4c021f834b3de9c413fdcee73 [INFO] running `Command { std: "docker" "start" "-a" "3d440adf80de753f8c6331851910a41607e498c4c021f834b3de9c413fdcee73", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.180 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde_derive v1.0.180 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling mosek v11.0.1 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking regex-syntax v0.7.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.3.4 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking mosekcomodel v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/utils/iter.rs:552:13 [INFO] [stdout] | [INFO] [stdout] 552 | 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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] warning: unused variable: `xx` [INFO] [stdout] --> examples/lo1_optserver.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let xx = m.primal_solution(SolutionType::Default,&x); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> examples/portfolio_4_transcost.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let m = GT.height(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> examples/portfolio_5_card.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let m = GT.height(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] error[E0277]: the trait bound `&ExprAdd<1, ExprReshape<2, 1, ExprMulMEt<...>>, ...>: ExprTrait<_>` is not satisfied [INFO] [stdout] --> benches/performance.rs:32:37 [INFO] [stdout] | [INFO] [stdout] 32 | 0 => M.constraint(None, &mx.mul(v.clone().reshape(&[n,1])).reshape(&[n]).add(b), equal_to(1.0).with_shape(&[n])), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `mosekcomodel::ExprTrait<_>` is not implemented for `&ExprAdd<1, ExprReshape<2, 1, ExprMulMEt>>>, Expr<1>>` [INFO] [stdout] note: required by a bound in `ModelAPI::::constraint` [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:563:42 [INFO] [stdout] | [INFO] [stdout] 560 | pub fn constraint(& mut self, name : Option<&str>, expr : E, dom : I) -> D::Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 563 | >::Result : ExprTrait, [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `ModelAPI::::constraint` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/performance-d356eedd3eaac229.long-type-12705569739811898958.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 32 - 0 => M.constraint(None, &mx.mul(v.clone().reshape(&[n,1])).reshape(&[n]).add(b), equal_to(1.0).with_shape(&[n])), [INFO] [stdout] 32 + 0 => M.constraint(None, mx.mul(v.clone().reshape(&[n,1])).reshape(&[n]).add(b), equal_to(1.0).with_shape(&[n])), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `stack` found for struct `mosekcomodel::Variable<3>` in the current scope [INFO] [stdout] --> benches/exprs.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | v.clone().stack(d,v.clone()).stack(d,v.clone()).eval_finalize(& mut rs,& mut ws, & mut xs).unwrap(); [INFO] [stdout] | ----------^^^^^------------- [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `mosekcomodel::Variable::<3>::stack(d, v.clone())` [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] = note: the candidate is defined in an impl for the type `mosekcomodel::Variable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&ExprAdd<1, ExprReshape<2, 1, ExprMulMEt<...>>, ...>: ExprTrait<_>` is not satisfied [INFO] [stdout] --> benches/performance.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | 0 => M.constraint(None, &mx.mul(v.clone().reshape(&[n,1])).reshape(&[n]).add(b), equal_to(1.0).with_shape(&[n])), [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `mosekcomodel::ExprTrait<_>` is not implemented for `&ExprAdd<1, ExprReshape<2, 1, ExprMulMEt>>>, Expr<1>>` [INFO] [stdout] but it is implemented for `ExprAdd<_, _, _>` [INFO] [stdout] = help: for that trait implementation, expected `ExprAdd<_, _, _>`, found `&ExprAdd<1, ExprReshape<2, 1, ExprMulMEt>>>, Expr<1>>` [INFO] [stdout] = note: required for `&ExprAdd<1, ExprReshape<2, 1, ExprMulMEt>>>, Expr<1>>` to implement `IntoExpr<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/performance-d356eedd3eaac229.long-type-12812047159918035154.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&ExprAdd<1, ExprReshape<2, 1, ExprMulRight<...>>, ...>: ExprTrait<_>` is not satisfied [INFO] [stdout] --> benches/performance.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | 1 => M.constraint(None, &v.clone().reshape(&[1,n]).mul(mx).reshape(&[n]).add(b), equal_to(1.0).with_shape(&[n])), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `mosekcomodel::ExprTrait<_>` is not implemented for `&ExprAdd<1, ExprReshape<2, 1, ExprMulRight>>, Expr<1>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ModelAPI::::constraint` [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:563:42 [INFO] [stdout] | [INFO] [stdout] 560 | pub fn constraint(& mut self, name : Option<&str>, expr : E, dom : I) -> D::Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 563 | >::Result : ExprTrait, [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `ModelAPI::::constraint` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/performance-d356eedd3eaac229.long-type-7602148719608288479.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 33 - 1 => M.constraint(None, &v.clone().reshape(&[1,n]).mul(mx).reshape(&[n]).add(b), equal_to(1.0).with_shape(&[n])), [INFO] [stdout] 33 + 1 => M.constraint(None, v.clone().reshape(&[1,n]).mul(mx).reshape(&[n]).add(b), equal_to(1.0).with_shape(&[n])), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&ExprAdd<1, ExprReshape<2, 1, ExprMulRight<...>>, ...>: ExprTrait<_>` is not satisfied [INFO] [stdout] --> benches/performance.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | 1 => M.constraint(None, &v.clone().reshape(&[1,n]).mul(mx).reshape(&[n]).add(b), equal_to(1.0).with_shape(&[n])), [INFO] [stdout] | ^^^^^^^^^^ the trait `mosekcomodel::ExprTrait<_>` is not implemented for `&ExprAdd<1, ExprReshape<2, 1, ExprMulRight>>, Expr<1>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `mosekcomodel::ExprTrait<_>` is not implemented for `&ExprAdd<1, ExprReshape<2, 1, ExprMulRight>>, Expr<1>>` [INFO] [stdout] but it is implemented for `ExprAdd<_, _, _>` [INFO] [stdout] = help: for that trait implementation, expected `ExprAdd<_, _, _>`, found `&ExprAdd<1, ExprReshape<2, 1, ExprMulRight>>, Expr<1>>` [INFO] [stdout] = note: required for `&ExprAdd<1, ExprReshape<2, 1, ExprMulRight>>, Expr<1>>` to implement `IntoExpr<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/performance-d356eedd3eaac229.long-type-14901700917496289712.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&ExprAdd<1, ExprReshape<2, 1, ExprMulMEt<...>>, ...>: ExprTrait<_>` is not satisfied [INFO] [stdout] --> benches/performance.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | 2 => M.constraint(None, &ms.mul(v.clone().reshape(&[n,1])).reshape(&[n]).add(b),equal_to(1.0).with_shape(&[n])), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `mosekcomodel::ExprTrait<_>` is not implemented for `&ExprAdd<1, ExprReshape<2, 1, ExprMulMEt>>>, Expr<1>>` [INFO] [stdout] note: required by a bound in `ModelAPI::::constraint` [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:563:42 [INFO] [stdout] | [INFO] [stdout] 560 | pub fn constraint(& mut self, name : Option<&str>, expr : E, dom : I) -> D::Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 563 | >::Result : ExprTrait, [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `ModelAPI::::constraint` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/performance-d356eedd3eaac229.long-type-6364527238660893002.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 34 - 2 => M.constraint(None, &ms.mul(v.clone().reshape(&[n,1])).reshape(&[n]).add(b),equal_to(1.0).with_shape(&[n])), [INFO] [stdout] 34 + 2 => M.constraint(None, ms.mul(v.clone().reshape(&[n,1])).reshape(&[n]).add(b),equal_to(1.0).with_shape(&[n])), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&ExprAdd<1, ExprReshape<2, 1, ExprMulMEt<...>>, ...>: ExprTrait<_>` is not satisfied [INFO] [stdout] --> benches/performance.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 2 => M.constraint(None, &ms.mul(v.clone().reshape(&[n,1])).reshape(&[n]).add(b),equal_to(1.0).with_shape(&[n])), [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `mosekcomodel::ExprTrait<_>` is not implemented for `&ExprAdd<1, ExprReshape<2, 1, ExprMulMEt>>>, Expr<1>>` [INFO] [stdout] but it is implemented for `ExprAdd<_, _, _>` [INFO] [stdout] = help: for that trait implementation, expected `ExprAdd<_, _, _>`, found `&ExprAdd<1, ExprReshape<2, 1, ExprMulMEt>>>, Expr<1>>` [INFO] [stdout] = note: required for `&ExprAdd<1, ExprReshape<2, 1, ExprMulMEt>>>, Expr<1>>` to implement `IntoExpr<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/performance-d356eedd3eaac229.long-type-7344789447010941948.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&ExprAdd<1, ExprReshape<2, 1, ExprMulRight<...>>, ...>: ExprTrait<_>` is not satisfied [INFO] [stdout] --> benches/performance.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | 3 => M.constraint(None, &v.clone().reshape(&[1,n]).mul(ms).reshape(&[n]).add(b),equal_to(1.0).with_shape(&[n])), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `mosekcomodel::ExprTrait<_>` is not implemented for `&ExprAdd<1, ExprReshape<2, 1, ExprMulRight>>, Expr<1>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ModelAPI::::constraint` [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:563:42 [INFO] [stdout] | [INFO] [stdout] 560 | pub fn constraint(& mut self, name : Option<&str>, expr : E, dom : I) -> D::Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 563 | >::Result : ExprTrait, [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `ModelAPI::::constraint` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/performance-d356eedd3eaac229.long-type-14247707750474686519.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 35 - 3 => M.constraint(None, &v.clone().reshape(&[1,n]).mul(ms).reshape(&[n]).add(b),equal_to(1.0).with_shape(&[n])), [INFO] [stdout] 35 + 3 => M.constraint(None, v.clone().reshape(&[1,n]).mul(ms).reshape(&[n]).add(b),equal_to(1.0).with_shape(&[n])), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&ExprAdd<1, ExprReshape<2, 1, ExprMulRight<...>>, ...>: ExprTrait<_>` is not satisfied [INFO] [stdout] --> benches/performance.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | 3 => M.constraint(None, &v.clone().reshape(&[1,n]).mul(ms).reshape(&[n]).add(b),equal_to(1.0).with_shape(&[n])), [INFO] [stdout] | ^^^^^^^^^^ the trait `mosekcomodel::ExprTrait<_>` is not implemented for `&ExprAdd<1, ExprReshape<2, 1, ExprMulRight>>, Expr<1>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `mosekcomodel::ExprTrait<_>` is not implemented for `&ExprAdd<1, ExprReshape<2, 1, ExprMulRight>>, Expr<1>>` [INFO] [stdout] but it is implemented for `ExprAdd<_, _, _>` [INFO] [stdout] = help: for that trait implementation, expected `ExprAdd<_, _, _>`, found `&ExprAdd<1, ExprReshape<2, 1, ExprMulRight>>, Expr<1>>` [INFO] [stdout] = note: required for `&ExprAdd<1, ExprReshape<2, 1, ExprMulRight>>, Expr<1>>` to implement `IntoExpr<_>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/performance-d356eedd3eaac229.long-type-6344542890128581589.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&ExprMulMEt>>: mosekcomodel::ExprTrait<_>` is not satisfied [INFO] [stdout] --> benches/performance.rs:255:43 [INFO] [stdout] | [INFO] [stdout] 255 | let _ = model.constraint(None,&mx.mul(x.add(y)),equal_to(vec![100.0; N*N]).with_shape(&[N,N])); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ the trait `mosekcomodel::ExprTrait<_>` is not implemented for `&ExprMulMEt>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ModelAPI::::constraint` [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:563:42 [INFO] [stdout] | [INFO] [stdout] 560 | pub fn constraint(& mut self, name : Option<&str>, expr : E, dom : I) -> D::Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 563 | >::Result : ExprTrait, [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `ModelAPI::::constraint` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 255 - let _ = model.constraint(None,&mx.mul(x.add(y)),equal_to(vec![100.0; N*N]).with_shape(&[N,N])); [INFO] [stdout] 255 + let _ = model.constraint(None,mx.mul(x.add(y)),equal_to(vec![100.0; N*N]).with_shape(&[N,N])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&ExprMulMEt>>: mosekcomodel::ExprTrait<_>` is not satisfied [INFO] [stdout] --> benches/performance.rs:255:27 [INFO] [stdout] | [INFO] [stdout] 255 | let _ = model.constraint(None,&mx.mul(x.add(y)),equal_to(vec![100.0; N*N]).with_shape(&[N,N])); [INFO] [stdout] | ^^^^^^^^^^ the trait `mosekcomodel::ExprTrait<_>` is not implemented for `&ExprMulMEt>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `ExprTrait<_>` is not implemented for `&ExprMulMEt>>` [INFO] [stdout] but trait `ExprTrait<2>` is implemented for `ExprMulMEt<_>` [INFO] [stdout] = help: for that trait implementation, expected `ExprMulMEt<_>`, found `&ExprMulMEt>>` [INFO] [stdout] = note: required for `&ExprMulMEt>>` to implement `IntoExpr<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&ExprMulRight>: mosekcomodel::ExprTrait<_>` is not satisfied [INFO] [stdout] --> benches/performance.rs:269:44 [INFO] [stdout] | [INFO] [stdout] 269 | let _ = model.constraint(None, &x.add(y).mul(mx),equal_to(vec![100.0;N*N]).with_shape(&[N,N])); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ the trait `mosekcomodel::ExprTrait<_>` is not implemented for `&ExprMulRight>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ModelAPI::::constraint` [INFO] [stdout] --> /opt/rustwide/workdir/src/model/mod.rs:563:42 [INFO] [stdout] | [INFO] [stdout] 560 | pub fn constraint(& mut self, name : Option<&str>, expr : E, dom : I) -> D::Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 563 | >::Result : ExprTrait, [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `ModelAPI::::constraint` [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 269 - let _ = model.constraint(None, &x.add(y).mul(mx),equal_to(vec![100.0;N*N]).with_shape(&[N,N])); [INFO] [stdout] 269 + let _ = model.constraint(None, x.add(y).mul(mx),equal_to(vec![100.0;N*N]).with_shape(&[N,N])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&ExprMulRight>: mosekcomodel::ExprTrait<_>` is not satisfied [INFO] [stdout] --> benches/performance.rs:269:27 [INFO] [stdout] | [INFO] [stdout] 269 | let _ = model.constraint(None, &x.add(y).mul(mx),equal_to(vec![100.0;N*N]).with_shape(&[N,N])); [INFO] [stdout] | ^^^^^^^^^^ the trait `mosekcomodel::ExprTrait<_>` is not implemented for `&ExprMulRight>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `ExprTrait<_>` is not implemented for `&ExprMulRight>` [INFO] [stdout] but trait `ExprTrait<2>` is implemented for `ExprMulRight<_>` [INFO] [stdout] = help: for that trait implementation, expected `ExprMulRight<_>`, found `&ExprMulRight>` [INFO] [stdout] = note: required for `&ExprMulRight>` to implement `IntoExpr<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mosekcomodel` (bench "exprs") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mosekcomodel` (bench "performance") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "3d440adf80de753f8c6331851910a41607e498c4c021f834b3de9c413fdcee73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d440adf80de753f8c6331851910a41607e498c4c021f834b3de9c413fdcee73", kill_on_drop: false }` [INFO] [stdout] 3d440adf80de753f8c6331851910a41607e498c4c021f834b3de9c413fdcee73