[INFO] cloning repository https://github.com/vitosotdihaet/mai-numerical-methods [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vitosotdihaet/mai-numerical-methods" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitosotdihaet%2Fmai-numerical-methods", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitosotdihaet%2Fmai-numerical-methods'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 388ca6e7e07ce805b013e8284852e6461ed2da19 [INFO] checking vitosotdihaet/mai-numerical-methods against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitosotdihaet%2Fmai-numerical-methods" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vitosotdihaet/mai-numerical-methods [INFO] finished tweaking git repo https://github.com/vitosotdihaet/mai-numerical-methods [INFO] tweaked toml for git repo https://github.com/vitosotdihaet/mai-numerical-methods written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vitosotdihaet/mai-numerical-methods 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 git repo https://github.com/vitosotdihaet/mai-numerical-methods 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8d8fa589c1fd83877fa986e89d2b6c8854caadaff71eccb7820c3e5de54721b7 [INFO] running `Command { std: "docker" "start" "-a" "8d8fa589c1fd83877fa986e89d2b6c8854caadaff71eccb7820c3e5de54721b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d8fa589c1fd83877fa986e89d2b6c8854caadaff71eccb7820c3e5de54721b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d8fa589c1fd83877fa986e89d2b6c8854caadaff71eccb7820c3e5de54721b7", kill_on_drop: false }` [INFO] [stdout] 8d8fa589c1fd83877fa986e89d2b6c8854caadaff71eccb7820c3e5de54721b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 281c34e99ddc0f5ded8da37d90bb6ba77ad90d8d0fdb17c371f35272e0200b06 [INFO] running `Command { std: "docker" "start" "-a" "281c34e99ddc0f5ded8da37d90bb6ba77ad90d8d0fdb17c371f35272e0200b06", kill_on_drop: false }` [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling font-kit v0.14.2 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Checking libloading v0.8.7 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling pathfinder_simd v0.5.4 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking numerical-methods v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking plotters-bitmap v0.3.7 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:323:18 [INFO] [stdout] | [INFO] [stdout] 323 | let fs = vec![|xs: &[f64]| xs[0] - xs[1].cos() - 1., |xs: &[f64]| { [INFO] [stdout] | ^ ------------ the expected closure [INFO] [stdout] | __________________| [INFO] [stdout] | | [INFO] [stdout] 324 | | xs[1] - xs[0].sin() - 1. [INFO] [stdout] 325 | | }]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________expected `[{closure@lib.rs:323:23}; _]`, found `[fn(&[f64]) -> f64; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/lib.rs:323:23: 323:35}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a [f64]) -> f64; 2]` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a [f64]) -> f64; 2]` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:323:18 [INFO] [stdout] | [INFO] [stdout] 323 | let fs = vec![|xs: &[f64]| xs[0] - xs[1].cos() - 1., |xs: &[f64]| { [INFO] [stdout] | __________________^ [INFO] [stdout] 324 | | xs[1] - xs[0].sin() - 1. [INFO] [stdout] 325 | | }]; [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] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:326:29 [INFO] [stdout] | [INFO] [stdout] 326 | let f_derivatives = vec![ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 327 | | |_: &[f64]| 1., [INFO] [stdout] | | ----------- the expected closure [INFO] [stdout] 328 | | |xs: &[f64]| xs[1].sin(), [INFO] [stdout] 329 | | |xs: &[f64]| -xs[0].cos(), [INFO] [stdout] 330 | | |_: &[f64]| 1., [INFO] [stdout] 331 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@lib.rs:327:13}; _]`, found `[fn(&[f64]) -> f64; 4]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/lib.rs:327:13: 327:24}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a [f64]) -> f64; 4]` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a [f64]) -> f64; 4]` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:326:29 [INFO] [stdout] | [INFO] [stdout] 326 | let f_derivatives = vec![ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 327 | | |_: &[f64]| 1., [INFO] [stdout] 328 | | |xs: &[f64]| xs[1].sin(), [INFO] [stdout] 329 | | |xs: &[f64]| -xs[0].cos(), [INFO] [stdout] 330 | | |_: &[f64]| 1., [INFO] [stdout] 331 | | ]; [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] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:345:20 [INFO] [stdout] | [INFO] [stdout] 345 | let phis = vec![|xs: &[f64]| xs[1].cos() + 1., |xs: &[f64]| xs[0].sin() + 1.]; [INFO] [stdout] | ^^^^^------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the expected closure [INFO] [stdout] | expected `[{closure@lib.rs:345:25}; _]`, found `[fn(&[f64]) -> f64; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/lib.rs:345:25: 345:37}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a [f64]) -> f64; 2]` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a [f64]) -> f64; 2]` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:345:20 [INFO] [stdout] | [INFO] [stdout] 345 | let phis = vec![|xs: &[f64]| xs[1].cos() + 1., |xs: &[f64]| xs[0].sin() + 1.]; [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] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:346:31 [INFO] [stdout] | [INFO] [stdout] 346 | let phi_derivatives = vec![ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 347 | | |_: &[f64]| 0., [INFO] [stdout] | | ----------- the expected closure [INFO] [stdout] 348 | | |xs: &[f64]| -xs[1].sin(), [INFO] [stdout] 349 | | |xs: &[f64]| xs[0].cos(), [INFO] [stdout] 350 | | |_: &[f64]| 0., [INFO] [stdout] 351 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@lib.rs:347:13}; _]`, found `[fn(&[f64]) -> f64; 4]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/lib.rs:347:13: 347:24}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a [f64]) -> f64; 4]` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a [f64]) -> f64; 4]` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:346:31 [INFO] [stdout] | [INFO] [stdout] 346 | let phi_derivatives = vec![ [INFO] [stdout] | _______________________________^ [INFO] [stdout] 347 | | |_: &[f64]| 0., [INFO] [stdout] 348 | | |xs: &[f64]| -xs[1].sin(), [INFO] [stdout] 349 | | |xs: &[f64]| xs[0].cos(), [INFO] [stdout] 350 | | |_: &[f64]| 0., [INFO] [stdout] 351 | | ]; [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 `numerical-methods` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "281c34e99ddc0f5ded8da37d90bb6ba77ad90d8d0fdb17c371f35272e0200b06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "281c34e99ddc0f5ded8da37d90bb6ba77ad90d8d0fdb17c371f35272e0200b06", kill_on_drop: false }` [INFO] [stdout] 281c34e99ddc0f5ded8da37d90bb6ba77ad90d8d0fdb17c371f35272e0200b06