[INFO] fetching crate gosh-lbfgs 0.1.0... [INFO] testing gosh-lbfgs-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate gosh-lbfgs 0.1.0 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gosh-lbfgs 0.1.0 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 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shell-escape v0.1.5 [INFO] [stderr] Downloaded os_str_bytes v6.0.1 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.80 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.80 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.80 [INFO] [stderr] Downloaded semver v1.0.9 [INFO] [stderr] Downloaded plotters-backend v0.3.2 [INFO] [stderr] Downloaded plotters-svg v0.3.1 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Downloaded syn v1.0.94 [INFO] [stderr] Downloaded gosh-linesearch v0.1.0 [INFO] [stderr] Downloaded js-sys v0.3.57 [INFO] [stderr] Downloaded wasm-bindgen v0.2.80 [INFO] [stderr] Downloaded vecfx v0.1.5 [INFO] [stderr] Downloaded gchemol-gut v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c07c92686d5ef7203f0af7a6664210ac8254f19857eb837c083f05e92cd2273a [INFO] running `Command { std: "docker" "start" "-a" "c07c92686d5ef7203f0af7a6664210ac8254f19857eb837c083f05e92cd2273a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c07c92686d5ef7203f0af7a6664210ac8254f19857eb837c083f05e92cd2273a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c07c92686d5ef7203f0af7a6664210ac8254f19857eb837c083f05e92cd2273a", kill_on_drop: false }` [INFO] [stdout] c07c92686d5ef7203f0af7a6664210ac8254f19857eb837c083f05e92cd2273a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 787892728cf86260bbdb523c71c615cfa76df992ce1fd1786713993f977bb5c2 [INFO] running `Command { std: "docker" "start" "-a" "787892728cf86260bbdb523c71c615cfa76df992ce1fd1786713993f977bb5c2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.125 [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 cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling os_str_bytes v6.0.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling os_pipe v0.9.2 [INFO] [stderr] Compiling shared_child v0.3.5 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling duct v0.13.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling gchemol-gut v0.3.0 [INFO] [stderr] Compiling gosh-linesearch v0.1.0 [INFO] [stderr] Compiling 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lbfgs.rs:814:22 [INFO] [stdout] | [INFO] [stdout] 814 | pub fn propagate(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 814 | pub fn propagate(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lbfgs.rs:865:21 [INFO] [stdout] | [INFO] [stdout] 865 | fn get_progress(&self) -> Progress { [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] 865 | fn get_progress(&self) -> Progress<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lbfgs_iter.rs:412:18 [INFO] [stdout] | [INFO] [stdout] 412 | fn propagate(&mut self) -> Result { [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] 412 | fn propagate(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lbfgs_iter.rs:490:21 [INFO] [stdout] | [INFO] [stdout] 490 | fn get_progress(&self) -> Progress { [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] 490 | fn get_progress(&self) -> Progress<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.02s [INFO] running `Command { std: "docker" "inspect" "787892728cf86260bbdb523c71c615cfa76df992ce1fd1786713993f977bb5c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "787892728cf86260bbdb523c71c615cfa76df992ce1fd1786713993f977bb5c2", kill_on_drop: false }` [INFO] [stdout] 787892728cf86260bbdb523c71c615cfa76df992ce1fd1786713993f977bb5c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] da14e0025990b724ad49d2e4f34af31b5a0954d93fe72cff6b01e2e54846a364 [INFO] running `Command { std: "docker" "start" "-a" "da14e0025990b724ad49d2e4f34af31b5a0954d93fe72cff6b01e2e54846a364", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling tinytemplate v1.2.1 [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lbfgs.rs:814:22 [INFO] [stdout] | [INFO] [stdout] 814 | pub fn propagate(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 814 | pub fn propagate(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lbfgs.rs:865:21 [INFO] [stdout] | [INFO] [stdout] 865 | fn get_progress(&self) -> Progress { [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] 865 | fn get_progress(&self) -> Progress<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lbfgs_iter.rs:412:18 [INFO] [stdout] | [INFO] [stdout] 412 | fn propagate(&mut self) -> Result { [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] 412 | fn propagate(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lbfgs_iter.rs:490:21 [INFO] [stdout] | [INFO] [stdout] 490 | fn get_progress(&self) -> Progress { [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] 490 | fn get_progress(&self) -> Progress<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling vecfx v0.1.5 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling gosh-lbfgs v0.1.0 (/opt/rustwide/workdir) [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] 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] [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] --> 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] 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] For more information about this error, try `rustc --explain E0432`. [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: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] 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] [stderr] error: could not compile `gosh-lbfgs` (example "lj") due to 3 previous errors [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lbfgs.rs:814:22 [INFO] [stdout] | [INFO] [stdout] 814 | pub fn propagate(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 814 | pub fn propagate(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lbfgs.rs:865:21 [INFO] [stdout] | [INFO] [stdout] 865 | fn get_progress(&self) -> Progress { [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] 865 | fn get_progress(&self) -> Progress<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lbfgs_iter.rs:412:18 [INFO] [stdout] | [INFO] [stdout] 412 | fn propagate(&mut self) -> Result { [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] 412 | fn propagate(&mut self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lbfgs_iter.rs:490:21 [INFO] [stdout] | [INFO] [stdout] 490 | fn get_progress(&self) -> Progress { [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] 490 | fn get_progress(&self) -> Progress<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "da14e0025990b724ad49d2e4f34af31b5a0954d93fe72cff6b01e2e54846a364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da14e0025990b724ad49d2e4f34af31b5a0954d93fe72cff6b01e2e54846a364", kill_on_drop: false }` [INFO] [stdout] da14e0025990b724ad49d2e4f34af31b5a0954d93fe72cff6b01e2e54846a364