[INFO] fetching crate optimax 0.1.3... [INFO] testing optimax-0.1.3 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate optimax 0.1.3 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate optimax 0.1.3 [INFO] finished tweaking crates.io crate optimax 0.1.3 [INFO] tweaked toml for crates.io crate optimax 0.1.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate optimax 0.1.3 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding finitediff v0.1.4 (available: v0.2.0) [INFO] [stderr] Adding nalgebra v0.32.6 (available: v0.34.1) [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.16.1) [INFO] [stderr] Adding ndarray-linalg v0.16.0 (available: v0.17.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_chacha v0.3.1 (available: v0.9.0) [INFO] [stderr] Adding rand_distr v0.4.3 (available: v0.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nalgebra-macros v0.2.2 [INFO] [stderr] Downloaded lax v0.16.0 [INFO] [stderr] Downloaded ndarray-linalg v0.16.0 [INFO] [stderr] Downloaded approx v0.4.0 [INFO] [stderr] Downloaded wide v0.7.33 [INFO] [stderr] Downloaded finitediff v0.1.4 [INFO] [stderr] Downloaded cauchy v0.4.0 [INFO] [stderr] Downloaded katexit v0.1.5 [INFO] [stderr] Downloaded cblas-sys v0.1.4 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] [stderr] Downloaded lapack-sys v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 274baa568d3e580d2a44c21332ba6232979bac404133bc25642da2a78a2835cc [INFO] running `Command { std: "docker" "start" "-a" "274baa568d3e580d2a44c21332ba6232979bac404133bc25642da2a78a2835cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "274baa568d3e580d2a44c21332ba6232979bac404133bc25642da2a78a2835cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "274baa568d3e580d2a44c21332ba6232979bac404133bc25642da2a78a2835cc", kill_on_drop: false }` [INFO] [stdout] 274baa568d3e580d2a44c21332ba6232979bac404133bc25642da2a78a2835cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e93002da11421e83dc8ad0abd966c9968f910fdc614260a525923e47c03e49b4 [INFO] running `Command { std: "docker" "start" "-a" "e93002da11421e83dc8ad0abd966c9968f910fdc614260a525923e47c03e49b4", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling lapack-sys v0.14.0 [INFO] [stderr] Compiling cblas-sys v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling finitediff v0.1.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling katexit v0.1.5 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling cauchy v0.4.0 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling lax v0.16.0 [INFO] [stderr] Compiling ndarray-linalg v0.16.0 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling optimax v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.22s [INFO] running `Command { std: "docker" "inspect" "e93002da11421e83dc8ad0abd966c9968f910fdc614260a525923e47c03e49b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e93002da11421e83dc8ad0abd966c9968f910fdc614260a525923e47c03e49b4", kill_on_drop: false }` [INFO] [stdout] e93002da11421e83dc8ad0abd966c9968f910fdc614260a525923e47c03e49b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5918380030e749d5ba8bbb907ddf9e42ad0f217f741fe0b5aa29790b1758fed2 [INFO] running `Command { std: "docker" "start" "-a" "5918380030e749d5ba8bbb907ddf9e42ad0f217f741fe0b5aa29790b1758fed2", kill_on_drop: false }` [INFO] [stderr] Compiling optimax v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "5918380030e749d5ba8bbb907ddf9e42ad0f217f741fe0b5aa29790b1758fed2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5918380030e749d5ba8bbb907ddf9e42ad0f217f741fe0b5aa29790b1758fed2", kill_on_drop: false }` [INFO] [stdout] 5918380030e749d5ba8bbb907ddf9e42ad0f217f741fe0b5aa29790b1758fed2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 03721e3d538bf19ef423893341c46e18125bf3698ec2759cda0e5d98fe365456 [INFO] running `Command { std: "docker" "start" "-a" "03721e3d538bf19ef423893341c46e18125bf3698ec2759cda0e5d98fe365456", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/optimax-56b19234bc602641) [INFO] [stderr] Doc-tests optimax [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/gradient_descent.rs - gradient_descent::gradient_descent (line 6) ... FAILED [INFO] [stdout] test src/stochastic_annealing.rs - stochastic_annealing::stochastic_annealing (line 25) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/gradient_descent.rs - gradient_descent::gradient_descent (line 6) stdout ---- [INFO] [stdout] error[E0423]: expected function, found module `gradient_descent` [INFO] [stdout] --> src/gradient_descent.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 16 | let optimized_parameters = gradient_descent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 16 - let optimized_parameters = gradient_descent( [INFO] [stdout] 16 + let optimized_parameters: gradient_descent( [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use optimax::gradient_descent::gradient_descent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stochastic_annealing.rs - stochastic_annealing::stochastic_annealing (line 25) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `optimax::Solution` [INFO] [stdout] --> src/stochastic_annealing.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 5 | use optimax::{stochastic_annealing, Solution}; [INFO] [stdout] | ^^^^^^^^ no `Solution` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] optimax::stochastic_annealing::Solution [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `stochastic_annealing` [INFO] [stdout] --> src/stochastic_annealing.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 9 | let final_solution = stochastic_annealing(&objective_function, initial_solution, 100.0, 0.75); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to use `:` for type annotation [INFO] [stdout] | [INFO] [stdout] 9 - let final_solution = stochastic_annealing(&objective_function, initial_solution, 100.0, 0.75); [INFO] [stdout] 9 + let final_solution: stochastic_annealing(&objective_function, initial_solution, 100.0, 0.75); [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 2 + use optimax::stochastic_annealing::stochastic_annealing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/gradient_descent.rs - gradient_descent::gradient_descent (line 6) [INFO] [stdout] src/stochastic_annealing.rs - stochastic_annealing::stochastic_annealing (line 25) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "03721e3d538bf19ef423893341c46e18125bf3698ec2759cda0e5d98fe365456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03721e3d538bf19ef423893341c46e18125bf3698ec2759cda0e5d98fe365456", kill_on_drop: false }` [INFO] [stdout] 03721e3d538bf19ef423893341c46e18125bf3698ec2759cda0e5d98fe365456