[INFO] fetching crate rmf 0.2.5... [INFO] checking rmf-0.2.5 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate rmf 0.2.5 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate rmf 0.2.5 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rmf 0.2.5 [INFO] finished tweaking crates.io crate rmf 0.2.5 [INFO] tweaked toml for crates.io crate rmf 0.2.5 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a76a7a8eefa8a6ffc355315d7569b2800aa06e6dfc882d9081810b29eaa79d2 [INFO] running `Command { std: "docker" "start" "-a" "9a76a7a8eefa8a6ffc355315d7569b2800aa06e6dfc882d9081810b29eaa79d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a76a7a8eefa8a6ffc355315d7569b2800aa06e6dfc882d9081810b29eaa79d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a76a7a8eefa8a6ffc355315d7569b2800aa06e6dfc882d9081810b29eaa79d2", kill_on_drop: false }` [INFO] [stdout] 9a76a7a8eefa8a6ffc355315d7569b2800aa06e6dfc882d9081810b29eaa79d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba54cac102cdafdadf98279191a1ca7ab85f125295fdb1030dc04c89c13e7968 [INFO] running `Command { std: "docker" "start" "-a" "ba54cac102cdafdadf98279191a1ca7ab85f125295fdb1030dc04c89c13e7968", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking rmf v0.2.5 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/prelude.rs (4 fixes) [INFO] [stdout] error[E0425]: cannot find function `create_dir_all` in this scope [INFO] [stdout] --> src/prelude.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | create_dir_all(&root).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 209 | remove_dir_all(&root).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 203 | use std::fs::create_dir_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/prelude.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | let result: HashSet = find(&root).collect(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/prelude.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | let expected: HashSet = [root.clone()].iter().cloned().collect(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_dir_all` in this scope [INFO] [stdout] --> src/prelude.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | create_dir_all(&nested_dir).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 219 | remove_dir_all(&nested_dir).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 203 | use std::fs::create_dir_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> src/prelude.rs:228:34 [INFO] [stdout] | [INFO] [stdout] 228 | .for_each(|file| write(file, "").unwrap()); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 228 | .for_each(|file| write!(file, "").unwrap()); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 203 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 203 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 203 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 203 | use std::fs::write; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/prelude.rs:230:25 [INFO] [stdout] | [INFO] [stdout] 230 | let result: HashSet = find(&root).collect(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/prelude.rs:231:27 [INFO] [stdout] | [INFO] [stdout] 231 | let expected: HashSet = [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_dir_all` in this scope [INFO] [stdout] --> src/prelude.rs:245:13 [INFO] [stdout] | [INFO] [stdout] 245 | create_dir_all(&dir_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 245 | remove_dir_all(&dir_path).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 203 | use std::fs::create_dir_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> src/prelude.rs:251:50 [INFO] [stdout] | [INFO] [stdout] 251 | .for_each(|(file_name, message)| write(file_name, message).unwrap()); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 251 | .for_each(|(file_name, message)| write!(file_name, message).unwrap()); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 203 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 203 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 203 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 203 | use std::fs::write; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/prelude.rs:253:25 [INFO] [stdout] | [INFO] [stdout] 253 | let result: HashSet = find(&root).collect(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/prelude.rs:254:27 [INFO] [stdout] | [INFO] [stdout] 254 | let expected: HashSet = [ [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_dir_all` in this scope [INFO] [stdout] --> src/prelude.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | create_dir_all(&root).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 273 | remove_dir_all(&root).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 203 | use std::fs::create_dir_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> src/prelude.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | write(&file_path, message).unwrap(); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 274 | write!(&file_path, message).unwrap(); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 203 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 203 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 203 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 203 | use std::fs::write; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `symlink` in this scope [INFO] [stdout] --> src/prelude.rs:275:13 [INFO] [stdout] | [INFO] [stdout] 275 | symlink(&file_path, &symlink_path).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 203 | use std::os::unix::fs::symlink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/prelude.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | let result: HashSet = find(&root).collect(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/prelude.rs:278:27 [INFO] [stdout] | [INFO] [stdout] 278 | let expected: HashSet = [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> src/prelude.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | write(&root, "1ojvias m oaisdiojf12\nqad").unwrap(); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 293 | write!(&root, "1ojvias m oaisdiojf12\nqad").unwrap(); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 203 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 203 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 203 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 203 | use std::fs::write; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `symlink` in this scope [INFO] [stdout] --> src/prelude.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | symlink(&root, &root_symlink).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 203 | use std::os::unix::fs::symlink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/prelude.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | let result: HashSet = find(&root_symlink).collect(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/prelude.rs:297:27 [INFO] [stdout] | [INFO] [stdout] 297 | let expected: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashSet` [INFO] [stdout] --> src/prelude.rs:297:46 [INFO] [stdout] | [INFO] [stdout] 297 | let expected: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_dir_all` in this scope [INFO] [stdout] --> src/prelude.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | create_dir_all(&root).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 310 | remove_dir_all(&root).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 203 | use std::fs::create_dir_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> src/prelude.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | write(&file_path, "1ojvias m oaisdiojf12\nqad").unwrap(); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 311 | write!(&file_path, "1ojvias m oaisdiojf12\nqad").unwrap(); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 203 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 203 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 203 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 203 | use std::fs::write; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `symlink` in this scope [INFO] [stdout] --> src/prelude.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | symlink(&root, &root_symlink).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 203 | use std::os::unix::fs::symlink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/prelude.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | let result: HashSet = find(&root_symlink).collect(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashSet` in this scope [INFO] [stdout] --> src/prelude.rs:315:27 [INFO] [stdout] | [INFO] [stdout] 315 | let expected: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashSet` [INFO] [stdout] --> src/prelude.rs:315:46 [INFO] [stdout] | [INFO] [stdout] 315 | let expected: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 203 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> src/prelude.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | write(&path, message).unwrap(); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 347 | write!(&path, message).unwrap(); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 325 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 325 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 325 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 325 | use std::fs::write; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> src/prelude.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | write(&path, message).unwrap(); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 356 | write!(&path, message).unwrap(); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 325 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 325 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 325 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 325 | use std::fs::write; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_dir` in this scope [INFO] [stdout] --> src/prelude.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | create_dir(&path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 325 | use std::fs::create_dir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `remove_dir` in this scope [INFO] [stdout] --> src/prelude.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | remove_dir(path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 366 | remove_file(path).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 325 | use std::fs::remove_dir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_dir` in this scope [INFO] [stdout] --> src/prelude.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | create_dir(&root).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 325 | use std::fs::create_dir; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> src/prelude.rs:383:41 [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(full_path, message)| write(full_path, message)) [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 383 | .map(|(full_path, message)| write!(full_path, message)) [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 325 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 325 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 325 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 325 | use std::fs::write; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_dir_all` in this scope [INFO] [stdout] --> src/prelude.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | create_dir_all(&nested_dir_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 400 | remove_dir_all(&nested_dir_path).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 325 | use std::fs::create_dir_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> src/prelude.rs:410:41 [INFO] [stdout] | [INFO] [stdout] 410 | .map(|(full_path, message)| write(full_path, message)) [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 410 | .map(|(full_path, message)| write!(full_path, message)) [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 325 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 325 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 325 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 325 | use std::fs::write; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> src/prelude.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | write(&target_path, &message).unwrap(); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 426 | write!(&target_path, &message).unwrap(); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 325 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 325 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 325 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 325 | use std::fs::write; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `symlink` in this scope [INFO] [stdout] --> src/prelude.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | symlink(&target_path, &symlink_path).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 325 | use std::os::unix::fs::symlink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_dir_all` in this scope [INFO] [stdout] --> src/prelude.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | create_dir_all(nested_dir).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 443 | remove_dir_all(nested_dir).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 325 | use std::fs::create_dir_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> src/prelude.rs:446:13 [INFO] [stdout] | [INFO] [stdout] 446 | write(&nested_file, &message).unwrap(); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 446 | write!(&nested_file, &message).unwrap(); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 325 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 325 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 325 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 325 | use std::fs::write; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `symlink` in this scope [INFO] [stdout] --> src/prelude.rs:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | symlink(&target_path, &symlink_path).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 325 | use std::os::unix::fs::symlink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> src/prelude.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 467 | write(&path, message).unwrap(); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 467 | write!(&path, message).unwrap(); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 461 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 461 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 461 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 461 | use std::fs::write; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_dir_all` in this scope [INFO] [stdout] --> src/prelude.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | create_dir_all(&root).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 501 | remove_dir_all(&root).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 461 | use std::fs::create_dir_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> src/prelude.rs:502:13 [INFO] [stdout] | [INFO] [stdout] 502 | write(&file_path, &message).unwrap(); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 502 | write!(&file_path, &message).unwrap(); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 461 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 461 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 461 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 461 | use std::fs::write; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `symlink` in this scope [INFO] [stdout] --> src/prelude.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | symlink(&file_path, &symlink_path).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 461 | use std::os::unix::fs::symlink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_dir_all` in this scope [INFO] [stdout] --> src/prelude.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | create_dir_all(&dir_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 537 | remove_dir_all(&dir_path).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 461 | use std::fs::create_dir_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `write` [INFO] [stdout] --> src/prelude.rs:542:13 [INFO] [stdout] | [INFO] [stdout] 542 | write(&file_path, message).unwrap(); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 542 | write!(&file_path, message).unwrap(); [INFO] [stdout] | + [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 461 | use core::fmt::write; [INFO] [stdout] | [INFO] [stdout] 461 | use core::ptr::write; [INFO] [stdout] | [INFO] [stdout] 461 | use std::fmt::write; [INFO] [stdout] | [INFO] [stdout] 461 | use std::fs::write; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `symlink` in this scope [INFO] [stdout] --> src/prelude.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 543 | symlink(&file_path, &symlink_path).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 461 | use std::os::unix::fs::symlink; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/prelude.rs:329:54 [INFO] [stdout] | [INFO] [stdout] 329 | fn check_file_size(path: &PathBuf, checker: &Fn(u64) -> bool) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(u64) -> bool` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rmf` due to 48 previous errors; 1 warning emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ba54cac102cdafdadf98279191a1ca7ab85f125295fdb1030dc04c89c13e7968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba54cac102cdafdadf98279191a1ca7ab85f125295fdb1030dc04c89c13e7968", kill_on_drop: false }` [INFO] [stdout] ba54cac102cdafdadf98279191a1ca7ab85f125295fdb1030dc04c89c13e7968