[INFO] fetching crate gosh-lbfgs 0.1.0... [INFO] checking gosh-lbfgs-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate gosh-lbfgs 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate gosh-lbfgs 0.1.0 [INFO] finished tweaking crates.io crate gosh-lbfgs 0.1.0 [INFO] tweaked toml for crates.io crate gosh-lbfgs 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gosh-lbfgs 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gosh-lbfgs 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d10907bf45b0b1415c3445df5e3150ac79832efe8b9127dc3716b0922dfaf51c [INFO] running `Command { std: "docker" "start" "-a" "d10907bf45b0b1415c3445df5e3150ac79832efe8b9127dc3716b0922dfaf51c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d10907bf45b0b1415c3445df5e3150ac79832efe8b9127dc3716b0922dfaf51c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d10907bf45b0b1415c3445df5e3150ac79832efe8b9127dc3716b0922dfaf51c", kill_on_drop: false }` [INFO] [stdout] d10907bf45b0b1415c3445df5e3150ac79832efe8b9127dc3716b0922dfaf51c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11d75a9ce9516ccd3bd5aa64ae45c113d2faa6f6d355d0ad7b9fb89f9e712026 [INFO] running `Command { std: "docker" "start" "-a" "11d75a9ce9516ccd3bd5aa64ae45c113d2faa6f6d355d0ad7b9fb89f9e712026", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.94 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking os_str_bytes v6.0.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Checking shared_child v0.3.5 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking duct v0.13.5 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking vecfx v0.1.5 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking gchemol-gut v0.3.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking gosh-linesearch v0.1.0 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Checking gosh-lbfgs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::line::*` [INFO] [stdout] --> src/base.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::line::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::*` [INFO] [stdout] --> src/line.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | use crate::math::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::*` [INFO] [stdout] --> src/line_new.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | use crate::math::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | use crate::lbfgs::Lbfgs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Lbfgs` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub use crate::lbfgs::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | use crate::lbfgs::Lbfgs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `evaluated` and `clone_from` are never used [INFO] [stdout] --> src/base.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl<'a, U> Problem<'a, U> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn evaluated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn clone_from(&mut self, src: &Problem) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pf` is never read [INFO] [stdout] --> src/lbfgs.rs:735:5 [INFO] [stdout] | [INFO] [stdout] 722 | pub struct LbfgsState<'a, E> [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 735 | pf: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `satisfying_max_gnorm` is never used [INFO] [stdout] --> src/lbfgs.rs:1058:4 [INFO] [stdout] | [INFO] [stdout] 1058 | fn satisfying_max_gnorm(prgr: &Progress, max_gnorm: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `satisfying_delta` is never used [INFO] [stdout] --> src/lbfgs.rs:1074:4 [INFO] [stdout] | [INFO] [stdout] 1074 | fn satisfying_delta<'a>(prgr: &Progress, pf: &'a mut [f64], delta: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pf` is never read [INFO] [stdout] --> src/lbfgs_iter.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 393 | pub struct LbfgsState<'a, U> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 403 | pf: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lbfgs.rs:814:22 [INFO] [stdout] | [INFO] [stdout] 814 | pub fn propagate(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 814 | pub fn propagate(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lbfgs.rs:865:21 [INFO] [stdout] | [INFO] [stdout] 865 | fn get_progress(&self) -> Progress { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 865 | fn get_progress(&self) -> Progress<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lbfgs_iter.rs:412:18 [INFO] [stdout] | [INFO] [stdout] 412 | fn propagate(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 412 | fn propagate(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lbfgs_iter.rs:490:21 [INFO] [stdout] | [INFO] [stdout] 490 | fn get_progress(&self) -> Progress { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 490 | fn get_progress(&self) -> Progress<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `liblbfgs` [INFO] [stdout] --> examples/lj.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | use liblbfgs::{lbfgs, Progress}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `liblbfgs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `liblbfgs`, use `cargo add liblbfgs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `liblbfgs` [INFO] [stdout] --> examples/sample.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use liblbfgs::{lbfgs, Progress}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `liblbfgs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `liblbfgs`, use `cargo add liblbfgs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `liblbfgs` [INFO] [stdout] --> benches/rosenbrock.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use liblbfgs::lbfgs; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `liblbfgs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `liblbfgs`, use `cargo add liblbfgs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gosh-lbfgs` (example "sample") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gosh-lbfgs` (bench "rosenbrock") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `liblbfgs` [INFO] [stdout] --> tests/rosenbrock.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | use liblbfgs::{default_evaluate, default_progress, lbfgs, Progress}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `liblbfgs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `liblbfgs`, use `cargo add liblbfgs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `liblbfgs` [INFO] [stdout] --> examples/lj.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | let steps = liblbfgs::lbfgs_iter() [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `liblbfgs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `liblbfgs`, use `cargo add liblbfgs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::line::*` [INFO] [stdout] --> src/base.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::line::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::*` [INFO] [stdout] --> src/line.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | use crate::math::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::*` [INFO] [stdout] --> src/line_new.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | use crate::math::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gosh-lbfgs` (example "lj") due to 3 previous errors [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | use crate::lbfgs::Lbfgs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `Lbfgs` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub use crate::lbfgs::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | use crate::lbfgs::Lbfgs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gosh-lbfgs` (test "rosenbrock") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `liblbfgs` [INFO] [stdout] --> examples/lj.rs:150:61 [INFO] [stdout] | [INFO] [stdout] 150 | .minimize(positions.to_vec(), |x: &[f64], out: &mut liblbfgs::Output| { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `liblbfgs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `liblbfgs`, use `cargo add liblbfgs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: methods `evaluated` and `clone_from` are never used [INFO] [stdout] --> src/base.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl<'a, U> Problem<'a, U> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn evaluated(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn clone_from(&mut self, src: &Problem) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pf` is never read [INFO] [stdout] --> src/lbfgs.rs:735:5 [INFO] [stdout] | [INFO] [stdout] 722 | pub struct LbfgsState<'a, E> [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 735 | pf: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `satisfying_max_gnorm` is never used [INFO] [stdout] --> src/lbfgs.rs:1058:4 [INFO] [stdout] | [INFO] [stdout] 1058 | fn satisfying_max_gnorm(prgr: &Progress, max_gnorm: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `satisfying_delta` is never used [INFO] [stdout] --> src/lbfgs.rs:1074:4 [INFO] [stdout] | [INFO] [stdout] 1074 | fn satisfying_delta<'a>(prgr: &Progress, pf: &'a mut [f64], delta: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pf` is never read [INFO] [stdout] --> src/lbfgs_iter.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 393 | pub struct LbfgsState<'a, U> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 403 | pf: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lbfgs.rs:814:22 [INFO] [stdout] | [INFO] [stdout] 814 | pub fn propagate(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 814 | pub fn propagate(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lbfgs.rs:865:21 [INFO] [stdout] | [INFO] [stdout] 865 | fn get_progress(&self) -> Progress { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 865 | fn get_progress(&self) -> Progress<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lbfgs_iter.rs:412:18 [INFO] [stdout] | [INFO] [stdout] 412 | fn propagate(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 412 | fn propagate(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lbfgs_iter.rs:490:21 [INFO] [stdout] | [INFO] [stdout] 490 | fn get_progress(&self) -> Progress { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 490 | fn get_progress(&self) -> Progress<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "11d75a9ce9516ccd3bd5aa64ae45c113d2faa6f6d355d0ad7b9fb89f9e712026", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11d75a9ce9516ccd3bd5aa64ae45c113d2faa6f6d355d0ad7b9fb89f9e712026", kill_on_drop: false }` [INFO] [stdout] 11d75a9ce9516ccd3bd5aa64ae45c113d2faa6f6d355d0ad7b9fb89f9e712026