Compiling omp-spt v0.2.0 (C:\Users\decid\Documents\projects\omp-spt\tools\omp-spt) error[E0061]: this function takes 5 arguments but 4 arguments were supplied --> src\echo_commune_omp.rs:1186:9 | 1186 | configure_turn(&mut command, system, user, workspace); | ^^^^^^^^^^^^^^--------------------------------------- argument #5 of type `&std::path::Path` is missing | note: function defined here --> src\echo_commune_omp.rs:435:4 | 435 | fn configure_turn( | ^^^^^^^^^^^^^^ ... 440 | workspace: &Path, | ---------------- help: provide the argument | 1186 | configure_turn(&mut command, system, user, workspace, /* &std::path::Path */); | ++++++++++++++++++++++++ error[E0593]: closure is expected to take 4 arguments, but it takes 3 arguments --> src\echo_commune_omp.rs:1309:22 | 1309 | let result = with_secure_turn_environment_in( | ______________________^ 1310 | | &std::env::temp_dir(), 1311 | | "trusted system policy", 1312 | | "secret transcript", 1313 | | |system, user, workspace| { | | ------------------------- takes 3 arguments ... | 1327 | | }, 1328 | | ) | |_________^ expected closure that takes 4 arguments error[E0282]: type annotations needed --> src\echo_commune_omp.rs:1332:18 | 1332 | assert!(!system.exists()); | ^^^^^^ cannot infer type error[E0282]: type annotations needed --> src\echo_commune_omp.rs:1333:18 | 1333 | assert!(!user.exists()); | ^^^^ cannot infer type error[E0282]: type annotations needed --> src\echo_commune_omp.rs:1334:18 | 1334 | assert!(!workspace.exists()); | ^^^^^^^^^ cannot infer type error[E0593]: closure is expected to take 4 arguments, but it takes 3 arguments --> src\echo_commune_omp.rs:1340:26 | 1340 | let invocation = with_secure_turn_environment_in( | __________________________^ 1341 | | &std::env::temp_dir(), 1342 | | "trusted system policy", 1343 | | "secret transcript", 1344 | | |system, user, workspace| -> io::Result { | | ----------------------------------------------- takes 3 arguments ... | 1354 | | }, 1355 | | ) | |_________^ expected closure that takes 4 arguments error[E0282]: type annotations needed --> src\echo_commune_omp.rs:1359:18 | 1359 | assert!(!system.exists()); | ^^^^^^ cannot infer type error[E0282]: type annotations needed --> src\echo_commune_omp.rs:1360:18 | 1360 | assert!(!user.exists()); | ^^^^ cannot infer type error[E0282]: type annotations needed --> src\echo_commune_omp.rs:1361:18 | 1361 | assert!(!workspace.exists()); | ^^^^^^^^^ cannot infer type error[E0593]: closure is expected to take 4 arguments, but it takes 3 arguments --> src\echo_commune_omp.rs:1367:22 | 1367 | let output = with_secure_turn_environment_in( | ______________________^ 1368 | | &std::env::temp_dir(), 1369 | | "trusted system policy", 1370 | | "secret transcript", 1371 | | |system, user, workspace| { | | ------------------------- takes 3 arguments ... | 1382 | | }, 1383 | | ) | |_________^ expected closure that takes 4 arguments error[E0282]: type annotations needed --> src\echo_commune_omp.rs:1387:18 | 1387 | assert!(!system.exists()); | ^^^^^^ cannot infer type error[E0282]: type annotations needed --> src\echo_commune_omp.rs:1388:18 | 1388 | assert!(!user.exists()); | ^^^^ cannot infer type error[E0282]: type annotations needed --> src\echo_commune_omp.rs:1389:18 | 1389 | assert!(!workspace.exists()); | ^^^^^^^^^ cannot infer type Some errors have detailed explanations: E0061, E0282, E0593. For more information about an error, try `rustc --explain E0061`. error: could not compile `omp-spt` (bin "omp-spt" test) due to 13 previous errors