[INFO] fetching crate formulac 0.5.2... [INFO] checking formulac-0.5.2 against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] extracting crate formulac 0.5.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate formulac 0.5.2 [INFO] finished tweaking crates.io crate formulac 0.5.2 [INFO] tweaked toml for crates.io crate formulac 0.5.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate formulac 0.5.2 on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate formulac 0.5.2 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a534e084d9cf9482bd64d9feaa01499f6acd78bf6a2a6bc2c96bdbec1e81d1e [INFO] running `Command { std: "docker" "start" "-a" "3a534e084d9cf9482bd64d9feaa01499f6acd78bf6a2a6bc2c96bdbec1e81d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a534e084d9cf9482bd64d9feaa01499f6acd78bf6a2a6bc2c96bdbec1e81d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a534e084d9cf9482bd64d9feaa01499f6acd78bf6a2a6bc2c96bdbec1e81d1e", kill_on_drop: false }` [INFO] [stdout] 3a534e084d9cf9482bd64d9feaa01499f6acd78bf6a2a6bc2c96bdbec1e81d1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31399e43705adc002366b7ab0cf55b55384a675dedf8b6aee9a7f70f825887b9 [INFO] running `Command { std: "docker" "start" "-a" "31399e43705adc002366b7ab0cf55b55384a675dedf8b6aee9a7f70f825887b9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling phf_shared v0.13.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking clap_builder v4.5.49 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling phf_generator v0.13.1 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking clap v4.5.49 [INFO] [stderr] Checking criterion-plot v0.6.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling phf_macros v0.13.1 [INFO] [stderr] Checking formulac v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion v0.7.0 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 331 | ).with_derivative(vec![ [INFO] [stdout] | ___________________________^ [INFO] [stdout] 332 | | // partial derivative w.r.t x: ∂g/∂x = 2*x*y [INFO] [stdout] 333 | | |args: &[Complex]| Complex::new(2.0, 0.0) * args[0] * args[1], [INFO] [stdout] | | ----------------------- the expected closure [INFO] [stdout] ... | [INFO] [stdout] 336 | | ]); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@lib.rs:333:13}; _]`, found `[fn(&[Complex]) -> Complex; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/lib.rs:333:13: 333:36}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a [num_complex::Complex]) -> num_complex::Complex; 2]` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a [num_complex::Complex]) -> num_complex::Complex; 2]` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 331 | ).with_derivative(vec![ [INFO] [stdout] | ___________________________^ [INFO] [stdout] 332 | | // partial derivative w.r.t x: ∂g/∂x = 2*x*y [INFO] [stdout] 333 | | |args: &[Complex]| Complex::new(2.0, 0.0) * args[0] * args[1], [INFO] [stdout] ... | [INFO] [stdout] 336 | | ]); [INFO] [stdout] | |_________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `formulac` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "31399e43705adc002366b7ab0cf55b55384a675dedf8b6aee9a7f70f825887b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31399e43705adc002366b7ab0cf55b55384a675dedf8b6aee9a7f70f825887b9", kill_on_drop: false }` [INFO] [stdout] 31399e43705adc002366b7ab0cf55b55384a675dedf8b6aee9a7f70f825887b9