[INFO] cloning repository https://github.com/Manonox/intellectual_prikols [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Manonox/intellectual_prikols" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManonox%2Fintellectual_prikols", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManonox%2Fintellectual_prikols'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7b2569baca7af706eeb6605daf2745d007105f7 [INFO] checking Manonox/intellectual_prikols against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManonox%2Fintellectual_prikols" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Manonox/intellectual_prikols [INFO] finished tweaking git repo https://github.com/Manonox/intellectual_prikols [INFO] tweaked toml for git repo https://github.com/Manonox/intellectual_prikols written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Manonox/intellectual_prikols 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/Manonox/intellectual_prikols 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] fc92f27e1300c15094922ddb7a40da2f482fb7879bb647b87dbfc055d8089cbb [INFO] running `Command { std: "docker" "start" "-a" "fc92f27e1300c15094922ddb7a40da2f482fb7879bb647b87dbfc055d8089cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc92f27e1300c15094922ddb7a40da2f482fb7879bb647b87dbfc055d8089cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc92f27e1300c15094922ddb7a40da2f482fb7879bb647b87dbfc055d8089cbb", kill_on_drop: false }` [INFO] [stdout] fc92f27e1300c15094922ddb7a40da2f482fb7879bb647b87dbfc055d8089cbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 62f9147960b34bbd01efbd62086af01b132f5d7901a75418566a108e805a2248 [INFO] running `Command { std: "docker" "start" "-a" "62f9147960b34bbd01efbd62086af01b132f5d7901a75418566a108e805a2248", kill_on_drop: false }` [INFO] [stderr] Checking snowflake v1.3.0 [INFO] [stderr] Checking slab_tree v0.3.2 [INFO] [stderr] Checking lab1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tests.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let functions = &vec![ [INFO] [stdout] | __________________________^ [INFO] [stdout] 11 | | |x: i32| -> i32 { x + 3 }, [INFO] [stdout] | | --------------- the expected closure [INFO] [stdout] 12 | | |x: i32| -> i32 { x * 2 }, [INFO] [stdout] 13 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@tests.rs:11:13}; _]`, found `[fn(i32) -> i32; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/tests.rs:11:13: 11:28}; _]` [INFO] [stdout] found array `[fn(i32) -> i32; 2]` [INFO] [stdout] help: the return type of this call is `[fn(i32) -> i32; 2]` due to the type of the argument passed [INFO] [stdout] --> src/tests.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let functions = &vec![ [INFO] [stdout] | __________________________^ [INFO] [stdout] 11 | | |x: i32| -> i32 { x + 3 }, [INFO] [stdout] 12 | | |x: i32| -> i32 { x * 2 }, [INFO] [stdout] 13 | | ]; [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/tests.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | let inverse_functions = &vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 16 | | |x: i32| -> i32 { x - 3 }, [INFO] [stdout] | | --------------- the expected closure [INFO] [stdout] 17 | | |x: i32| -> i32 { x / 2 }, [INFO] [stdout] 18 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@tests.rs:16:13}; _]`, found `[fn(i32) -> i32; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/tests.rs:16:13: 16:28}; _]` [INFO] [stdout] found array `[fn(i32) -> i32; 2]` [INFO] [stdout] help: the return type of this call is `[fn(i32) -> i32; 2]` due to the type of the argument passed [INFO] [stdout] --> src/tests.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | let inverse_functions = &vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 16 | | |x: i32| -> i32 { x - 3 }, [INFO] [stdout] 17 | | |x: i32| -> i32 { x / 2 }, [INFO] [stdout] 18 | | ]; [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/tests.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | let functions = &vec![ [INFO] [stdout] | __________________________^ [INFO] [stdout] 44 | | |x: i32| -> i32 { x + 3 }, [INFO] [stdout] | | --------------- the expected closure [INFO] [stdout] 45 | | |x: i32| -> i32 { x * 2 }, [INFO] [stdout] 46 | | |x: i32| -> i32 { x - 2 }, [INFO] [stdout] 47 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@tests.rs:44:13}; _]`, found `[fn(i32) -> i32; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/tests.rs:44:13: 44:28}; _]` [INFO] [stdout] found array `[fn(i32) -> i32; 3]` [INFO] [stdout] help: the return type of this call is `[fn(i32) -> i32; 3]` due to the type of the argument passed [INFO] [stdout] --> src/tests.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | let functions = &vec![ [INFO] [stdout] | __________________________^ [INFO] [stdout] 44 | | |x: i32| -> i32 { x + 3 }, [INFO] [stdout] 45 | | |x: i32| -> i32 { x * 2 }, [INFO] [stdout] 46 | | |x: i32| -> i32 { x - 2 }, [INFO] [stdout] 47 | | ]; [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/tests.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | let inverse_functions = &vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 50 | | |x: i32| -> i32 { x - 3 }, [INFO] [stdout] | | --------------- the expected closure [INFO] [stdout] 51 | | |x: i32| -> i32 { x / 2 }, [INFO] [stdout] 52 | | |x: i32| -> i32 { x + 2 }, [INFO] [stdout] 53 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@tests.rs:50:13}; _]`, found `[fn(i32) -> i32; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/tests.rs:50:13: 50:28}; _]` [INFO] [stdout] found array `[fn(i32) -> i32; 3]` [INFO] [stdout] help: the return type of this call is `[fn(i32) -> i32; 3]` due to the type of the argument passed [INFO] [stdout] --> src/tests.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | let inverse_functions = &vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 50 | | |x: i32| -> i32 { x - 3 }, [INFO] [stdout] 51 | | |x: i32| -> i32 { x / 2 }, [INFO] [stdout] 52 | | |x: i32| -> i32 { x + 2 }, [INFO] [stdout] 53 | | ]; [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/tests.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let functions = &vec![ [INFO] [stdout] | __________________________^ [INFO] [stdout] 11 | | |x: i32| -> i32 { x + 3 }, [INFO] [stdout] | | --------------- the expected closure [INFO] [stdout] 12 | | |x: i32| -> i32 { x * 2 }, [INFO] [stdout] 13 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@tests.rs:11:13}; _]`, found `[fn(i32) -> i32; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/tests.rs:11:13: 11:28}; _]` [INFO] [stdout] found array `[fn(i32) -> i32; 2]` [INFO] [stdout] help: the return type of this call is `[fn(i32) -> i32; 2]` due to the type of the argument passed [INFO] [stdout] --> src/tests.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | let functions = &vec![ [INFO] [stdout] | __________________________^ [INFO] [stdout] 11 | | |x: i32| -> i32 { x + 3 }, [INFO] [stdout] 12 | | |x: i32| -> i32 { x * 2 }, [INFO] [stdout] 13 | | ]; [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/tests.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | let inverse_functions = &vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 16 | | |x: i32| -> i32 { x - 3 }, [INFO] [stdout] | | --------------- the expected closure [INFO] [stdout] 17 | | |x: i32| -> i32 { x / 2 }, [INFO] [stdout] 18 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@tests.rs:16:13}; _]`, found `[fn(i32) -> i32; 2]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/tests.rs:16:13: 16:28}; _]` [INFO] [stdout] found array `[fn(i32) -> i32; 2]` [INFO] [stdout] help: the return type of this call is `[fn(i32) -> i32; 2]` due to the type of the argument passed [INFO] [stdout] --> src/tests.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | let inverse_functions = &vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 16 | | |x: i32| -> i32 { x - 3 }, [INFO] [stdout] 17 | | |x: i32| -> i32 { x / 2 }, [INFO] [stdout] 18 | | ]; [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/tests.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | let functions = &vec![ [INFO] [stdout] | __________________________^ [INFO] [stdout] 44 | | |x: i32| -> i32 { x + 3 }, [INFO] [stdout] | | --------------- the expected closure [INFO] [stdout] 45 | | |x: i32| -> i32 { x * 2 }, [INFO] [stdout] 46 | | |x: i32| -> i32 { x - 2 }, [INFO] [stdout] 47 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@tests.rs:44:13}; _]`, found `[fn(i32) -> i32; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/tests.rs:44:13: 44:28}; _]` [INFO] [stdout] found array `[fn(i32) -> i32; 3]` [INFO] [stdout] help: the return type of this call is `[fn(i32) -> i32; 3]` due to the type of the argument passed [INFO] [stdout] --> src/tests.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | let functions = &vec![ [INFO] [stdout] | __________________________^ [INFO] [stdout] 44 | | |x: i32| -> i32 { x + 3 }, [INFO] [stdout] 45 | | |x: i32| -> i32 { x * 2 }, [INFO] [stdout] 46 | | |x: i32| -> i32 { x - 2 }, [INFO] [stdout] 47 | | ]; [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/tests.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | let inverse_functions = &vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 50 | | |x: i32| -> i32 { x - 3 }, [INFO] [stdout] | | --------------- the expected closure [INFO] [stdout] 51 | | |x: i32| -> i32 { x / 2 }, [INFO] [stdout] 52 | | |x: i32| -> i32 { x + 2 }, [INFO] [stdout] 53 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@tests.rs:50:13}; _]`, found `[fn(i32) -> i32; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/tests.rs:50:13: 50:28}; _]` [INFO] [stdout] found array `[fn(i32) -> i32; 3]` [INFO] [stdout] help: the return type of this call is `[fn(i32) -> i32; 3]` due to the type of the argument passed [INFO] [stdout] --> src/tests.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | let inverse_functions = &vec![ [INFO] [stdout] | __________________________________^ [INFO] [stdout] 50 | | |x: i32| -> i32 { x - 3 }, [INFO] [stdout] 51 | | |x: i32| -> i32 { x / 2 }, [INFO] [stdout] 52 | | |x: i32| -> i32 { x + 2 }, [INFO] [stdout] 53 | | ]; [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/main.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let functions = &vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 21 | | |x| { x + 3 }, [INFO] [stdout] | | --- the expected closure [INFO] [stdout] 22 | | |x| { x * 2 }, [INFO] [stdout] 23 | | |x| { x - 2 }, [INFO] [stdout] 24 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `[{closure@main.rs:21:9}; _]`, found `[fn(_) -> _; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/main.rs:21:9: 21:12}; _]` [INFO] [stdout] found array `[fn(_) -> _; 3]` [INFO] [stdout] help: the return type of this call is `[fn(_) -> _; 3]` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let functions = &vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 21 | | |x| { x + 3 }, [INFO] [stdout] 22 | | |x| { x * 2 }, [INFO] [stdout] 23 | | |x| { x - 2 }, [INFO] [stdout] 24 | | ]; [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/main.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | let inverse_functions = &vec![ [INFO] [stdout] | ______________________________^ [INFO] [stdout] 27 | | |x| { x - 3 }, [INFO] [stdout] | | --- the expected closure [INFO] [stdout] 28 | | |x| { x / 2 }, [INFO] [stdout] 29 | | |x| { x + 2 }, [INFO] [stdout] 30 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `[{closure@main.rs:27:9}; _]`, found `[fn(_) -> _; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/main.rs:27:9: 27:12}; _]` [INFO] [stdout] found array `[fn(_) -> _; 3]` [INFO] [stdout] help: the return type of this call is `[fn(_) -> _; 3]` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | let inverse_functions = &vec![ [INFO] [stdout] | ______________________________^ [INFO] [stdout] 27 | | |x| { x - 3 }, [INFO] [stdout] 28 | | |x| { x / 2 }, [INFO] [stdout] 29 | | |x| { x + 2 }, [INFO] [stdout] 30 | | ]; [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/main.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let functions = &vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 21 | | |x| { x + 3 }, [INFO] [stdout] | | --- the expected closure [INFO] [stdout] 22 | | |x| { x * 2 }, [INFO] [stdout] 23 | | |x| { x - 2 }, [INFO] [stdout] 24 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `[{closure@main.rs:21:9}; _]`, found `[fn(_) -> _; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/main.rs:21:9: 21:12}; _]` [INFO] [stdout] found array `[fn(_) -> _; 3]` [INFO] [stdout] help: the return type of this call is `[fn(_) -> _; 3]` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let functions = &vec![ [INFO] [stdout] | ______________________^ [INFO] [stdout] 21 | | |x| { x + 3 }, [INFO] [stdout] 22 | | |x| { x * 2 }, [INFO] [stdout] 23 | | |x| { x - 2 }, [INFO] [stdout] 24 | | ]; [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/main.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | let inverse_functions = &vec![ [INFO] [stdout] | ______________________________^ [INFO] [stdout] 27 | | |x| { x - 3 }, [INFO] [stdout] | | --- the expected closure [INFO] [stdout] 28 | | |x| { x / 2 }, [INFO] [stdout] 29 | | |x| { x + 2 }, [INFO] [stdout] 30 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____expected `[{closure@main.rs:27:9}; _]`, found `[fn(_) -> _; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@src/main.rs:27:9: 27:12}; _]` [INFO] [stdout] found array `[fn(_) -> _; 3]` [INFO] [stdout] help: the return type of this call is `[fn(_) -> _; 3]` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | let inverse_functions = &vec![ [INFO] [stdout] | ______________________________^ [INFO] [stdout] 27 | | |x| { x - 3 }, [INFO] [stdout] 28 | | |x| { x / 2 }, [INFO] [stdout] 29 | | |x| { x + 2 }, [INFO] [stdout] 30 | | ]; [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] warning: value assigned to `middle_value_option` is never read [INFO] [stdout] --> src/bfs.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | let mut middle_value_option = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `middle_value_option` is never read [INFO] [stdout] --> src/bfs.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | let mut middle_value_option = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lab1` (bin "lab1" test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lab1` (bin "lab1") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "62f9147960b34bbd01efbd62086af01b132f5d7901a75418566a108e805a2248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62f9147960b34bbd01efbd62086af01b132f5d7901a75418566a108e805a2248", kill_on_drop: false }` [INFO] [stdout] 62f9147960b34bbd01efbd62086af01b132f5d7901a75418566a108e805a2248