[INFO] fetching crate varpro 0.13.3... [INFO] testing varpro-0.13.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate varpro 0.13.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate varpro 0.13.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate varpro 0.13.3 [INFO] tweaked toml for crates.io crate varpro 0.13.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate varpro 0.13.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate varpro 0.13.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be2a4966260db37e87d2db2eb6f3a45156380594091928ed9b0aec5a83823aa4 [INFO] running `Command { std: "docker" "start" "-a" "be2a4966260db37e87d2db2eb6f3a45156380594091928ed9b0aec5a83823aa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be2a4966260db37e87d2db2eb6f3a45156380594091928ed9b0aec5a83823aa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be2a4966260db37e87d2db2eb6f3a45156380594091928ed9b0aec5a83823aa4", kill_on_drop: false }` [INFO] [stdout] be2a4966260db37e87d2db2eb6f3a45156380594091928ed9b0aec5a83823aa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4871ac553db67fabd81e090191f25726743d250052a61e75e738fb4c84dc4e6 [INFO] running `Command { std: "docker" "start" "-a" "c4871ac553db67fabd81e090191f25726743d250052a61e75e738fb4c84dc4e6", kill_on_drop: false }` [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling distrs v0.2.2 [INFO] [stderr] Compiling levenberg-marquardt v0.14.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling simba v0.9.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling varpro v0.13.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fit.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn linear_coefficients(&self) -> Option> { [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] 45 | pub fn linear_coefficients(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fit.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn linear_coefficients(&self) -> Option> { [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] 73 | pub fn linear_coefficients(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/problem.rs:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn linear_coefficients(&self) -> Option> { [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] 142 | pub fn linear_coefficients(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/problem.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn weighted_data(&self) -> MatrixView { [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] 154 | pub fn weighted_data(&self) -> MatrixView<'_, Model::ScalarType, Dyn, Dyn> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/problem.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn linear_coefficients(&self) -> Option> { [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] 173 | pub fn linear_coefficients(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/problem.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn weighted_data(&self) -> VectorView { [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] 189 | pub fn weighted_data(&self) -> VectorView<'_, Model::ScalarType, Dyn> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.37s [INFO] running `Command { std: "docker" "inspect" "c4871ac553db67fabd81e090191f25726743d250052a61e75e738fb4c84dc4e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4871ac553db67fabd81e090191f25726743d250052a61e75e738fb4c84dc4e6", kill_on_drop: false }` [INFO] [stdout] c4871ac553db67fabd81e090191f25726743d250052a61e75e738fb4c84dc4e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66c669682b0ea06e65f3cbf81e1fd2c4366cfd987a005bba5c24143b138d89c5 [INFO] running `Command { std: "docker" "start" "-a" "66c669682b0ea06e65f3cbf81e1fd2c4366cfd987a005bba5c24143b138d89c5", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling symbolic-demangle v12.16.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling simba v0.9.1 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling quick-xml v0.26.0 [INFO] [stderr] Compiling symbolic-common v12.16.2 [INFO] [stderr] Compiling indexmap v2.11.3 [INFO] [stderr] Compiling pprof v0.13.0 [INFO] [stderr] Compiling str_stack v0.1.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling inferno v0.11.21 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling levenberg-marquardt v0.14.0 [INFO] [stderr] Compiling varpro v0.13.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fit.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn linear_coefficients(&self) -> Option> { [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] 45 | pub fn linear_coefficients(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fit.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn linear_coefficients(&self) -> Option> { [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] 73 | pub fn linear_coefficients(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/problem.rs:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn linear_coefficients(&self) -> Option> { [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] 142 | pub fn linear_coefficients(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/problem.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn weighted_data(&self) -> MatrixView { [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] 154 | pub fn weighted_data(&self) -> MatrixView<'_, Model::ScalarType, Dyn, Dyn> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/problem.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn linear_coefficients(&self) -> Option> { [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] 173 | pub fn linear_coefficients(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/problem.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn weighted_data(&self) -> VectorView { [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] 189 | pub fn weighted_data(&self) -> VectorView<'_, Model::ScalarType, Dyn> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shared_test_code` [INFO] [stdout] --> tests/integration_tests/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use shared_test_code::evaluate_complete_model_at_params; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `shared_test_code` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shared_test_code`, use `cargo add shared_test_code` 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 `shared_test_code` [INFO] [stdout] --> tests/integration_tests/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use shared_test_code::levmar_mrhs::DoubleExponentialModelWithConstantOffsetLevmarMrhs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `shared_test_code` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shared_test_code`, use `cargo add shared_test_code` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shared_test_code` [INFO] [stdout] --> tests/integration_tests/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use shared_test_code::get_double_exponential_model_with_constant_offset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `shared_test_code` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shared_test_code`, use `cargo add shared_test_code` 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 `shared_test_code` [INFO] [stdout] --> tests/integration_tests/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use shared_test_code::models::o_leary_example_model; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `shared_test_code` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shared_test_code`, use `cargo add shared_test_code` 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 `shared_test_code` [INFO] [stdout] --> tests/integration_tests/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use shared_test_code::models::DoubleExpModelWithConstantOffsetSepModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `shared_test_code` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shared_test_code`, use `cargo add shared_test_code` 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 `shared_test_code` [INFO] [stdout] --> tests/integration_tests/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use shared_test_code::models::DoubleExponentialDecayFittingWithOffsetLevmar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `shared_test_code` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shared_test_code`, use `cargo add shared_test_code` 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 `shared_test_code` [INFO] [stdout] --> tests/integration_tests/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use shared_test_code::models::OLearyExampleModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `shared_test_code` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shared_test_code`, use `cargo add shared_test_code` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shared_test_code` [INFO] [stdout] --> tests/integration_tests/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use shared_test_code::linspace; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `shared_test_code` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shared_test_code`, use `cargo add shared_test_code` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> tests/integration_tests/main.rs:434:36 [INFO] [stdout] | [INFO] [stdout] 434 | assert_relative_eq!(fit_result.best_fit().unwrap(), Y, epsilon = 1e-5); [INFO] [stdout] | ^^^^^^^^ multiple `best_fit` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `FitResult` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `FitResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> tests/integration_tests/main.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 446 | .linear_coefficients() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ multiple `linear_coefficients` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `FitResult` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `FitResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> tests/integration_tests/main.rs:511:36 [INFO] [stdout] | [INFO] [stdout] 511 | assert_relative_eq!(fit_result.best_fit().unwrap(), Y, epsilon = 1e-5); [INFO] [stdout] | ^^^^^^^^ multiple `best_fit` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `FitResult` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `FitResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> tests/integration_tests/main.rs:523:10 [INFO] [stdout] | [INFO] [stdout] 523 | .linear_coefficients() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ multiple `linear_coefficients` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `FitResult` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `FitResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `varpro` (test "integration_tests") due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fit.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn linear_coefficients(&self) -> Option> { [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] 45 | pub fn linear_coefficients(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fit.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn linear_coefficients(&self) -> Option> { [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] 73 | pub fn linear_coefficients(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/problem.rs:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn linear_coefficients(&self) -> Option> { [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] 142 | pub fn linear_coefficients(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/problem.rs:154:26 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn weighted_data(&self) -> MatrixView { [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] 154 | pub fn weighted_data(&self) -> MatrixView<'_, Model::ScalarType, Dyn, Dyn> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/problem.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn linear_coefficients(&self) -> Option> { [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] 173 | pub fn linear_coefficients(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/problem.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn weighted_data(&self) -> VectorView { [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] 189 | pub fn weighted_data(&self) -> VectorView<'_, Model::ScalarType, Dyn> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "66c669682b0ea06e65f3cbf81e1fd2c4366cfd987a005bba5c24143b138d89c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66c669682b0ea06e65f3cbf81e1fd2c4366cfd987a005bba5c24143b138d89c5", kill_on_drop: false }` [INFO] [stdout] 66c669682b0ea06e65f3cbf81e1fd2c4366cfd987a005bba5c24143b138d89c5