[INFO] cloning repository https://github.com/M1n-74316D65/rusted-yadm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/M1n-74316D65/rusted-yadm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1n-74316D65%2Frusted-yadm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1n-74316D65%2Frusted-yadm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 069cde487049ea06c2adbb728cb8e1dde480b51d [INFO] checking M1n-74316D65/rusted-yadm against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1n-74316D65%2Frusted-yadm" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/M1n-74316D65/rusted-yadm [INFO] finished tweaking git repo https://github.com/M1n-74316D65/rusted-yadm [INFO] tweaked toml for git repo https://github.com/M1n-74316D65/rusted-yadm written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/M1n-74316D65/rusted-yadm 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/M1n-74316D65/rusted-yadm 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] 1dea57abec8d268fa2aa7333bea68e0acf242f05780633b7058bfdf7ac5fd72e [INFO] running `Command { std: "docker" "start" "-a" "1dea57abec8d268fa2aa7333bea68e0acf242f05780633b7058bfdf7ac5fd72e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1dea57abec8d268fa2aa7333bea68e0acf242f05780633b7058bfdf7ac5fd72e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dea57abec8d268fa2aa7333bea68e0acf242f05780633b7058bfdf7ac5fd72e", kill_on_drop: false }` [INFO] [stdout] 1dea57abec8d268fa2aa7333bea68e0acf242f05780633b7058bfdf7ac5fd72e [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] 63ee754e4ac599502f8c95e2bc566c3aee2832a5f59e1decc7de3f4490df4566 [INFO] running `Command { std: "docker" "start" "-a" "63ee754e4ac599502f8c95e2bc566c3aee2832a5f59e1decc7de3f4490df4566", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rtoolbox v0.0.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rpassword v7.4.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.1.8 [INFO] [stderr] Checking tokio v1.42.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking jwalk v0.8.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.18 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Checking dircpy v0.3.19 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking clap v4.5.15 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking git2 v0.19.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking rusted-yadm v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> tests/handler_tests.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/handler_tests.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::tempdir` [INFO] [stdout] --> tests/handler_tests.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use tempfile::tempdir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/handler_tests.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 284 | let functions = vec![ [INFO] [stdout] | _________________________^ [INFO] [stdout] 285 | | || handler::list(), [INFO] [stdout] | | -- the expected closure [INFO] [stdout] 286 | | || handler::status(), [INFO] [stdout] 287 | | || handler::fetch(), [INFO] [stdout] ... | [INFO] [stdout] 297 | | || handler::bootstrap(None, false, true), [INFO] [stdout] 298 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@handler_tests.rs:285:13}; _]`, found `[fn() -> Result<(), Box>; 13]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@tests/handler_tests.rs:285:13: 285:15}; _]` [INFO] [stdout] found array `[fn() -> Result<(), Box>; 13]` [INFO] [stdout] help: the return type of this call is `[fn() -> Result<(), Box>; 13]` due to the type of the argument passed [INFO] [stdout] --> tests/handler_tests.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 284 | let functions = vec![ [INFO] [stdout] | _________________________^ [INFO] [stdout] 285 | | || handler::list(), [INFO] [stdout] 286 | | || handler::status(), [INFO] [stdout] 287 | | || handler::fetch(), [INFO] [stdout] ... | [INFO] [stdout] 297 | | || handler::bootstrap(None, false, true), [INFO] [stdout] 298 | | ]; [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: variable does not need to be mutable [INFO] [stdout] --> tests/config_tests.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut config = Config::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (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] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/git_tests.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusted-yadm` (test "handler_tests") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `animation` [INFO] [stdout] --> tests/utils_tests.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let animation = utils::LoadingAnimation::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_animation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | let operations = vec![ [INFO] [stdout] | __________________________^ [INFO] [stdout] 131 | | || handler::list(), [INFO] [stdout] | | -- the expected closure [INFO] [stdout] 132 | | || handler::status(), [INFO] [stdout] 133 | | || handler::fetch(), [INFO] [stdout] ... | [INFO] [stdout] 137 | | || handler::commit("test message"), [INFO] [stdout] 138 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@...}; _]`, found `[fn() -> Result<(), Box>; 7]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@tests/integration_tests.rs:131:13: 131:15}; _]` [INFO] [stdout] found array `[fn() -> Result<(), Box>; 7]` [INFO] [stdout] help: the return type of this call is `[fn() -> Result<(), Box>; 7]` due to the type of the argument passed [INFO] [stdout] --> tests/integration_tests.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | let operations = vec![ [INFO] [stdout] | __________________________^ [INFO] [stdout] 131 | | || handler::list(), [INFO] [stdout] 132 | | || handler::status(), [INFO] [stdout] 133 | | || handler::fetch(), [INFO] [stdout] ... | [INFO] [stdout] 137 | | || handler::commit("test message"), [INFO] [stdout] 138 | | ]; [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[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:147:30 [INFO] [stdout] | [INFO] [stdout] 147 | assert!(!e.to_string().is_empty()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | let bootstrap_ops = vec![ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 182 | | || handler::bootstrap(None, false, true), [INFO] [stdout] | | -- the expected closure [INFO] [stdout] 183 | | || handler::bootstrap(Some("/nonexistent/config.yaml"), false, true), [INFO] [stdout] 184 | | || handler::bootstrap(Some("/nonexistent/config.yaml"), true, true), [INFO] [stdout] 185 | | || handler::bootstrap(None, false, true), [INFO] [stdout] 186 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@...}; _]`, found `[fn() -> Result<(), Box>; 4]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@tests/integration_tests.rs:182:13: 182:15}; _]` [INFO] [stdout] found array `[fn() -> Result<(), Box>; 4]` [INFO] [stdout] help: the return type of this call is `[fn() -> Result<(), Box>; 4]` due to the type of the argument passed [INFO] [stdout] --> tests/integration_tests.rs:181:29 [INFO] [stdout] | [INFO] [stdout] 181 | let bootstrap_ops = vec![ [INFO] [stdout] | _____________________________^ [INFO] [stdout] 182 | | || handler::bootstrap(None, false, true), [INFO] [stdout] 183 | | || handler::bootstrap(Some("/nonexistent/config.yaml"), false, true), [INFO] [stdout] 184 | | || handler::bootstrap(Some("/nonexistent/config.yaml"), true, true), [INFO] [stdout] 185 | | || handler::bootstrap(None, false, true), [INFO] [stdout] 186 | | ]; [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[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:194:30 [INFO] [stdout] | [INFO] [stdout] 194 | assert!(!e.to_string().is_empty()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | let alt_ops = vec![ [INFO] [stdout] | _______________________^ [INFO] [stdout] 228 | | || handler::alt(false, false), [INFO] [stdout] | | -- the expected closure [INFO] [stdout] 229 | | || handler::alt(true, false), [INFO] [stdout] 230 | | || handler::alt(false, true), [INFO] [stdout] 231 | | || handler::alt(true, true), [INFO] [stdout] 232 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@...}; _]`, found `[fn() -> Result<(), Box>; 4]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@tests/integration_tests.rs:228:13: 228:15}; _]` [INFO] [stdout] found array `[fn() -> Result<(), Box>; 4]` [INFO] [stdout] help: the return type of this call is `[fn() -> Result<(), Box>; 4]` due to the type of the argument passed [INFO] [stdout] --> tests/integration_tests.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | let alt_ops = vec![ [INFO] [stdout] | _______________________^ [INFO] [stdout] 228 | | || handler::alt(false, false), [INFO] [stdout] 229 | | || handler::alt(true, false), [INFO] [stdout] 230 | | || handler::alt(false, true), [INFO] [stdout] 231 | | || handler::alt(true, true), [INFO] [stdout] 232 | | ]; [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[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:240:30 [INFO] [stdout] | [INFO] [stdout] 240 | assert!(!e.to_string().is_empty()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 250 | let init_ops = vec![ [INFO] [stdout] | ________________________^ [INFO] [stdout] 251 | | || handler::init(None), [INFO] [stdout] | | -- the expected closure [INFO] [stdout] 252 | | || handler::init(Some("https://example.com/repo.git")), [INFO] [stdout] 253 | | || handler::init(Some("invalid-url")), [INFO] [stdout] 254 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@...}; _]`, found `[fn() -> Result<(), Box>; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@tests/integration_tests.rs:251:13: 251:15}; _]` [INFO] [stdout] found array `[fn() -> Result<(), Box>; 3]` [INFO] [stdout] help: the return type of this call is `[fn() -> Result<(), Box>; 3]` due to the type of the argument passed [INFO] [stdout] --> tests/integration_tests.rs:250:24 [INFO] [stdout] | [INFO] [stdout] 250 | let init_ops = vec![ [INFO] [stdout] | ________________________^ [INFO] [stdout] 251 | | || handler::init(None), [INFO] [stdout] 252 | | || handler::init(Some("https://example.com/repo.git")), [INFO] [stdout] 253 | | || handler::init(Some("invalid-url")), [INFO] [stdout] 254 | | ]; [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[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:262:30 [INFO] [stdout] | [INFO] [stdout] 262 | assert!(!e.to_string().is_empty()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:272:32 [INFO] [stdout] | [INFO] [stdout] 272 | let error_operations = vec![ [INFO] [stdout] | ________________________________^ [INFO] [stdout] 273 | | || handler::add("/nonexistent/file.txt"), [INFO] [stdout] | | -- the expected closure [INFO] [stdout] 274 | | || handler::commit("test message"), [INFO] [stdout] 275 | | || handler::encrypt("/nonexistent/file.txt"), [INFO] [stdout] 276 | | || handler::decrypt("/nonexistent/file.enc"), [INFO] [stdout] 277 | | || handler::bootstrap(Some("/nonexistent/config.yaml"), false, true), [INFO] [stdout] 278 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@...}; _]`, found `[fn() -> Result<(), Box>; 5]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@tests/integration_tests.rs:273:13: 273:15}; _]` [INFO] [stdout] found array `[fn() -> Result<(), Box>; 5]` [INFO] [stdout] help: the return type of this call is `[fn() -> Result<(), Box>; 5]` due to the type of the argument passed [INFO] [stdout] --> tests/integration_tests.rs:272:32 [INFO] [stdout] | [INFO] [stdout] 272 | let error_operations = vec![ [INFO] [stdout] | ________________________________^ [INFO] [stdout] 273 | | || handler::add("/nonexistent/file.txt"), [INFO] [stdout] 274 | | || handler::commit("test message"), [INFO] [stdout] 275 | | || handler::encrypt("/nonexistent/file.txt"), [INFO] [stdout] 276 | | || handler::decrypt("/nonexistent/file.enc"), [INFO] [stdout] 277 | | || handler::bootstrap(Some("/nonexistent/config.yaml"), false, true), [INFO] [stdout] 278 | | ]; [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[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:282:33 [INFO] [stdout] | [INFO] [stdout] 282 | let error_msg = e.to_string(); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/integration_tests.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 302 | let operations = Arc::new(vec![ [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 303 | | || handler::list(), [INFO] [stdout] | | -- the expected closure [INFO] [stdout] 304 | | || handler::status(), [INFO] [stdout] 305 | | || handler::config(None, None, false), [INFO] [stdout] 306 | | || handler::alt(false, false), [INFO] [stdout] 307 | | ]); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[{closure@...}; _]`, found `[fn() -> Result<(), Box>; 4]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[{closure@tests/integration_tests.rs:303:13: 303:15}; _]` [INFO] [stdout] found array `[fn() -> Result<(), Box>; 4]` [INFO] [stdout] help: the return type of this call is `[fn() -> Result<(), Box>; 4]` due to the type of the argument passed [INFO] [stdout] --> tests/integration_tests.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 302 | let operations = Arc::new(vec![ [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 303 | | || handler::list(), [INFO] [stdout] 304 | | || handler::status(), [INFO] [stdout] 305 | | || handler::config(None, None, false), [INFO] [stdout] 306 | | || handler::alt(false, false), [INFO] [stdout] 307 | | ]); [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] Some errors have detailed explanations: E0282, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusted-yadm` (test "integration_tests") due to 11 previous errors [INFO] [stdout] warning: function `open` is never used [INFO] [stdout] --> src/git.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn open(path: &str) -> Repository { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `open` is never used [INFO] [stdout] --> src/git.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn open(path: &str) -> Repository { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "63ee754e4ac599502f8c95e2bc566c3aee2832a5f59e1decc7de3f4490df4566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63ee754e4ac599502f8c95e2bc566c3aee2832a5f59e1decc7de3f4490df4566", kill_on_drop: false }` [INFO] [stdout] 63ee754e4ac599502f8c95e2bc566c3aee2832a5f59e1decc7de3f4490df4566