[INFO] fetching crate gurobi 0.3.4... [INFO] testing gurobi-0.3.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate gurobi 0.3.4 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate gurobi 0.3.4 [INFO] finished tweaking crates.io crate gurobi 0.3.4 [INFO] tweaked toml for crates.io crate gurobi 0.3.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gurobi 0.3.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gurobi 0.3.4 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gurobi-sys v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81f3ad3f8878f44d3e8d17a9cd6efd821917869b14864efd266bddcf52e9615a [INFO] running `Command { std: "docker" "start" "-a" "81f3ad3f8878f44d3e8d17a9cd6efd821917869b14864efd266bddcf52e9615a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81f3ad3f8878f44d3e8d17a9cd6efd821917869b14864efd266bddcf52e9615a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81f3ad3f8878f44d3e8d17a9cd6efd821917869b14864efd266bddcf52e9615a", kill_on_drop: false }` [INFO] [stdout] 81f3ad3f8878f44d3e8d17a9cd6efd821917869b14864efd266bddcf52e9615a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 01c5f1a5c4c3706ddbbc9306a38785a4699cd934674ea38cd6822ee13f3620ba [INFO] running `Command { std: "docker" "start" "-a" "01c5f1a5c4c3706ddbbc9306a38785a4699cd934674ea38cd6822ee13f3620ba", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling gurobi-sys v0.3.0 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling gurobi v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `extend_from_slice` [INFO] [stdout] --> src/lib.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #![allow(extend_from_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `explicit_iter_loop` [INFO] [stdout] --> src/lib.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #![allow(explicit_iter_loop)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/lib.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | #![cfg_attr(feature="clippy", feature(plugin))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/lib.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | #![cfg_attr(feature="clippy", plugin(clippy))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let logfilename = try!(CString::new(logfilename)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | let logfilename = try!(CString::new(logfilename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | let computeserver = try!(CString::new(computeserver)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let password = try!(CString::new(password)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | try!(self.check_apicall(unsafe { P::get_param(self.env, param.into().as_ptr(), value.as_rawptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let filename = try!(CString::new(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let filename = try!(CString::new(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/env.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | coldel: try!(callback.get_int(PRESOLVE, PRE_COLDEL)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | rowdel: try!(callback.get_int(PRESOLVE, PRE_ROWDEL)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | senchg: try!(callback.get_int(PRESOLVE, PRE_SENCHG)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:230:19 [INFO] [stdout] | [INFO] [stdout] 230 | bndchg: try!(callback.get_int(PRESOLVE, PRE_BNDCHG)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | coecfg: try!(callback.get_int(PRESOLVE, PRE_COECHG)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:237:19 [INFO] [stdout] | [INFO] [stdout] 237 | itrcnt: try!(callback.get_double(SIMPLEX, SPX_ITRCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | objval: try!(callback.get_double(SIMPLEX, SPX_OBJVAL)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | priminf: try!(callback.get_double(SIMPLEX, SPX_PRIMINF)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:240:20 [INFO] [stdout] | [INFO] [stdout] 240 | dualinf: try!(callback.get_double(SIMPLEX, SPX_DUALINF)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | ispert: try!(callback.get_int(SIMPLEX, SPX_ISPERT)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:246:19 [INFO] [stdout] | [INFO] [stdout] 246 | objbst: try!(callback.get_double(MIP, MIP_OBJBST)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | objbnd: try!(callback.get_double(MIP, MIP_OBJBND)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 248 | nodcnt: try!(callback.get_double(MIP, MIP_NODCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | solcnt: try!(callback.get_double(MIP, MIP_SOLCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | cutcnt: try!(callback.get_int(MIP, MIP_CUTCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | nodleft: try!(callback.get_double(MIP, MIP_NODLFT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 252 | itrcnt: try!(callback.get_double(MIP, MIP_ITRCNT)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 257 | obj: try!(callback.get_double(MIPSOL, MIPSOL_OBJ)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | objbst: try!(callback.get_double(MIPSOL, MIPSOL_OBJBST)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | objbnd: try!(callback.get_double(MIPSOL, MIPSOL_OBJBND)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 260 | nodcnt: try!(callback.get_double(MIPSOL, MIPSOL_NODCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 261 | solcnt: try!(callback.get_double(MIPSOL, MIPSOL_SOLCNT)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:266:19 [INFO] [stdout] | [INFO] [stdout] 266 | status: try!(callback.get_int(MIPNODE, MIPNODE_STATUS)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:267:19 [INFO] [stdout] | [INFO] [stdout] 267 | objbst: try!(callback.get_double(MIPNODE, MIPNODE_OBJBST)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:268:19 [INFO] [stdout] | [INFO] [stdout] 268 | objbnd: try!(callback.get_double(MIPNODE, MIPNODE_OBJBND)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 269 | nodcnt: try!(callback.get_double(MIPNODE, MIPNODE_NODCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:270:19 [INFO] [stdout] | [INFO] [stdout] 270 | solcnt: try!(callback.get_int(MIPNODE, MIPNODE_SOLCNT)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:273:33 [INFO] [stdout] | [INFO] [stdout] 273 | MESSAGE => Where::Message(try!(callback.get_string(MESSAGE, MSG_STRING)).trim().to_owned()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:276:19 [INFO] [stdout] | [INFO] [stdout] 276 | itrcnt: try!(callback.get_int(BARRIER, BARRIER_ITRCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 277 | primobj: try!(callback.get_double(BARRIER, BARRIER_PRIMOBJ)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:278:20 [INFO] [stdout] | [INFO] [stdout] 278 | dualobj: try!(callback.get_double(BARRIER, BARRIER_DUALOBJ)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:279:20 [INFO] [stdout] | [INFO] [stdout] 279 | priminf: try!(callback.get_double(BARRIER, BARRIER_PRIMINF)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | dualinf: try!(callback.get_double(BARRIER, BARRIER_DUALINF)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:281:18 [INFO] [stdout] | [INFO] [stdout] 281 | compl: try!(callback.get_double(BARRIER, BARRIER_COMPL)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | let vars = try!(model.get_values(attr::X, self.vars.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | let lind = try!(model.get_values(attr::X, self.lind.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | let qrow = try!(model.get_values(attr::X, self.qrow.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | let qcol = try!(model.get_values(attr::X, self.qcol.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/model.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | 1...14 => unsafe { transmute(val as i8) }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `transmute_ptr_to_ref` [INFO] [stdout] --> src/model.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | #[allow(transmute_ptr_to_ref)] // Clippy gives a false positive here. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | try!(model.populate()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | try!(env.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | let modelname = try!(CString::new(modelname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | try!(env.check_apicall(unsafe { ffi::GRBreadmodel(env.get_ptr(), filename.as_ptr(), &mut model) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:361:20 [INFO] [stdout] | [INFO] [stdout] 361 | let filename = try!(CString::new(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | try!(self.check_apicall(unsafe { ffi::GRBupdatemodel(self.model) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:449:7 [INFO] [stdout] | [INFO] [stdout] 449 | try!(self.check_apicall(unsafe { ffi::GRBdelvars(self.model, delind.len() as ffi::c_int, delind.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:454:7 [INFO] [stdout] | [INFO] [stdout] 454 | try!(self.check_apicall(unsafe { ffi::GRBdelconstrs(self.model, delind.len() as ffi::c_int, delind.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:459:7 [INFO] [stdout] | [INFO] [stdout] 459 | try!(self.check_apicall(unsafe { ffi::GRBdelqconstrs(self.model, delind.len() as ffi::c_int, delind.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:464:7 [INFO] [stdout] | [INFO] [stdout] 464 | try!(self.check_apicall(unsafe { ffi::GRBdelsos(self.model, delind.len() as ffi::c_int, delind.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:488:20 [INFO] [stdout] | [INFO] [stdout] 488 | let mode = try!(self.env.get(param::UpdateMode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 497 | try!(self.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | try!(self.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `useless_transmute` [INFO] [stdout] --> src/model.rs:508:11 [INFO] [stdout] | [INFO] [stdout] 508 | #[allow(useless_transmute)] // Clippy gives a false positive here. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | try!(self.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 517 | try!(self.check_apicall(unsafe { ffi::GRBsetcallbackfunc(self.model, callback_wrapper, transmute(&usrdata)) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:519:5 [INFO] [stdout] | [INFO] [stdout] 519 | try!(self.check_apicall(unsafe { ffi::GRBoptimize(self.model) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:586:20 [INFO] [stdout] | [INFO] [stdout] 586 | let filename = try!(CString::new(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:592:20 [INFO] [stdout] | [INFO] [stdout] 592 | let filename = try!(CString::new(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:617:16 [INFO] [stdout] | [INFO] [stdout] 617 | let name = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:630:21 [INFO] [stdout] | [INFO] [stdout] 630 | let col_no = if try!(self.get_update_mode()) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:696:5 [INFO] [stdout] | [INFO] [stdout] 696 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:652:20 [INFO] [stdout] | [INFO] [stdout] 652 | let name = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:710:16 [INFO] [stdout] | [INFO] [stdout] 710 | let mode = try!(self.get_update_mode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:727:5 [INFO] [stdout] | [INFO] [stdout] 727 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:725:22 [INFO] [stdout] | [INFO] [stdout] 725 | let constrname = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:737:21 [INFO] [stdout] | [INFO] [stdout] 737 | let row_no = if try!(self.get_update_mode()) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:774:5 [INFO] [stdout] | [INFO] [stdout] 774 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:752:18 [INFO] [stdout] | [INFO] [stdout] 752 | let name = try!(CString::new(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:786:16 [INFO] [stdout] | [INFO] [stdout] 786 | let mode = try!(self.get_update_mode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:809:5 [INFO] [stdout] | [INFO] [stdout] 809 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:807:22 [INFO] [stdout] | [INFO] [stdout] 807 | let constrname = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:819:16 [INFO] [stdout] | [INFO] [stdout] 819 | let mode = try!(self.get_update_mode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:866:5 [INFO] [stdout] | [INFO] [stdout] 866 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:844:18 [INFO] [stdout] | [INFO] [stdout] 844 | let name = try!(CString::new(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:878:16 [INFO] [stdout] | [INFO] [stdout] 878 | let mode = try!(self.get_update_mode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:899:5 [INFO] [stdout] | [INFO] [stdout] 899 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:897:22 [INFO] [stdout] | [INFO] [stdout] 897 | let constrname = try!(CString::new(constrname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:913:22 [INFO] [stdout] | [INFO] [stdout] 913 | let qrow_no = if try!(self.get_update_mode()) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:932:5 [INFO] [stdout] | [INFO] [stdout] 932 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:942:21 [INFO] [stdout] | [INFO] [stdout] 942 | let sos_no = if try!(self.get_update_mode()) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:959:5 [INFO] [stdout] | [INFO] [stdout] 959 | try!(self.del_qpterms()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:960:5 [INFO] [stdout] | [INFO] [stdout] 960 | try!(self.add_qpterms(qrow.as_slice(), qcol.as_slice(), qval.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:962:5 [INFO] [stdout] | [INFO] [stdout] 962 | try!(self.set_list(attr::Obj, lind.as_slice(), lval.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:971:5 [INFO] [stdout] | [INFO] [stdout] 971 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:981:5 [INFO] [stdout] | [INFO] [stdout] 981 | try!(self.check_apicall(unsafe { A::set_attr(self.model, attr.into().as_ptr(), util::From::from(value)) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:993:5 [INFO] [stdout] | [INFO] [stdout] 993 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1006:5 [INFO] [stdout] | [INFO] [stdout] 1006 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1037:5 [INFO] [stdout] | [INFO] [stdout] 1037 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1053:5 [INFO] [stdout] | [INFO] [stdout] 1053 | try!(self.set_list(attr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1074:18 [INFO] [stdout] | [INFO] [stdout] 1074 | let values = try!(A::to_rawsets(values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1147:5 [INFO] [stdout] | [INFO] [stdout] 1147 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1156:5 [INFO] [stdout] | [INFO] [stdout] 1156 | try!(self.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1158:16 [INFO] [stdout] | [INFO] [stdout] 1158 | let cols = try!(self.get(attr::NumVars)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1159:16 [INFO] [stdout] | [INFO] [stdout] 1159 | let rows = try!(self.get(attr::NumConstrs)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1160:17 [INFO] [stdout] | [INFO] [stdout] 1160 | let qrows = try!(self.get(attr::NumQConstrs)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1200:5 [INFO] [stdout] | [INFO] [stdout] 1200 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1231:5 [INFO] [stdout] | [INFO] [stdout] 1231 | try!(self.check_apicall(unsafe { ffi::GRBgetcoeff(self.model, var.index(), constr.index(), &mut value) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1237:5 [INFO] [stdout] | [INFO] [stdout] 1237 | try!(self.check_apicall(unsafe { ffi::GRBchgcoeffs(self.model, 1, &constr.index(), &var.index(), &value) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1250:5 [INFO] [stdout] | [INFO] [stdout] 1250 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1261:16 [INFO] [stdout] | [INFO] [stdout] 1261 | let cols = try!(self.get(attr::NumVars)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1262:16 [INFO] [stdout] | [INFO] [stdout] 1262 | let rows = try!(self.get(attr::NumConstrs)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1263:23 [INFO] [stdout] | [INFO] [stdout] 1263 | let numqconstrs = try!(self.get(attr::NumQConstrs)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1264:18 [INFO] [stdout] | [INFO] [stdout] 1264 | let numsos = try!(self.get(attr::NumSOS)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1279:5 [INFO] [stdout] | [INFO] [stdout] 1279 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1291:5 [INFO] [stdout] | [INFO] [stdout] 1291 | try!(self.check_apicall(unsafe { ffi::GRBdelq(self.model) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/util.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/util.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | fn from(T) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/util.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/util.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | fn from(T) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/util.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/attr.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | let value = try!(CString::new(value.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/param.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/param.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/model.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | callback: &'a mut FnMut(Callback) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 | callback: &'a mut dyn FnMut(Callback) -> Result<()> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | Error::NulError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr.rs:325:16 [INFO] [stdout] | [INFO] [stdout] 325 | fn sub(self, mut rhs: LinExpr) -> Self::Output { [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: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:254:7 [INFO] [stdout] | [INFO] [stdout] 254 | let mut usrdata = unsafe { transmute::<_, &mut CallbackData>(usrdata) }; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | for (i, mut elem) in vec.iter_mut().enumerate() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/model.rs:1112:21 [INFO] [stdout] | [INFO] [stdout] 1112 | pub fn feas_relax(&mut self, relaxtype: RelaxType, minrelax: bool, vars: &[Var], lbpen: &[f64], ubpen: &[f64], [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 1113 | constrs: &[Constr], rhspen: &[f64]) [INFO] [stdout] 1114 | -> Result<(f64, Iter, Iter, Iter)> { [INFO] [stdout] | --------- ------------ ------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 1114 | -> Result<(f64, Iter<'_, Var>, Iter<'_, Constr>, Iter<'_, QConstr>)> { [INFO] [stdout] | +++ +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/model.rs:1214:19 [INFO] [stdout] | [INFO] [stdout] 1214 | pub fn get_vars(&self) -> Iter { self.vars.iter() } [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1214 | pub fn get_vars(&self) -> Iter<'_, Var> { self.vars.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/model.rs:1217:22 [INFO] [stdout] | [INFO] [stdout] 1217 | pub fn get_constrs(&self) -> Iter { self.constrs.iter() } [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1217 | pub fn get_constrs(&self) -> Iter<'_, Constr> { self.constrs.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/model.rs:1220:23 [INFO] [stdout] | [INFO] [stdout] 1220 | pub fn get_qconstrs(&self) -> Iter { self.qconstrs.iter() } [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1220 | pub fn get_qconstrs(&self) -> Iter<'_, QConstr> { self.qconstrs.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/model.rs:1223:18 [INFO] [stdout] | [INFO] [stdout] 1223 | pub fn get_sos(&self) -> Iter { self.sos.iter() } [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1223 | pub fn get_sos(&self) -> Iter<'_, SOS> { self.sos.iter() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "01c5f1a5c4c3706ddbbc9306a38785a4699cd934674ea38cd6822ee13f3620ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01c5f1a5c4c3706ddbbc9306a38785a4699cd934674ea38cd6822ee13f3620ba", kill_on_drop: false }` [INFO] [stdout] 01c5f1a5c4c3706ddbbc9306a38785a4699cd934674ea38cd6822ee13f3620ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5a2e64971ed182ede1488c1c2b613036ce0efeabbbe9d2b734c01a31f5cad118 [INFO] running `Command { std: "docker" "start" "-a" "5a2e64971ed182ede1488c1c2b613036ce0efeabbbe9d2b734c01a31f5cad118", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unknown lint: `extend_from_slice` [INFO] [stdout] --> src/lib.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #![allow(extend_from_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `explicit_iter_loop` [INFO] [stdout] --> src/lib.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #![allow(explicit_iter_loop)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/lib.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | #![cfg_attr(feature="clippy", feature(plugin))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/lib.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | #![cfg_attr(feature="clippy", plugin(clippy))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let logfilename = try!(CString::new(logfilename)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | let logfilename = try!(CString::new(logfilename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | let computeserver = try!(CString::new(computeserver)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let password = try!(CString::new(password)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | try!(self.check_apicall(unsafe { P::get_param(self.env, param.into().as_ptr(), value.as_rawptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let filename = try!(CString::new(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let filename = try!(CString::new(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/env.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | coldel: try!(callback.get_int(PRESOLVE, PRE_COLDEL)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | rowdel: try!(callback.get_int(PRESOLVE, PRE_ROWDEL)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | senchg: try!(callback.get_int(PRESOLVE, PRE_SENCHG)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:230:19 [INFO] [stdout] | [INFO] [stdout] 230 | bndchg: try!(callback.get_int(PRESOLVE, PRE_BNDCHG)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | coecfg: try!(callback.get_int(PRESOLVE, PRE_COECHG)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:237:19 [INFO] [stdout] | [INFO] [stdout] 237 | itrcnt: try!(callback.get_double(SIMPLEX, SPX_ITRCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | objval: try!(callback.get_double(SIMPLEX, SPX_OBJVAL)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | priminf: try!(callback.get_double(SIMPLEX, SPX_PRIMINF)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:240:20 [INFO] [stdout] | [INFO] [stdout] 240 | dualinf: try!(callback.get_double(SIMPLEX, SPX_DUALINF)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | ispert: try!(callback.get_int(SIMPLEX, SPX_ISPERT)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:246:19 [INFO] [stdout] | [INFO] [stdout] 246 | objbst: try!(callback.get_double(MIP, MIP_OBJBST)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | objbnd: try!(callback.get_double(MIP, MIP_OBJBND)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 248 | nodcnt: try!(callback.get_double(MIP, MIP_NODCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | solcnt: try!(callback.get_double(MIP, MIP_SOLCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | cutcnt: try!(callback.get_int(MIP, MIP_CUTCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | nodleft: try!(callback.get_double(MIP, MIP_NODLFT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 252 | itrcnt: try!(callback.get_double(MIP, MIP_ITRCNT)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 257 | obj: try!(callback.get_double(MIPSOL, MIPSOL_OBJ)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | objbst: try!(callback.get_double(MIPSOL, MIPSOL_OBJBST)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | objbnd: try!(callback.get_double(MIPSOL, MIPSOL_OBJBND)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 260 | nodcnt: try!(callback.get_double(MIPSOL, MIPSOL_NODCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 261 | solcnt: try!(callback.get_double(MIPSOL, MIPSOL_SOLCNT)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:266:19 [INFO] [stdout] | [INFO] [stdout] 266 | status: try!(callback.get_int(MIPNODE, MIPNODE_STATUS)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:267:19 [INFO] [stdout] | [INFO] [stdout] 267 | objbst: try!(callback.get_double(MIPNODE, MIPNODE_OBJBST)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:268:19 [INFO] [stdout] | [INFO] [stdout] 268 | objbnd: try!(callback.get_double(MIPNODE, MIPNODE_OBJBND)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 269 | nodcnt: try!(callback.get_double(MIPNODE, MIPNODE_NODCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:270:19 [INFO] [stdout] | [INFO] [stdout] 270 | solcnt: try!(callback.get_int(MIPNODE, MIPNODE_SOLCNT)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:273:33 [INFO] [stdout] | [INFO] [stdout] 273 | MESSAGE => Where::Message(try!(callback.get_string(MESSAGE, MSG_STRING)).trim().to_owned()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:276:19 [INFO] [stdout] | [INFO] [stdout] 276 | itrcnt: try!(callback.get_int(BARRIER, BARRIER_ITRCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 277 | primobj: try!(callback.get_double(BARRIER, BARRIER_PRIMOBJ)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:278:20 [INFO] [stdout] | [INFO] [stdout] 278 | dualobj: try!(callback.get_double(BARRIER, BARRIER_DUALOBJ)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:279:20 [INFO] [stdout] | [INFO] [stdout] 279 | priminf: try!(callback.get_double(BARRIER, BARRIER_PRIMINF)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | dualinf: try!(callback.get_double(BARRIER, BARRIER_DUALINF)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:281:18 [INFO] [stdout] | [INFO] [stdout] 281 | compl: try!(callback.get_double(BARRIER, BARRIER_COMPL)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | let vars = try!(model.get_values(attr::X, self.vars.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | let lind = try!(model.get_values(attr::X, self.lind.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | let qrow = try!(model.get_values(attr::X, self.qrow.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | let qcol = try!(model.get_values(attr::X, self.qcol.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/model.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | 1...14 => unsafe { transmute(val as i8) }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `transmute_ptr_to_ref` [INFO] [stdout] --> src/model.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | #[allow(transmute_ptr_to_ref)] // Clippy gives a false positive here. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | try!(model.populate()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | try!(env.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | let modelname = try!(CString::new(modelname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | try!(env.check_apicall(unsafe { ffi::GRBreadmodel(env.get_ptr(), filename.as_ptr(), &mut model) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:361:20 [INFO] [stdout] | [INFO] [stdout] 361 | let filename = try!(CString::new(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | try!(self.check_apicall(unsafe { ffi::GRBupdatemodel(self.model) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:449:7 [INFO] [stdout] | [INFO] [stdout] 449 | try!(self.check_apicall(unsafe { ffi::GRBdelvars(self.model, delind.len() as ffi::c_int, delind.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:454:7 [INFO] [stdout] | [INFO] [stdout] 454 | try!(self.check_apicall(unsafe { ffi::GRBdelconstrs(self.model, delind.len() as ffi::c_int, delind.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:459:7 [INFO] [stdout] | [INFO] [stdout] 459 | try!(self.check_apicall(unsafe { ffi::GRBdelqconstrs(self.model, delind.len() as ffi::c_int, delind.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:464:7 [INFO] [stdout] | [INFO] [stdout] 464 | try!(self.check_apicall(unsafe { ffi::GRBdelsos(self.model, delind.len() as ffi::c_int, delind.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:488:20 [INFO] [stdout] | [INFO] [stdout] 488 | let mode = try!(self.env.get(param::UpdateMode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 497 | try!(self.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | try!(self.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `useless_transmute` [INFO] [stdout] --> src/model.rs:508:11 [INFO] [stdout] | [INFO] [stdout] 508 | #[allow(useless_transmute)] // Clippy gives a false positive here. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | try!(self.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 517 | try!(self.check_apicall(unsafe { ffi::GRBsetcallbackfunc(self.model, callback_wrapper, transmute(&usrdata)) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:519:5 [INFO] [stdout] | [INFO] [stdout] 519 | try!(self.check_apicall(unsafe { ffi::GRBoptimize(self.model) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:586:20 [INFO] [stdout] | [INFO] [stdout] 586 | let filename = try!(CString::new(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:592:20 [INFO] [stdout] | [INFO] [stdout] 592 | let filename = try!(CString::new(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:617:16 [INFO] [stdout] | [INFO] [stdout] 617 | let name = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:630:21 [INFO] [stdout] | [INFO] [stdout] 630 | let col_no = if try!(self.get_update_mode()) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:696:5 [INFO] [stdout] | [INFO] [stdout] 696 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:652:20 [INFO] [stdout] | [INFO] [stdout] 652 | let name = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:710:16 [INFO] [stdout] | [INFO] [stdout] 710 | let mode = try!(self.get_update_mode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:727:5 [INFO] [stdout] | [INFO] [stdout] 727 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:725:22 [INFO] [stdout] | [INFO] [stdout] 725 | let constrname = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:737:21 [INFO] [stdout] | [INFO] [stdout] 737 | let row_no = if try!(self.get_update_mode()) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:774:5 [INFO] [stdout] | [INFO] [stdout] 774 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:752:18 [INFO] [stdout] | [INFO] [stdout] 752 | let name = try!(CString::new(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:786:16 [INFO] [stdout] | [INFO] [stdout] 786 | let mode = try!(self.get_update_mode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:809:5 [INFO] [stdout] | [INFO] [stdout] 809 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:807:22 [INFO] [stdout] | [INFO] [stdout] 807 | let constrname = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:819:16 [INFO] [stdout] | [INFO] [stdout] 819 | let mode = try!(self.get_update_mode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:866:5 [INFO] [stdout] | [INFO] [stdout] 866 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:844:18 [INFO] [stdout] | [INFO] [stdout] 844 | let name = try!(CString::new(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:878:16 [INFO] [stdout] | [INFO] [stdout] 878 | let mode = try!(self.get_update_mode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:899:5 [INFO] [stdout] | [INFO] [stdout] 899 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:897:22 [INFO] [stdout] | [INFO] [stdout] 897 | let constrname = try!(CString::new(constrname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:913:22 [INFO] [stdout] | [INFO] [stdout] 913 | let qrow_no = if try!(self.get_update_mode()) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:932:5 [INFO] [stdout] | [INFO] [stdout] 932 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:942:21 [INFO] [stdout] | [INFO] [stdout] 942 | let sos_no = if try!(self.get_update_mode()) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:959:5 [INFO] [stdout] | [INFO] [stdout] 959 | try!(self.del_qpterms()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:960:5 [INFO] [stdout] | [INFO] [stdout] 960 | try!(self.add_qpterms(qrow.as_slice(), qcol.as_slice(), qval.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:962:5 [INFO] [stdout] | [INFO] [stdout] 962 | try!(self.set_list(attr::Obj, lind.as_slice(), lval.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:971:5 [INFO] [stdout] | [INFO] [stdout] 971 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:981:5 [INFO] [stdout] | [INFO] [stdout] 981 | try!(self.check_apicall(unsafe { A::set_attr(self.model, attr.into().as_ptr(), util::From::from(value)) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:993:5 [INFO] [stdout] | [INFO] [stdout] 993 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gurobi v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1006:5 [INFO] [stdout] | [INFO] [stdout] 1006 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1037:5 [INFO] [stdout] | [INFO] [stdout] 1037 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1053:5 [INFO] [stdout] | [INFO] [stdout] 1053 | try!(self.set_list(attr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1074:18 [INFO] [stdout] | [INFO] [stdout] 1074 | let values = try!(A::to_rawsets(values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1147:5 [INFO] [stdout] | [INFO] [stdout] 1147 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1156:5 [INFO] [stdout] | [INFO] [stdout] 1156 | try!(self.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1158:16 [INFO] [stdout] | [INFO] [stdout] 1158 | let cols = try!(self.get(attr::NumVars)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1159:16 [INFO] [stdout] | [INFO] [stdout] 1159 | let rows = try!(self.get(attr::NumConstrs)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1160:17 [INFO] [stdout] | [INFO] [stdout] 1160 | let qrows = try!(self.get(attr::NumQConstrs)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1200:5 [INFO] [stdout] | [INFO] [stdout] 1200 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1231:5 [INFO] [stdout] | [INFO] [stdout] 1231 | try!(self.check_apicall(unsafe { ffi::GRBgetcoeff(self.model, var.index(), constr.index(), &mut value) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1237:5 [INFO] [stdout] | [INFO] [stdout] 1237 | try!(self.check_apicall(unsafe { ffi::GRBchgcoeffs(self.model, 1, &constr.index(), &var.index(), &value) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1250:5 [INFO] [stdout] | [INFO] [stdout] 1250 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1261:16 [INFO] [stdout] | [INFO] [stdout] 1261 | let cols = try!(self.get(attr::NumVars)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1262:16 [INFO] [stdout] | [INFO] [stdout] 1262 | let rows = try!(self.get(attr::NumConstrs)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1263:23 [INFO] [stdout] | [INFO] [stdout] 1263 | let numqconstrs = try!(self.get(attr::NumQConstrs)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1264:18 [INFO] [stdout] | [INFO] [stdout] 1264 | let numsos = try!(self.get(attr::NumSOS)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1279:5 [INFO] [stdout] | [INFO] [stdout] 1279 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1291:5 [INFO] [stdout] | [INFO] [stdout] 1291 | try!(self.check_apicall(unsafe { ffi::GRBdelq(self.model) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/util.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/util.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | fn from(T) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/util.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/util.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | fn from(T) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/util.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/attr.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | let value = try!(CString::new(value.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/param.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/param.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/model.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | callback: &'a mut FnMut(Callback) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 | callback: &'a mut dyn FnMut(Callback) -> Result<()> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | Error::NulError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr.rs:325:16 [INFO] [stdout] | [INFO] [stdout] 325 | fn sub(self, mut rhs: LinExpr) -> Self::Output { [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: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:254:7 [INFO] [stdout] | [INFO] [stdout] 254 | let mut usrdata = unsafe { transmute::<_, &mut CallbackData>(usrdata) }; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | for (i, mut elem) in vec.iter_mut().enumerate() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/model.rs:1112:21 [INFO] [stdout] | [INFO] [stdout] 1112 | pub fn feas_relax(&mut self, relaxtype: RelaxType, minrelax: bool, vars: &[Var], lbpen: &[f64], ubpen: &[f64], [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 1113 | constrs: &[Constr], rhspen: &[f64]) [INFO] [stdout] 1114 | -> Result<(f64, Iter, Iter, Iter)> { [INFO] [stdout] | --------- ------------ ------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 1114 | -> Result<(f64, Iter<'_, Var>, Iter<'_, Constr>, Iter<'_, QConstr>)> { [INFO] [stdout] | +++ +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/model.rs:1214:19 [INFO] [stdout] | [INFO] [stdout] 1214 | pub fn get_vars(&self) -> Iter { self.vars.iter() } [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1214 | pub fn get_vars(&self) -> Iter<'_, Var> { self.vars.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/model.rs:1217:22 [INFO] [stdout] | [INFO] [stdout] 1217 | pub fn get_constrs(&self) -> Iter { self.constrs.iter() } [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1217 | pub fn get_constrs(&self) -> Iter<'_, Constr> { self.constrs.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/model.rs:1220:23 [INFO] [stdout] | [INFO] [stdout] 1220 | pub fn get_qconstrs(&self) -> Iter { self.qconstrs.iter() } [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1220 | pub fn get_qconstrs(&self) -> Iter<'_, QConstr> { self.qconstrs.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/model.rs:1223:18 [INFO] [stdout] | [INFO] [stdout] 1223 | pub fn get_sos(&self) -> Iter { self.sos.iter() } [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1223 | pub fn get_sos(&self) -> Iter<'_, SOS> { self.sos.iter() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/workforce/mod.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | try!(model.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/workforce/mod.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | try!(model.set_objective(objexpr, Minimize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/workforce/mod.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | let mut model = try!(Model::new("assignment", &env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/workforce/mod.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | let v = try!(model.add_var(vname.as_str(), Continuous, 0.0, -INFINITY, availability as f64, &[], &[])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/workforce/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | try!(model.add_constr(format!("c.{}", shift).as_str(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/workforce/mod.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | try!(model.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/workforce/mod.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | try!(model.set_objective(objexpr, Minimize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/workforce/mod.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | let mut model = try!(Model::new("assignment", &env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/workforce/mod.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | let v = try!(model.add_var(vname.as_str(), Continuous, 0.0, -INFINITY, availability as f64, &[], &[])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/workforce/mod.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | try!(model.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/workforce/mod.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | try!(model.set_objective(objexpr, Minimize)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/workforce/mod.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | let mut model = try!(Model::new("assignment", &env)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/workforce/mod.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | let v = try!(model.add_var(vname.as_str(), Continuous, 0.0, -INFINITY, availability as f64, &[], &[])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/workforce/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | try!(model.add_constr(format!("c.{}", shift).as_str(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/workforce/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | try!(model.add_constr(format!("c.{}", shift).as_str(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/callback.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | let x = try!(ctx.get_solution(vars.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/callback.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | try!(ctx.set_solution(vars.as_slice(), x.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/callback.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | let x = try!(ctx.get_node_rel(vars.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/piecewise.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | try!(model.optimize()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/piecewise.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | println!("IsMIP = {}", try!(model.get(attr::IsMIP)) != 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> examples/piecewise.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | let x = try!(v.get(&model, attr::X));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/piecewise.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let vname = try!(v.get(&model, attr::VarName)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/piecewise.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let x = try!(v.get(&model, attr::X));; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/piecewise.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | println!("Obj = {}\n", try!(model.get(attr::ObjVal))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `extend_from_slice` [INFO] [stdout] --> src/lib.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #![allow(extend_from_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `explicit_iter_loop` [INFO] [stdout] --> src/lib.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | #![allow(explicit_iter_loop)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/lib.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | #![cfg_attr(feature="clippy", feature(plugin))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `clippy` [INFO] [stdout] --> src/lib.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | #![cfg_attr(feature="clippy", plugin(clippy))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let logfilename = try!(CString::new(logfilename)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | let logfilename = try!(CString::new(logfilename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | let computeserver = try!(CString::new(computeserver)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let password = try!(CString::new(password)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | try!(self.check_apicall(unsafe { P::get_param(self.env, param.into().as_ptr(), value.as_rawptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let filename = try!(CString::new(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/env.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | let filename = try!(CString::new(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/env.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 99 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | coldel: try!(callback.get_int(PRESOLVE, PRE_COLDEL)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | rowdel: try!(callback.get_int(PRESOLVE, PRE_ROWDEL)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:229:19 [INFO] [stdout] | [INFO] [stdout] 229 | senchg: try!(callback.get_int(PRESOLVE, PRE_SENCHG)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:230:19 [INFO] [stdout] | [INFO] [stdout] 230 | bndchg: try!(callback.get_int(PRESOLVE, PRE_BNDCHG)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:231:19 [INFO] [stdout] | [INFO] [stdout] 231 | coecfg: try!(callback.get_int(PRESOLVE, PRE_COECHG)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:237:19 [INFO] [stdout] | [INFO] [stdout] 237 | itrcnt: try!(callback.get_double(SIMPLEX, SPX_ITRCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | objval: try!(callback.get_double(SIMPLEX, SPX_OBJVAL)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | priminf: try!(callback.get_double(SIMPLEX, SPX_PRIMINF)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:240:20 [INFO] [stdout] | [INFO] [stdout] 240 | dualinf: try!(callback.get_double(SIMPLEX, SPX_DUALINF)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:241:19 [INFO] [stdout] | [INFO] [stdout] 241 | ispert: try!(callback.get_int(SIMPLEX, SPX_ISPERT)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:246:19 [INFO] [stdout] | [INFO] [stdout] 246 | objbst: try!(callback.get_double(MIP, MIP_OBJBST)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:247:19 [INFO] [stdout] | [INFO] [stdout] 247 | objbnd: try!(callback.get_double(MIP, MIP_OBJBND)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 248 | nodcnt: try!(callback.get_double(MIP, MIP_NODCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | solcnt: try!(callback.get_double(MIP, MIP_SOLCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:250:19 [INFO] [stdout] | [INFO] [stdout] 250 | cutcnt: try!(callback.get_int(MIP, MIP_CUTCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | nodleft: try!(callback.get_double(MIP, MIP_NODLFT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:252:19 [INFO] [stdout] | [INFO] [stdout] 252 | itrcnt: try!(callback.get_double(MIP, MIP_ITRCNT)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 257 | obj: try!(callback.get_double(MIPSOL, MIPSOL_OBJ)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | objbst: try!(callback.get_double(MIPSOL, MIPSOL_OBJBST)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | objbnd: try!(callback.get_double(MIPSOL, MIPSOL_OBJBND)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 260 | nodcnt: try!(callback.get_double(MIPSOL, MIPSOL_NODCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 261 | solcnt: try!(callback.get_double(MIPSOL, MIPSOL_SOLCNT)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:266:19 [INFO] [stdout] | [INFO] [stdout] 266 | status: try!(callback.get_int(MIPNODE, MIPNODE_STATUS)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:267:19 [INFO] [stdout] | [INFO] [stdout] 267 | objbst: try!(callback.get_double(MIPNODE, MIPNODE_OBJBST)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:268:19 [INFO] [stdout] | [INFO] [stdout] 268 | objbnd: try!(callback.get_double(MIPNODE, MIPNODE_OBJBND)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:269:19 [INFO] [stdout] | [INFO] [stdout] 269 | nodcnt: try!(callback.get_double(MIPNODE, MIPNODE_NODCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:270:19 [INFO] [stdout] | [INFO] [stdout] 270 | solcnt: try!(callback.get_int(MIPNODE, MIPNODE_SOLCNT)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:273:33 [INFO] [stdout] | [INFO] [stdout] 273 | MESSAGE => Where::Message(try!(callback.get_string(MESSAGE, MSG_STRING)).trim().to_owned()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:276:19 [INFO] [stdout] | [INFO] [stdout] 276 | itrcnt: try!(callback.get_int(BARRIER, BARRIER_ITRCNT)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:277:20 [INFO] [stdout] | [INFO] [stdout] 277 | primobj: try!(callback.get_double(BARRIER, BARRIER_PRIMOBJ)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:278:20 [INFO] [stdout] | [INFO] [stdout] 278 | dualobj: try!(callback.get_double(BARRIER, BARRIER_DUALOBJ)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:279:20 [INFO] [stdout] | [INFO] [stdout] 279 | priminf: try!(callback.get_double(BARRIER, BARRIER_PRIMINF)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | dualinf: try!(callback.get_double(BARRIER, BARRIER_DUALINF)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/callback.rs:281:18 [INFO] [stdout] | [INFO] [stdout] 281 | compl: try!(callback.get_double(BARRIER, BARRIER_COMPL)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | let vars = try!(model.get_values(attr::X, self.vars.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | let lind = try!(model.get_values(attr::X, self.lind.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:139:16 [INFO] [stdout] | [INFO] [stdout] 139 | let qrow = try!(model.get_values(attr::X, self.qrow.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/expr.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | let qcol = try!(model.get_values(attr::X, self.qcol.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/model.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | 1...14 => unsafe { transmute(val as i8) }, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `transmute_ptr_to_ref` [INFO] [stdout] --> src/model.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | #[allow(transmute_ptr_to_ref)] // Clippy gives a false positive here. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | try!(model.populate()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:345:5 [INFO] [stdout] | [INFO] [stdout] 345 | try!(env.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:343:21 [INFO] [stdout] | [INFO] [stdout] 343 | let modelname = try!(CString::new(modelname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | try!(env.check_apicall(unsafe { ffi::GRBreadmodel(env.get_ptr(), filename.as_ptr(), &mut model) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:361:20 [INFO] [stdout] | [INFO] [stdout] 361 | let filename = try!(CString::new(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | try!(self.check_apicall(unsafe { ffi::GRBupdatemodel(self.model) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:449:7 [INFO] [stdout] | [INFO] [stdout] 449 | try!(self.check_apicall(unsafe { ffi::GRBdelvars(self.model, delind.len() as ffi::c_int, delind.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:454:7 [INFO] [stdout] | [INFO] [stdout] 454 | try!(self.check_apicall(unsafe { ffi::GRBdelconstrs(self.model, delind.len() as ffi::c_int, delind.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:459:7 [INFO] [stdout] | [INFO] [stdout] 459 | try!(self.check_apicall(unsafe { ffi::GRBdelqconstrs(self.model, delind.len() as ffi::c_int, delind.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:464:7 [INFO] [stdout] | [INFO] [stdout] 464 | try!(self.check_apicall(unsafe { ffi::GRBdelsos(self.model, delind.len() as ffi::c_int, delind.as_ptr()) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:488:20 [INFO] [stdout] | [INFO] [stdout] 488 | let mode = try!(self.env.get(param::UpdateMode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:497:5 [INFO] [stdout] | [INFO] [stdout] 497 | try!(self.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | try!(self.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `useless_transmute` [INFO] [stdout] --> src/model.rs:508:11 [INFO] [stdout] | [INFO] [stdout] 508 | #[allow(useless_transmute)] // Clippy gives a false positive here. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | try!(self.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:517:5 [INFO] [stdout] | [INFO] [stdout] 517 | try!(self.check_apicall(unsafe { ffi::GRBsetcallbackfunc(self.model, callback_wrapper, transmute(&usrdata)) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:519:5 [INFO] [stdout] | [INFO] [stdout] 519 | try!(self.check_apicall(unsafe { ffi::GRBoptimize(self.model) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:586:20 [INFO] [stdout] | [INFO] [stdout] 586 | let filename = try!(CString::new(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:592:20 [INFO] [stdout] | [INFO] [stdout] 592 | let filename = try!(CString::new(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:618:5 [INFO] [stdout] | [INFO] [stdout] 618 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:617:16 [INFO] [stdout] | [INFO] [stdout] 617 | let name = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:630:21 [INFO] [stdout] | [INFO] [stdout] 630 | let col_no = if try!(self.get_update_mode()) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:696:5 [INFO] [stdout] | [INFO] [stdout] 696 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:652:20 [INFO] [stdout] | [INFO] [stdout] 652 | let name = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:710:16 [INFO] [stdout] | [INFO] [stdout] 710 | let mode = try!(self.get_update_mode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:727:5 [INFO] [stdout] | [INFO] [stdout] 727 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:725:22 [INFO] [stdout] | [INFO] [stdout] 725 | let constrname = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:737:21 [INFO] [stdout] | [INFO] [stdout] 737 | let row_no = if try!(self.get_update_mode()) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:774:5 [INFO] [stdout] | [INFO] [stdout] 774 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:752:18 [INFO] [stdout] | [INFO] [stdout] 752 | let name = try!(CString::new(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:786:16 [INFO] [stdout] | [INFO] [stdout] 786 | let mode = try!(self.get_update_mode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:809:5 [INFO] [stdout] | [INFO] [stdout] 809 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:807:22 [INFO] [stdout] | [INFO] [stdout] 807 | let constrname = try!(CString::new(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:819:16 [INFO] [stdout] | [INFO] [stdout] 819 | let mode = try!(self.get_update_mode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:866:5 [INFO] [stdout] | [INFO] [stdout] 866 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:844:18 [INFO] [stdout] | [INFO] [stdout] 844 | let name = try!(CString::new(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:878:16 [INFO] [stdout] | [INFO] [stdout] 878 | let mode = try!(self.get_update_mode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:899:5 [INFO] [stdout] | [INFO] [stdout] 899 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:897:22 [INFO] [stdout] | [INFO] [stdout] 897 | let constrname = try!(CString::new(constrname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:913:22 [INFO] [stdout] | [INFO] [stdout] 913 | let qrow_no = if try!(self.get_update_mode()) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:932:5 [INFO] [stdout] | [INFO] [stdout] 932 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:942:21 [INFO] [stdout] | [INFO] [stdout] 942 | let sos_no = if try!(self.get_update_mode()) != 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:959:5 [INFO] [stdout] | [INFO] [stdout] 959 | try!(self.del_qpterms()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:960:5 [INFO] [stdout] | [INFO] [stdout] 960 | try!(self.add_qpterms(qrow.as_slice(), qcol.as_slice(), qval.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:962:5 [INFO] [stdout] | [INFO] [stdout] 962 | try!(self.set_list(attr::Obj, lind.as_slice(), lval.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:971:5 [INFO] [stdout] | [INFO] [stdout] 971 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:981:5 [INFO] [stdout] | [INFO] [stdout] 981 | try!(self.check_apicall(unsafe { A::set_attr(self.model, attr.into().as_ptr(), util::From::from(value)) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:993:5 [INFO] [stdout] | [INFO] [stdout] 993 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1006:5 [INFO] [stdout] | [INFO] [stdout] 1006 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1037:5 [INFO] [stdout] | [INFO] [stdout] 1037 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1053:5 [INFO] [stdout] | [INFO] [stdout] 1053 | try!(self.set_list(attr, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1074:18 [INFO] [stdout] | [INFO] [stdout] 1074 | let values = try!(A::to_rawsets(values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1147:5 [INFO] [stdout] | [INFO] [stdout] 1147 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1156:5 [INFO] [stdout] | [INFO] [stdout] 1156 | try!(self.update()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1158:16 [INFO] [stdout] | [INFO] [stdout] 1158 | let cols = try!(self.get(attr::NumVars)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1159:16 [INFO] [stdout] | [INFO] [stdout] 1159 | let rows = try!(self.get(attr::NumConstrs)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1160:17 [INFO] [stdout] | [INFO] [stdout] 1160 | let qrows = try!(self.get(attr::NumQConstrs)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1200:5 [INFO] [stdout] | [INFO] [stdout] 1200 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1231:5 [INFO] [stdout] | [INFO] [stdout] 1231 | try!(self.check_apicall(unsafe { ffi::GRBgetcoeff(self.model, var.index(), constr.index(), &mut value) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1237:5 [INFO] [stdout] | [INFO] [stdout] 1237 | try!(self.check_apicall(unsafe { ffi::GRBchgcoeffs(self.model, 1, &constr.index(), &var.index(), &value) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1250:5 [INFO] [stdout] | [INFO] [stdout] 1250 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1261:16 [INFO] [stdout] | [INFO] [stdout] 1261 | let cols = try!(self.get(attr::NumVars)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1262:16 [INFO] [stdout] | [INFO] [stdout] 1262 | let rows = try!(self.get(attr::NumConstrs)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1263:23 [INFO] [stdout] | [INFO] [stdout] 1263 | let numqconstrs = try!(self.get(attr::NumQConstrs)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1264:18 [INFO] [stdout] | [INFO] [stdout] 1264 | let numsos = try!(self.get(attr::NumSOS)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1279:5 [INFO] [stdout] | [INFO] [stdout] 1279 | try!(self.check_apicall(unsafe { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/model.rs:1291:5 [INFO] [stdout] | [INFO] [stdout] 1291 | try!(self.check_apicall(unsafe { ffi::GRBdelq(self.model) })); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/util.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/util.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | fn from(T) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/util.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/util.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | fn from(T) -> Self; [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/util.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `temporary_cstring_as_ptr` has been renamed to `dangling_pointers_from_temporaries` [INFO] [stdout] --> src/util.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | #[allow(temporary_cstring_as_ptr)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `dangling_pointers_from_temporaries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/attr.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | let value = try!(CString::new(value.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/param.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/param.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[inline(always)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/model.rs:245:21 [INFO] [stdout] | [INFO] [stdout] 245 | callback: &'a mut FnMut(Callback) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 | callback: &'a mut dyn FnMut(Callback) -> Result<()> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:40:39 [INFO] [stdout] | [INFO] [stdout] 40 | Error::NulError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustckpujDx/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgurobi-9c2b24176cbe96bb.rlib,libitertools-4c249a4179b858a2.rlib,libgurobi_sys-cea005e0b194a4d1.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustckpujDx/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/qcp-429f686a2c71f6fd" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::from_raw': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:299:(.text._ZN63_$LT$gurobi..model..Model$u20$as$u20$gurobi..model..FromRaw$GT$8from_raw17h5a42bb07f1d7bacdE+0x26): undefined reference to `GRBgetenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::new': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:346:(.text._ZN6gurobi5model5Model3new17h30cebe1bb946782cE+0x1a4): undefined reference to `GRBnewmodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::update': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:449:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x1a3): undefined reference to `GRBdelvars' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:454:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x382): undefined reference to `GRBdelconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:459:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x555): undefined reference to `GRBdelqconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:468:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x6e1): undefined reference to `GRBupdatemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:464:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x739): undefined reference to `GRBdelsos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::optimize': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:498:(.text._ZN6gurobi5model5Model8optimize17h5746f87614eb6034E+0x8a): undefined reference to `GRBoptimize' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::write': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:593:(.text._ZN6gurobi5model5Model5write17h49f452007303ceeeE+0x164): undefined reference to `GRBwrite' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_var': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:619:(.text._ZN6gurobi5model5Model7add_var17h101fe8c0b02d28c5E+0x475): undefined reference to `GRBaddvar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_constr': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:728:(.text._ZN6gurobi5model5Model10add_constr17h29dd84dabdb26451E+0x375): undefined reference to `GRBaddconstr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_qconstr': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:900:(.text._ZN6gurobi5model5Model11add_qconstr17hd26535d8e95d0685E+0x4c5): undefined reference to `GRBaddqconstr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1280:(.text._ZN6gurobi5model5Model11add_qpterms17hfa2d9c33c5849545E+0xa2): undefined reference to `GRBaddqpterms' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::del_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1291:(.text._ZN6gurobi5model5Model11del_qpterms17h68715ffb664d9de3E+0x24): undefined reference to `GRBdelq' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1307:(.text._ZN62_$LT$gurobi..model..Model$u20$as$u20$core..ops..drop..Drop$GT$4drop17h845575f0b65d2bb8E+0x14): undefined reference to `GRBfreemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::Env::new': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:27:(.text._ZN6gurobi3env3Env3new17h0b68d1bc7995f9c7E+0x136): undefined reference to `GRBloadenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:122:(.text._ZN58_$LT$gurobi..env..Env$u20$as$u20$core..ops..drop..Drop$GT$4drop17h23a410eeaab2b9ffE+0x23): undefined reference to `GRBfreeenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::get_error_msg': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:151:(.text._ZN6gurobi3env13get_error_msg17hd7492928375af33fE+0x22): undefined reference to `GRBgeterrormsg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:44:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9get_param17hbc5677a1f664682cE+0x14): undefined reference to `GRBgetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:40:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17hc5de94764d50f6ebE+0x14): undefined reference to `GRBgetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:44:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8set_attr17hd1c928d990e67fd1E+0x13): undefined reference to `GRBsetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attrlist': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:163:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$12set_attrlist17hacb314f18bcdf5d4E+0x1d): undefined reference to `GRBsetdblattrlist' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcb6OFCX/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgurobi-9c2b24176cbe96bb.rlib,libitertools-4c249a4179b858a2.rlib,libgurobi_sys-cea005e0b194a4d1.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcb6OFCX/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/qp-aa12742a717a8ed7" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::from_raw': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:299:(.text._ZN63_$LT$gurobi..model..Model$u20$as$u20$gurobi..model..FromRaw$GT$8from_raw17h5a42bb07f1d7bacdE+0x26): undefined reference to `GRBgetenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::new': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:346:(.text._ZN6gurobi5model5Model3new17h30cebe1bb946782cE+0x1a4): undefined reference to `GRBnewmodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::update': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:449:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x1a3): undefined reference to `GRBdelvars' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:454:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x382): undefined reference to `GRBdelconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:459:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x555): undefined reference to `GRBdelqconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:468:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x6e1): undefined reference to `GRBupdatemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:464:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x739): undefined reference to `GRBdelsos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::optimize': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:498:(.text._ZN6gurobi5model5Model8optimize17h5746f87614eb6034E+0x8a): undefined reference to `GRBoptimize' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::write': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:593:(.text._ZN6gurobi5model5Model5write17h49f452007303ceeeE+0x164): undefined reference to `GRBwrite' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_var': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:619:(.text._ZN6gurobi5model5Model7add_var17h101fe8c0b02d28c5E+0x475): undefined reference to `GRBaddvar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_constr': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:728:(.text._ZN6gurobi5model5Model10add_constr17h29dd84dabdb26451E+0x375): undefined reference to `GRBaddconstr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1280:(.text._ZN6gurobi5model5Model11add_qpterms17hfa2d9c33c5849545E+0xa2): undefined reference to `GRBaddqpterms' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::del_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1291:(.text._ZN6gurobi5model5Model11del_qpterms17h68715ffb664d9de3E+0x24): undefined reference to `GRBdelq' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1307:(.text._ZN62_$LT$gurobi..model..Model$u20$as$u20$core..ops..drop..Drop$GT$4drop17h845575f0b65d2bb8E+0x14): undefined reference to `GRBfreemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::Env::new': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:27:(.text._ZN6gurobi3env3Env3new17h0b68d1bc7995f9c7E+0x136): undefined reference to `GRBloadenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:122:(.text._ZN58_$LT$gurobi..env..Env$u20$as$u20$core..ops..drop..Drop$GT$4drop17h23a410eeaab2b9ffE+0x23): undefined reference to `GRBfreeenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::get_error_msg': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:151:(.text._ZN6gurobi3env13get_error_msg17hd7492928375af33fE+0x22): undefined reference to `GRBgeterrormsg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:44:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9get_param17hbc5677a1f664682cE+0x14): undefined reference to `GRBgetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:40:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17hc5de94764d50f6ebE+0x14): undefined reference to `GRBgetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:44:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8set_attr17hd1c928d990e67fd1E+0x13): undefined reference to `GRBsetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attrlist': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:163:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$12set_attrlist17hacb314f18bcdf5d4E+0x1d): undefined reference to `GRBsetdblattrlist' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gurobi` (example "qcp") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gurobi` (example "qp") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcwsSqRh/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgurobi-9c2b24176cbe96bb.rlib,libitertools-4c249a4179b858a2.rlib,libgurobi_sys-cea005e0b194a4d1.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcwsSqRh/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/sensitivity-9d022e70f561125f" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::from_raw': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:299:(.text._ZN63_$LT$gurobi..model..Model$u20$as$u20$gurobi..model..FromRaw$GT$8from_raw17h5a42bb07f1d7bacdE+0x26): undefined reference to `GRBgetenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::read_from': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:363:(.text._ZN6gurobi5model5Model9read_from17hcdb9795c1f253d1aE+0x177): undefined reference to `GRBreadmodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::update': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:449:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x1a3): undefined reference to `GRBdelvars' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:454:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x382): undefined reference to `GRBdelconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:459:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x555): undefined reference to `GRBdelqconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:468:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x6e1): undefined reference to `GRBupdatemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:464:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x739): undefined reference to `GRBdelsos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::optimize': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:498:(.text._ZN6gurobi5model5Model8optimize17h5746f87614eb6034E+0x8a): undefined reference to `GRBoptimize' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1307:(.text._ZN62_$LT$gurobi..model..Model$u20$as$u20$core..ops..drop..Drop$GT$4drop17h845575f0b65d2bb8E+0x14): undefined reference to `GRBfreemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::Env::new': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:27:(.text._ZN6gurobi3env3Env3new17h0b68d1bc7995f9c7E+0x136): undefined reference to `GRBloadenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:122:(.text._ZN58_$LT$gurobi..env..Env$u20$as$u20$core..ops..drop..Drop$GT$4drop17h23a410eeaab2b9ffE+0x23): undefined reference to `GRBfreeenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::get_error_msg': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:151:(.text._ZN6gurobi3env13get_error_msg17hd7492928375af33fE+0x22): undefined reference to `GRBgeterrormsg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:48:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9set_param17h83c2d7cf2c23603fE+0x13): undefined reference to `GRBsetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:40:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17hc5de94764d50f6ebE+0x14): undefined reference to `GRBgetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:55:(.text._ZN66_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17he24710fb9fc9e062E+0x14): undefined reference to `GRBgetdblattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:145:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17hf4cb41179482f6fbE+0x19): undefined reference to `GRBgetdblattrelement' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:151:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15set_attrelement17h1a2352419861d046E+0x1a): undefined reference to `GRBsetdblattrelement' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:176:(.text._ZN69_$LT$gurobi_sys..CharAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17h9955ac25e8b878edE+0x19): undefined reference to `GRBgetcharattrelement' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:215:(.text._ZN71_$LT$gurobi_sys..StringAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17h32e9e46312a44f83E+0x19): undefined reference to `GRBgetstrattrelement' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gurobi` (example "sensitivity") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcEkpoQE/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgurobi-9c2b24176cbe96bb.rlib,libitertools-4c249a4179b858a2.rlib,libgurobi_sys-cea005e0b194a4d1.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcEkpoQE/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/tune-9ceadb057a34cfdc" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::from_raw': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:299:(.text._ZN63_$LT$gurobi..model..Model$u20$as$u20$gurobi..model..FromRaw$GT$8from_raw17h5a42bb07f1d7bacdE+0x26): undefined reference to `GRBgetenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::read_from': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:363:(.text._ZN6gurobi5model5Model9read_from17hcdb9795c1f253d1aE+0x177): undefined reference to `GRBreadmodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::update': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:449:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x1a3): undefined reference to `GRBdelvars' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:454:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x382): undefined reference to `GRBdelconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:459:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x555): undefined reference to `GRBdelqconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:468:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x6e1): undefined reference to `GRBupdatemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:464:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x739): undefined reference to `GRBdelsos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::optimize': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:498:(.text._ZN6gurobi5model5Model8optimize17h5746f87614eb6034E+0x8a): undefined reference to `GRBoptimize' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::tune': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:544:(.text._ZN6gurobi5model5Model4tune17h7b9a7dd80e2e7f26E+0x1e): undefined reference to `GRBtunemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::get_tune_result': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:550:(.text._ZN6gurobi5model5Model15get_tune_result17hdbb08351e989695dE+0x2d): undefined reference to `GRBgettuneresult' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::write': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:593:(.text._ZN6gurobi5model5Model5write17h49f452007303ceeeE+0x164): undefined reference to `GRBwrite' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1307:(.text._ZN62_$LT$gurobi..model..Model$u20$as$u20$core..ops..drop..Drop$GT$4drop17h845575f0b65d2bb8E+0x14): undefined reference to `GRBfreemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::Env::new': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:27:(.text._ZN6gurobi3env3Env3new17h0b68d1bc7995f9c7E+0x136): undefined reference to `GRBloadenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:122:(.text._ZN58_$LT$gurobi..env..Env$u20$as$u20$core..ops..drop..Drop$GT$4drop17h23a410eeaab2b9ffE+0x23): undefined reference to `GRBfreeenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::get_error_msg': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:151:(.text._ZN6gurobi3env13get_error_msg17hd7492928375af33fE+0x22): undefined reference to `GRBgeterrormsg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:48:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9set_param17h83c2d7cf2c23603fE+0x13): undefined reference to `GRBsetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:40:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17hc5de94764d50f6ebE+0x14): undefined reference to `GRBgetintattr' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gurobi` (example "tune") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustciAOk0D/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgurobi-9c2b24176cbe96bb.rlib,libitertools-4c249a4179b858a2.rlib,libgurobi_sys-cea005e0b194a4d1.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustciAOk0D/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/sos-01576cf6ba05e893" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::from_raw': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:299:(.text._ZN63_$LT$gurobi..model..Model$u20$as$u20$gurobi..model..FromRaw$GT$8from_raw17h5a42bb07f1d7bacdE+0x26): undefined reference to `GRBgetenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::new': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:346:(.text._ZN6gurobi5model5Model3new17h30cebe1bb946782cE+0x1a4): undefined reference to `GRBnewmodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::update': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:449:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x1a3): undefined reference to `GRBdelvars' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:454:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x382): undefined reference to `GRBdelconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:459:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x555): undefined reference to `GRBdelqconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:468:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x6e1): undefined reference to `GRBupdatemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:464:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x739): undefined reference to `GRBdelsos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::optimize': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:498:(.text._ZN6gurobi5model5Model8optimize17h5746f87614eb6034E+0x8a): undefined reference to `GRBoptimize' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::write': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:593:(.text._ZN6gurobi5model5Model5write17h49f452007303ceeeE+0x164): undefined reference to `GRBwrite' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_var': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:619:(.text._ZN6gurobi5model5Model7add_var17h101fe8c0b02d28c5E+0x475): undefined reference to `GRBaddvar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_sos': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:933:(.text._ZN6gurobi5model5Model7add_sos17hfaa30c0b66376df5E+0x1c0): undefined reference to `GRBaddsos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1280:(.text._ZN6gurobi5model5Model11add_qpterms17hfa2d9c33c5849545E+0xa2): undefined reference to `GRBaddqpterms' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::del_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1291:(.text._ZN6gurobi5model5Model11del_qpterms17h68715ffb664d9de3E+0x24): undefined reference to `GRBdelq' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1307:(.text._ZN62_$LT$gurobi..model..Model$u20$as$u20$core..ops..drop..Drop$GT$4drop17h845575f0b65d2bb8E+0x14): undefined reference to `GRBfreemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::Env::new': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:27:(.text._ZN6gurobi3env3Env3new17h0b68d1bc7995f9c7E+0x136): undefined reference to `GRBloadenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:122:(.text._ZN58_$LT$gurobi..env..Env$u20$as$u20$core..ops..drop..Drop$GT$4drop17h23a410eeaab2b9ffE+0x23): undefined reference to `GRBfreeenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::get_error_msg': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:151:(.text._ZN6gurobi3env13get_error_msg17hd7492928375af33fE+0x22): undefined reference to `GRBgeterrormsg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:44:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9get_param17hbc5677a1f664682cE+0x14): undefined reference to `GRBgetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:40:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17hc5de94764d50f6ebE+0x14): undefined reference to `GRBgetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:44:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8set_attr17hd1c928d990e67fd1E+0x13): undefined reference to `GRBsetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:55:(.text._ZN66_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17he24710fb9fc9e062E+0x14): undefined reference to `GRBgetdblattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:145:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17hf4cb41179482f6fbE+0x19): undefined reference to `GRBgetdblattrelement' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attrlist': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:163:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$12set_attrlist17hacb314f18bcdf5d4E+0x1d): undefined reference to `GRBsetdblattrlist' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gurobi` (example "sos") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcKKvmht/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgurobi-9c2b24176cbe96bb.rlib,libitertools-4c249a4179b858a2.rlib,libgurobi_sys-cea005e0b194a4d1.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcKKvmht/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/facility-4a1605e244bfa9a5" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::from_raw': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:299:(.text._ZN63_$LT$gurobi..model..Model$u20$as$u20$gurobi..model..FromRaw$GT$8from_raw17h5a42bb07f1d7bacdE+0x26): undefined reference to `GRBgetenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::new': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:346:(.text._ZN6gurobi5model5Model3new17h30cebe1bb946782cE+0x1a4): undefined reference to `GRBnewmodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::update': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:449:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x1a3): undefined reference to `GRBdelvars' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:454:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x382): undefined reference to `GRBdelconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:459:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x555): undefined reference to `GRBdelqconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:468:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x6e1): undefined reference to `GRBupdatemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:464:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x739): undefined reference to `GRBdelsos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::optimize': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:498:(.text._ZN6gurobi5model5Model8optimize17h5746f87614eb6034E+0x8a): undefined reference to `GRBoptimize' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::write': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:593:(.text._ZN6gurobi5model5Model5write17h49f452007303ceeeE+0x164): undefined reference to `GRBwrite' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_var': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:619:(.text._ZN6gurobi5model5Model7add_var17h101fe8c0b02d28c5E+0x475): undefined reference to `GRBaddvar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_constr': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:728:(.text._ZN6gurobi5model5Model10add_constr17h29dd84dabdb26451E+0x375): undefined reference to `GRBaddconstr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1280:(.text._ZN6gurobi5model5Model11add_qpterms17hfa2d9c33c5849545E+0xa2): undefined reference to `GRBaddqpterms' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::del_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1291:(.text._ZN6gurobi5model5Model11del_qpterms17h68715ffb664d9de3E+0x24): undefined reference to `GRBdelq' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1307:(.text._ZN62_$LT$gurobi..model..Model$u20$as$u20$core..ops..drop..Drop$GT$4drop17h845575f0b65d2bb8E+0x14): undefined reference to `GRBfreemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::Env::new': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:27:(.text._ZN6gurobi3env3Env3new17h0b68d1bc7995f9c7E+0x136): undefined reference to `GRBloadenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:122:(.text._ZN58_$LT$gurobi..env..Env$u20$as$u20$core..ops..drop..Drop$GT$4drop17h23a410eeaab2b9ffE+0x23): undefined reference to `GRBfreeenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::get_error_msg': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:151:(.text._ZN6gurobi3env13get_error_msg17hd7492928375af33fE+0x22): undefined reference to `GRBgeterrormsg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:44:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9get_param17hbc5677a1f664682cE+0x14): undefined reference to `GRBgetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:48:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9set_param17h83c2d7cf2c23603fE+0x13): undefined reference to `GRBsetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:40:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17hc5de94764d50f6ebE+0x14): undefined reference to `GRBgetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:44:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8set_attr17hd1c928d990e67fd1E+0x13): undefined reference to `GRBsetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:55:(.text._ZN66_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17he24710fb9fc9e062E+0x14): undefined reference to `GRBgetdblattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:145:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17hf4cb41179482f6fbE+0x19): undefined reference to `GRBgetdblattrelement' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:151:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15set_attrelement17h1a2352419861d046E+0x1a): undefined reference to `GRBsetdblattrelement' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attrlist': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:163:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$12set_attrlist17hacb314f18bcdf5d4E+0x1d): undefined reference to `GRBsetdblattrlist' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gurobi` (example "facility") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcfeveSZ/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgurobi-9c2b24176cbe96bb.rlib,libitertools-4c249a4179b858a2.rlib,libgurobi_sys-cea005e0b194a4d1.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcfeveSZ/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/mip-cf302845fc7a5d5d" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::from_raw': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:299:(.text._ZN63_$LT$gurobi..model..Model$u20$as$u20$gurobi..model..FromRaw$GT$8from_raw17h5a42bb07f1d7bacdE+0x26): undefined reference to `GRBgetenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::new': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:346:(.text._ZN6gurobi5model5Model3new17h30cebe1bb946782cE+0x1a4): undefined reference to `GRBnewmodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::update': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:449:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x1a3): undefined reference to `GRBdelvars' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:454:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x382): undefined reference to `GRBdelconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:459:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x555): undefined reference to `GRBdelqconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:468:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x6e1): undefined reference to `GRBupdatemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:464:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x739): undefined reference to `GRBdelsos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::optimize': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:498:(.text._ZN6gurobi5model5Model8optimize17h5746f87614eb6034E+0x8a): undefined reference to `GRBoptimize' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::write': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:593:(.text._ZN6gurobi5model5Model5write17h49f452007303ceeeE+0x164): undefined reference to `GRBwrite' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_var': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:619:(.text._ZN6gurobi5model5Model7add_var17h101fe8c0b02d28c5E+0x475): undefined reference to `GRBaddvar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_constr': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:728:(.text._ZN6gurobi5model5Model10add_constr17h29dd84dabdb26451E+0x375): undefined reference to `GRBaddconstr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1280:(.text._ZN6gurobi5model5Model11add_qpterms17hfa2d9c33c5849545E+0xa2): undefined reference to `GRBaddqpterms' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::del_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1291:(.text._ZN6gurobi5model5Model11del_qpterms17h68715ffb664d9de3E+0x24): undefined reference to `GRBdelq' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1307:(.text._ZN62_$LT$gurobi..model..Model$u20$as$u20$core..ops..drop..Drop$GT$4drop17h845575f0b65d2bb8E+0x14): undefined reference to `GRBfreemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::Env::new': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:27:(.text._ZN6gurobi3env3Env3new17h0b68d1bc7995f9c7E+0x136): undefined reference to `GRBloadenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:122:(.text._ZN58_$LT$gurobi..env..Env$u20$as$u20$core..ops..drop..Drop$GT$4drop17h23a410eeaab2b9ffE+0x23): undefined reference to `GRBfreeenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::get_error_msg': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:151:(.text._ZN6gurobi3env13get_error_msg17hd7492928375af33fE+0x22): undefined reference to `GRBgeterrormsg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:44:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9get_param17hbc5677a1f664682cE+0x14): undefined reference to `GRBgetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:40:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17hc5de94764d50f6ebE+0x14): undefined reference to `GRBgetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:44:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8set_attr17hd1c928d990e67fd1E+0x13): undefined reference to `GRBsetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:55:(.text._ZN66_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17he24710fb9fc9e062E+0x14): undefined reference to `GRBgetdblattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:145:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17hf4cb41179482f6fbE+0x19): undefined reference to `GRBgetdblattrelement' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attrlist': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:163:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$12set_attrlist17hacb314f18bcdf5d4E+0x1d): undefined reference to `GRBsetdblattrlist' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/expr.rs:325:16 [INFO] [stdout] | [INFO] [stdout] 325 | fn sub(self, mut rhs: LinExpr) -> Self::Output { [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] [stderr] error: could not compile `gurobi` (example "mip") due to 1 previous error [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustch6mqNz/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgurobi-9c2b24176cbe96bb.rlib,libitertools-4c249a4179b858a2.rlib,libgurobi_sys-cea005e0b194a4d1.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustch6mqNz/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/callback-b2ff71756e74098f" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/callback-b2ff71756e74098f.callback.3e1d73dc1bea03ec-cgu.0.rcgu.o: in function `gurobi::model::Model::optimize_with_callback': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:517:(.text._ZN6gurobi5model5Model22optimize_with_callback17hdbfaa5971c46bc48E+0xd4): undefined reference to `GRBsetcallbackfunc' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:519:(.text._ZN6gurobi5model5Model22optimize_with_callback17hdbfaa5971c46bc48E+0x15c): undefined reference to `GRBoptimize' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:524:(.text._ZN6gurobi5model5Model22optimize_with_callback17hdbfaa5971c46bc48E+0x1e8): undefined reference to `GRBsetcallbackfunc' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::from_raw': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:299:(.text._ZN63_$LT$gurobi..model..Model$u20$as$u20$gurobi..model..FromRaw$GT$8from_raw17h5a42bb07f1d7bacdE+0x26): undefined reference to `GRBgetenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::read_from': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:363:(.text._ZN6gurobi5model5Model9read_from17hcdb9795c1f253d1aE+0x177): undefined reference to `GRBreadmodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::update': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:449:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x1a3): undefined reference to `GRBdelvars' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:454:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x382): undefined reference to `GRBdelconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:459:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x555): undefined reference to `GRBdelqconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:468:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x6e1): undefined reference to `GRBupdatemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:464:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x739): undefined reference to `GRBdelsos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::terminate': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:534:(.text._ZN6gurobi5model5Model9terminate17h45d098ace3ed6449E+0xb): undefined reference to `GRBterminate' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1307:(.text._ZN62_$LT$gurobi..model..Model$u20$as$u20$core..ops..drop..Drop$GT$4drop17h845575f0b65d2bb8E+0x14): undefined reference to `GRBfreemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::Env::new': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:27:(.text._ZN6gurobi3env3Env3new17h0b68d1bc7995f9c7E+0x136): undefined reference to `GRBloadenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:122:(.text._ZN58_$LT$gurobi..env..Env$u20$as$u20$core..ops..drop..Drop$GT$4drop17h23a410eeaab2b9ffE+0x23): undefined reference to `GRBfreeenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::get_error_msg': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:151:(.text._ZN6gurobi3env13get_error_msg17hd7492928375af33fE+0x22): undefined reference to `GRBgeterrormsg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:48:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9set_param17h83c2d7cf2c23603fE+0x13): undefined reference to `GRBsetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:63:(.text._ZN68_$LT$gurobi_sys..DoubleParam$u20$as$u20$gurobi..parameter..Param$GT$9set_param17hd1095dac8f1ec36aE+0x15): undefined reference to `GRBsetdblparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:40:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17hc5de94764d50f6ebE+0x14): undefined reference to `GRBgetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:55:(.text._ZN66_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17he24710fb9fc9e062E+0x14): undefined reference to `GRBgetdblattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:145:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17hf4cb41179482f6fbE+0x19): undefined reference to `GRBgetdblattrelement' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:215:(.text._ZN71_$LT$gurobi_sys..StringAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17h32e9e46312a44f83E+0x19): undefined reference to `GRBgetstrattrelement' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.6.rcgu.o): in function `gurobi::model::callback::Callback::set_solution': [INFO] [stdout] /opt/rustwide/workdir/src/callback.rs:320:(.text._ZN6gurobi5model8callback8Callback12set_solution17hd641c0b2a631520bE+0x2da): undefined reference to `GRBcbsolution' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.6.rcgu.o): in function `gurobi::model::callback::Callback::get_int': [INFO] [stdout] /opt/rustwide/workdir/src/callback.rs:360:(.text._ZN6gurobi5model8callback8Callback7get_int17h3a24286a23f96f73E+0x58): undefined reference to `GRBcbget' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.6.rcgu.o): in function `gurobi::model::callback::Callback::get_double': [INFO] [stdout] /opt/rustwide/workdir/src/callback.rs:365:(.text._ZN6gurobi5model8callback8Callback10get_double17h2a93fb2791dc33f0E+0x57): undefined reference to `GRBcbget' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.6.rcgu.o): in function `gurobi::model::callback::Callback::get_double_array': [INFO] [stdout] /opt/rustwide/workdir/src/callback.rs:370:(.text._ZN6gurobi5model8callback8Callback16get_double_array17h3b4526a0d61b775fE+0xd0): undefined reference to `GRBcbget' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.6.rcgu.o): in function `gurobi::model::callback::Callback::get_string': [INFO] [stdout] /opt/rustwide/workdir/src/callback.rs:375:(.text._ZN6gurobi5model8callback8Callback10get_string17h8181a335fc368da2E+0x57): undefined reference to `GRBcbget' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcSHvw06/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgurobi-9c2b24176cbe96bb.rlib,libitertools-4c249a4179b858a2.rlib,libgurobi_sys-cea005e0b194a4d1.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcSHvw06/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/workforce3-803e0478f1dc048b" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::from_raw': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:299:(.text._ZN63_$LT$gurobi..model..Model$u20$as$u20$gurobi..model..FromRaw$GT$8from_raw17h5a42bb07f1d7bacdE+0x26): undefined reference to `GRBgetenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::new': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:346:(.text._ZN6gurobi5model5Model3new17h30cebe1bb946782cE+0x1a4): undefined reference to `GRBnewmodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::copy': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:369:(.text._ZN6gurobi5model5Model4copy17hfbd30b87220e8ea9E+0x18): undefined reference to `GRBcopymodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::update': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:449:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x1a3): undefined reference to `GRBdelvars' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:454:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x382): undefined reference to `GRBdelconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:459:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x555): undefined reference to `GRBdelqconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:468:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x6e1): undefined reference to `GRBupdatemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:464:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x739): undefined reference to `GRBdelsos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::optimize': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:498:(.text._ZN6gurobi5model5Model8optimize17h5746f87614eb6034E+0x8a): undefined reference to `GRBoptimize' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_var': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:619:(.text._ZN6gurobi5model5Model7add_var17h101fe8c0b02d28c5E+0x475): undefined reference to `GRBaddvar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_constr': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:728:(.text._ZN6gurobi5model5Model10add_constr17h29dd84dabdb26451E+0x375): undefined reference to `GRBaddconstr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::feas_relax': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1148:(.text._ZN6gurobi5model5Model10feas_relax17h084877d1e1b63090E+0x6dc): undefined reference to `GRBfeasrelax' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1280:(.text._ZN6gurobi5model5Model11add_qpterms17hfa2d9c33c5849545E+0xa2): undefined reference to `GRBaddqpterms' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::del_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1291:(.text._ZN6gurobi5model5Model11del_qpterms17h68715ffb664d9de3E+0x24): undefined reference to `GRBdelq' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1307:(.text._ZN62_$LT$gurobi..model..Model$u20$as$u20$core..ops..drop..Drop$GT$4drop17h845575f0b65d2bb8E+0x14): undefined reference to `GRBfreemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::Env::new': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:27:(.text._ZN6gurobi3env3Env3new17h0b68d1bc7995f9c7E+0x136): undefined reference to `GRBloadenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:122:(.text._ZN58_$LT$gurobi..env..Env$u20$as$u20$core..ops..drop..Drop$GT$4drop17h23a410eeaab2b9ffE+0x23): undefined reference to `GRBfreeenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::get_error_msg': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:151:(.text._ZN6gurobi3env13get_error_msg17hd7492928375af33fE+0x22): undefined reference to `GRBgeterrormsg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:44:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9get_param17hbc5677a1f664682cE+0x14): undefined reference to `GRBgetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:48:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9set_param17h83c2d7cf2c23603fE+0x13): undefined reference to `GRBsetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:40:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17hc5de94764d50f6ebE+0x14): undefined reference to `GRBgetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:44:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8set_attr17hd1c928d990e67fd1E+0x13): undefined reference to `GRBsetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:74:(.text._ZN66_$LT$gurobi_sys..StringAttr$u20$as$u20$gurobi..attribute..Attr$GT$8set_attr17hf141905ddd81fa68E+0x14): undefined reference to `GRBsetstrattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:145:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17hf4cb41179482f6fbE+0x19): undefined reference to `GRBgetdblattrelement' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attrlist': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:163:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$12set_attrlist17hacb314f18bcdf5d4E+0x1d): undefined reference to `GRBsetdblattrlist' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:215:(.text._ZN71_$LT$gurobi_sys..StringAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17h32e9e46312a44f83E+0x19): undefined reference to `GRBgetstrattrelement' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gurobi` (example "callback") due to 1 previous error; 3 warnings emitted [INFO] [stderr] error: could not compile `gurobi` (example "workforce3") due to 1 previous error; 5 warnings emitted [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:254:7 [INFO] [stdout] | [INFO] [stdout] 254 | let mut usrdata = unsafe { transmute::<_, &mut CallbackData>(usrdata) }; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/model.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | for (i, mut elem) in vec.iter_mut().enumerate() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc9xE56C/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgurobi-9c2b24176cbe96bb.rlib,libitertools-4c249a4179b858a2.rlib,libgurobi_sys-cea005e0b194a4d1.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc9xE56C/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/piecewise-d5bf167ba707f833" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::from_raw': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:299:(.text._ZN63_$LT$gurobi..model..Model$u20$as$u20$gurobi..model..FromRaw$GT$8from_raw17h5a42bb07f1d7bacdE+0x26): undefined reference to `GRBgetenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::new': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:346:(.text._ZN6gurobi5model5Model3new17h30cebe1bb946782cE+0x1a4): undefined reference to `GRBnewmodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::update': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:449:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x1a3): undefined reference to `GRBdelvars' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:454:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x382): undefined reference to `GRBdelconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:459:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x555): undefined reference to `GRBdelqconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:468:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x6e1): undefined reference to `GRBupdatemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:464:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x739): undefined reference to `GRBdelsos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::optimize': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:498:(.text._ZN6gurobi5model5Model8optimize17h5746f87614eb6034E+0x8a): undefined reference to `GRBoptimize' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_var': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:619:(.text._ZN6gurobi5model5Model7add_var17h101fe8c0b02d28c5E+0x475): undefined reference to `GRBaddvar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_constr': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:728:(.text._ZN6gurobi5model5Model10add_constr17h29dd84dabdb26451E+0x375): undefined reference to `GRBaddconstr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::set_pwl_obj': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1201:(.text._ZN6gurobi5model5Model11set_pwl_obj17hcce60b6230886fadE+0xd2): undefined reference to `GRBsetpwlobj' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1307:(.text._ZN62_$LT$gurobi..model..Model$u20$as$u20$core..ops..drop..Drop$GT$4drop17h845575f0b65d2bb8E+0x14): undefined reference to `GRBfreemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::Env::new': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:27:(.text._ZN6gurobi3env3Env3new17h0b68d1bc7995f9c7E+0x136): undefined reference to `GRBloadenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:122:(.text._ZN58_$LT$gurobi..env..Env$u20$as$u20$core..ops..drop..Drop$GT$4drop17h23a410eeaab2b9ffE+0x23): undefined reference to `GRBfreeenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::get_error_msg': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:151:(.text._ZN6gurobi3env13get_error_msg17hd7492928375af33fE+0x22): undefined reference to `GRBgeterrormsg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:44:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9get_param17hbc5677a1f664682cE+0x14): undefined reference to `GRBgetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:40:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17hc5de94764d50f6ebE+0x14): undefined reference to `GRBgetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:55:(.text._ZN66_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17he24710fb9fc9e062E+0x14): undefined reference to `GRBgetdblattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:145:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17hf4cb41179482f6fbE+0x19): undefined reference to `GRBgetdblattrelement' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:151:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15set_attrelement17h1a2352419861d046E+0x1a): undefined reference to `GRBsetdblattrelement' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:215:(.text._ZN71_$LT$gurobi_sys..StringAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17h32e9e46312a44f83E+0x19): undefined reference to `GRBgetstrattrelement' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcgnMENr/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgurobi-9c2b24176cbe96bb.rlib,libitertools-4c249a4179b858a2.rlib,libgurobi_sys-cea005e0b194a4d1.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcgnMENr/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/workforce2-ee75204b4de58fbb" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::from_raw': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:299:(.text._ZN63_$LT$gurobi..model..Model$u20$as$u20$gurobi..model..FromRaw$GT$8from_raw17h5a42bb07f1d7bacdE+0x26): undefined reference to `GRBgetenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::new': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:346:(.text._ZN6gurobi5model5Model3new17h30cebe1bb946782cE+0x1a4): undefined reference to `GRBnewmodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::update': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:449:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x1a3): undefined reference to `GRBdelvars' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:454:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x382): undefined reference to `GRBdelconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:459:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x555): undefined reference to `GRBdelqconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:468:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x6e1): undefined reference to `GRBupdatemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:464:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x739): undefined reference to `GRBdelsos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::optimize': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:498:(.text._ZN6gurobi5model5Model8optimize17h5746f87614eb6034E+0x8a): undefined reference to `GRBoptimize' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::compute_iis': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:531:(.text._ZN6gurobi5model5Model11compute_iis17h7f7addf387fc3819E+0x1e): undefined reference to `GRBcomputeIIS' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_var': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:619:(.text._ZN6gurobi5model5Model7add_var17h101fe8c0b02d28c5E+0x475): undefined reference to `GRBaddvar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_constr': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:728:(.text._ZN6gurobi5model5Model10add_constr17h29dd84dabdb26451E+0x375): undefined reference to `GRBaddconstr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1280:(.text._ZN6gurobi5model5Model11add_qpterms17hfa2d9c33c5849545E+0xa2): undefined reference to `GRBaddqpterms' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::del_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1291:(.text._ZN6gurobi5model5Model11del_qpterms17h68715ffb664d9de3E+0x24): undefined reference to `GRBdelq' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1307:(.text._ZN62_$LT$gurobi..model..Model$u20$as$u20$core..ops..drop..Drop$GT$4drop17h845575f0b65d2bb8E+0x14): undefined reference to `GRBfreemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::Env::new': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:27:(.text._ZN6gurobi3env3Env3new17h0b68d1bc7995f9c7E+0x136): undefined reference to `GRBloadenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:122:(.text._ZN58_$LT$gurobi..env..Env$u20$as$u20$core..ops..drop..Drop$GT$4drop17h23a410eeaab2b9ffE+0x23): undefined reference to `GRBfreeenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::get_error_msg': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:151:(.text._ZN6gurobi3env13get_error_msg17hd7492928375af33fE+0x22): undefined reference to `GRBgeterrormsg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:44:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9get_param17hbc5677a1f664682cE+0x14): undefined reference to `GRBgetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:48:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9set_param17h83c2d7cf2c23603fE+0x13): undefined reference to `GRBsetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:40:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17hc5de94764d50f6ebE+0x14): undefined reference to `GRBgetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:44:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8set_attr17hd1c928d990e67fd1E+0x13): undefined reference to `GRBsetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:115:(.text._ZN68_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17h1bab573a789a76afE+0x19): undefined reference to `GRBgetintattrelement' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attrlist': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:163:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$12set_attrlist17hacb314f18bcdf5d4E+0x1d): undefined reference to `GRBsetdblattrlist' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:215:(.text._ZN71_$LT$gurobi_sys..StringAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17h32e9e46312a44f83E+0x19): undefined reference to `GRBgetstrattrelement' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gurobi` (example "piecewise") due to 1 previous error; 6 warnings emitted [INFO] [stderr] error: could not compile `gurobi` (example "workforce2") due to 1 previous error; 5 warnings emitted [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/model.rs:1112:21 [INFO] [stdout] | [INFO] [stdout] 1112 | pub fn feas_relax(&mut self, relaxtype: RelaxType, minrelax: bool, vars: &[Var], lbpen: &[f64], ubpen: &[f64], [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 1113 | constrs: &[Constr], rhspen: &[f64]) [INFO] [stdout] 1114 | -> Result<(f64, Iter, Iter, Iter)> { [INFO] [stdout] | --------- ------------ ------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | the lifetimes get resolved as `'_` [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] 1114 | -> Result<(f64, Iter<'_, Var>, Iter<'_, Constr>, Iter<'_, QConstr>)> { [INFO] [stdout] | +++ +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/model.rs:1214:19 [INFO] [stdout] | [INFO] [stdout] 1214 | pub fn get_vars(&self) -> Iter { self.vars.iter() } [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1214 | pub fn get_vars(&self) -> Iter<'_, Var> { self.vars.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/model.rs:1217:22 [INFO] [stdout] | [INFO] [stdout] 1217 | pub fn get_constrs(&self) -> Iter { self.constrs.iter() } [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1217 | pub fn get_constrs(&self) -> Iter<'_, Constr> { self.constrs.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/model.rs:1220:23 [INFO] [stdout] | [INFO] [stdout] 1220 | pub fn get_qconstrs(&self) -> Iter { self.qconstrs.iter() } [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1220 | pub fn get_qconstrs(&self) -> Iter<'_, QConstr> { self.qconstrs.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/model.rs:1223:18 [INFO] [stdout] | [INFO] [stdout] 1223 | pub fn get_sos(&self) -> Iter { self.sos.iter() } [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1223 | pub fn get_sos(&self) -> Iter<'_, SOS> { self.sos.iter() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustccvwFIc/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libgurobi-9c2b24176cbe96bb.rlib,libitertools-4c249a4179b858a2.rlib,libgurobi_sys-cea005e0b194a4d1.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustccvwFIc/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/workforce1-8de4838e497cfeb2" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::from_raw': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:299:(.text._ZN63_$LT$gurobi..model..Model$u20$as$u20$gurobi..model..FromRaw$GT$8from_raw17h5a42bb07f1d7bacdE+0x26): undefined reference to `GRBgetenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::new': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:346:(.text._ZN6gurobi5model5Model3new17h30cebe1bb946782cE+0x1a4): undefined reference to `GRBnewmodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::update': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:449:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x1a3): undefined reference to `GRBdelvars' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:454:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x382): undefined reference to `GRBdelconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:459:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x555): undefined reference to `GRBdelqconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:468:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x6e1): undefined reference to `GRBupdatemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:464:(.text._ZN6gurobi5model5Model6update17h65c153aff3890ecbE+0x739): undefined reference to `GRBdelsos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::optimize': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:498:(.text._ZN6gurobi5model5Model8optimize17h5746f87614eb6034E+0x8a): undefined reference to `GRBoptimize' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::compute_iis': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:531:(.text._ZN6gurobi5model5Model11compute_iis17h7f7addf387fc3819E+0x1e): undefined reference to `GRBcomputeIIS' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_var': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:619:(.text._ZN6gurobi5model5Model7add_var17h101fe8c0b02d28c5E+0x475): undefined reference to `GRBaddvar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_constr': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:728:(.text._ZN6gurobi5model5Model10add_constr17h29dd84dabdb26451E+0x375): undefined reference to `GRBaddconstr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::add_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1280:(.text._ZN6gurobi5model5Model11add_qpterms17hfa2d9c33c5849545E+0xa2): undefined reference to `GRBaddqpterms' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `gurobi::model::Model::del_qpterms': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1291:(.text._ZN6gurobi5model5Model11del_qpterms17h68715ffb664d9de3E+0x24): undefined reference to `GRBdelq' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.3.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1307:(.text._ZN62_$LT$gurobi..model..Model$u20$as$u20$core..ops..drop..Drop$GT$4drop17h845575f0b65d2bb8E+0x14): undefined reference to `GRBfreemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::Env::new': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:27:(.text._ZN6gurobi3env3Env3new17h0b68d1bc7995f9c7E+0x136): undefined reference to `GRBloadenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:122:(.text._ZN58_$LT$gurobi..env..Env$u20$as$u20$core..ops..drop..Drop$GT$4drop17h23a410eeaab2b9ffE+0x23): undefined reference to `GRBfreeenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.4.rcgu.o): in function `gurobi::env::get_error_msg': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:151:(.text._ZN6gurobi3env13get_error_msg17hd7492928375af33fE+0x22): undefined reference to `GRBgeterrormsg' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:44:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9get_param17hbc5677a1f664682cE+0x14): undefined reference to `GRBgetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:48:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9set_param17h83c2d7cf2c23603fE+0x13): undefined reference to `GRBsetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:40:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17hc5de94764d50f6ebE+0x14): undefined reference to `GRBgetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:44:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8set_attr17hd1c928d990e67fd1E+0x13): undefined reference to `GRBsetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:115:(.text._ZN68_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17h1bab573a789a76afE+0x19): undefined reference to `GRBgetintattrelement' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::set_attrlist': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:163:(.text._ZN71_$LT$gurobi_sys..DoubleAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$12set_attrlist17hacb314f18bcdf5d4E+0x1d): undefined reference to `GRBsetdblattrlist' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgurobi-9c2b24176cbe96bb.rlib(gurobi-9c2b24176cbe96bb.gurobi.d5755f0e4671e49e-cgu.5.rcgu.o): in function `::get_attrelement': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:215:(.text._ZN71_$LT$gurobi_sys..StringAttr$u20$as$u20$gurobi..attribute..AttrArray$GT$15get_attrelement17h32e9e46312a44f83E+0x19): undefined reference to `GRBgetstrattrelement' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gurobi` (example "workforce1") due to 1 previous error; 5 warnings emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcAM2113/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libitertools-4c249a4179b858a2.rlib,libgurobi_sys-cea005e0b194a4d1.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcAM2113/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gurobi-3ce88b344f27b35f" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gurobi-3ce88b344f27b35f.gurobi.2fd536a1df9eb8a6-cgu.0.rcgu.o: in function `::get_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:44:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9get_param17he8b59701022e2f54E+0x14): undefined reference to `GRBgetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gurobi-3ce88b344f27b35f.gurobi.2fd536a1df9eb8a6-cgu.0.rcgu.o: in function `::set_param': [INFO] [stdout] /opt/rustwide/workdir/src/param.rs:48:(.text._ZN65_$LT$gurobi_sys..IntParam$u20$as$u20$gurobi..parameter..Param$GT$9set_param17h261c1957c72df876E+0x13): undefined reference to `GRBsetintparam' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gurobi-3ce88b344f27b35f.gurobi.2fd536a1df9eb8a6-cgu.0.rcgu.o: in function `::get_attr': [INFO] [stdout] /opt/rustwide/workdir/src/attr.rs:40:(.text._ZN63_$LT$gurobi_sys..IntAttr$u20$as$u20$gurobi..attribute..Attr$GT$8get_attr17h72b137302455d6e2E+0x14): undefined reference to `GRBgetintattr' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gurobi-3ce88b344f27b35f.gurobi.2fd536a1df9eb8a6-cgu.1.rcgu.o: in function `::from_raw': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:299:(.text._ZN63_$LT$gurobi..model..Model$u20$as$u20$gurobi..model..FromRaw$GT$8from_raw17h2defdd13d1b212d3E+0x26): undefined reference to `GRBgetenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gurobi-3ce88b344f27b35f.gurobi.2fd536a1df9eb8a6-cgu.1.rcgu.o: in function `gurobi::model::Model::new': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:346:(.text._ZN6gurobi5model5Model3new17h13c5622e3372d65eE+0x19b): undefined reference to `GRBnewmodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gurobi-3ce88b344f27b35f.gurobi.2fd536a1df9eb8a6-cgu.1.rcgu.o: in function `gurobi::model::Model::update': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:449:(.text._ZN6gurobi5model5Model6update17hcfb535cd519f43b3E+0x18b): undefined reference to `GRBdelvars' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:454:(.text._ZN6gurobi5model5Model6update17hcfb535cd519f43b3E+0x34e): undefined reference to `GRBdelconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:459:(.text._ZN6gurobi5model5Model6update17hcfb535cd519f43b3E+0x505): undefined reference to `GRBdelqconstrs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:468:(.text._ZN6gurobi5model5Model6update17hcfb535cd519f43b3E+0x67d): undefined reference to `GRBupdatemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/workdir/src/model.rs:464:(.text._ZN6gurobi5model5Model6update17hcfb535cd519f43b3E+0x6cd): undefined reference to `GRBdelsos' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gurobi-3ce88b344f27b35f.gurobi.2fd536a1df9eb8a6-cgu.1.rcgu.o: in function `gurobi::model::Model::add_var': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:619:(.text._ZN6gurobi5model5Model7add_var17hea1c1d22f47faad0E+0x449): undefined reference to `GRBaddvar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gurobi-3ce88b344f27b35f.gurobi.2fd536a1df9eb8a6-cgu.1.rcgu.o: in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/model.rs:1307:(.text._ZN62_$LT$gurobi..model..Model$u20$as$u20$core..ops..drop..Drop$GT$4drop17hade2e9667b459254E+0x14): undefined reference to `GRBfreemodel' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gurobi-3ce88b344f27b35f.gurobi.2fd536a1df9eb8a6-cgu.2.rcgu.o: in function `gurobi::env::Env::new': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:27:(.text._ZN6gurobi3env3Env3new17hb256b075772d28f1E+0x131): undefined reference to `GRBloadenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gurobi-3ce88b344f27b35f.gurobi.2fd536a1df9eb8a6-cgu.2.rcgu.o: in function `::drop': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:122:(.text._ZN58_$LT$gurobi..env..Env$u20$as$u20$core..ops..drop..Drop$GT$4drop17hf8c495cc94d0eb34E+0x23): undefined reference to `GRBfreeenv' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/gurobi-3ce88b344f27b35f.gurobi.2fd536a1df9eb8a6-cgu.2.rcgu.o: in function `gurobi::env::get_error_msg': [INFO] [stdout] /opt/rustwide/workdir/src/env.rs:151:(.text._ZN6gurobi3env13get_error_msg17h8af9ced88a1ab382E+0x22): undefined reference to `GRBgeterrormsg' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gurobi` (lib test) due to 1 previous error; 138 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5a2e64971ed182ede1488c1c2b613036ce0efeabbbe9d2b734c01a31f5cad118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a2e64971ed182ede1488c1c2b613036ce0efeabbbe9d2b734c01a31f5cad118", kill_on_drop: false }` [INFO] [stdout] 5a2e64971ed182ede1488c1c2b613036ce0efeabbbe9d2b734c01a31f5cad118