[INFO] cloning repository https://github.com/eightys3v3n/word_processor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eightys3v3n/word_processor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feightys3v3n%2Fword_processor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feightys3v3n%2Fword_processor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee2f968432de5ec55d0c86825131db03043c170e [INFO] checking eightys3v3n/word_processor against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feightys3v3n%2Fword_processor" "/workspace/builds/worker-117/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-117/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eightys3v3n/word_processor 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 git repo https://github.com/eightys3v3n/word_processor [INFO] finished tweaking git repo https://github.com/eightys3v3n/word_processor [INFO] tweaked toml for git repo https://github.com/eightys3v3n/word_processor written to /workspace/builds/worker-117/source/Cargo.toml [INFO] crate git repo https://github.com/eightys3v3n/word_processor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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] 6ba676bfd39c27b976bb0ccff98d648fef393042debff84091492693c8032d30 [INFO] running `Command { std: "docker" "start" "-a" "6ba676bfd39c27b976bb0ccff98d648fef393042debff84091492693c8032d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ba676bfd39c27b976bb0ccff98d648fef393042debff84091492693c8032d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ba676bfd39c27b976bb0ccff98d648fef393042debff84091492693c8032d30", kill_on_drop: false }` [INFO] [stdout] 6ba676bfd39c27b976bb0ccff98d648fef393042debff84091492693c8032d30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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] 11c02ee9dc3b61721422cd615a1fa2cc785045b89aabe1c6916a8a0ba9a133fc [INFO] running `Command { std: "docker" "start" "-a" "11c02ee9dc3b61721422cd615a1fa2cc785045b89aabe1c6916a8a0ba9a133fc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking regex-syntax v0.6.16 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking word_processor v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_system.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | why.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_system.rs:250:71 [INFO] [stdout] | [INFO] [stdout] 250 | Err(why) => panic!("couldn't create {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_system.rs:255:73 [INFO] [stdout] | [INFO] [stdout] 255 | Err(why) => panic!("couldn't write to {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_system.rs:265:21 [INFO] [stdout] | [INFO] [stdout] 265 | why.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_system.rs:292:21 [INFO] [stdout] | [INFO] [stdout] 292 | why.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/processors.rs:352:27 [INFO] [stdout] | [INFO] [stdout] 352 | let prefix: str = "John "; [INFO] [stdout] | --- ^^^^^^^ expected `str`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `str` [INFO] [stdout] --> src/processors.rs:353:22 [INFO] [stdout] | [INFO] [stdout] 352 | let prefix: str = "John "; [INFO] [stdout] | ------ `prefix` has type `str` [INFO] [stdout] 353 | let result = prefix(prefix, words); [INFO] [stdout] | ^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/processors.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | let prefix: str = "John "; [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0618. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] Fixed src/file_system.rs (1 fix) [INFO] [stderr] error: could not compile `word_processor` due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function is never used: `remove_contains_symbols` [INFO] [stdout] --> src/processors.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn remove_contains_symbols(words: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `remove_lacking_symbols` [INFO] [stdout] --> src/processors.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn remove_lacking_symbols(words: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [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" "11c02ee9dc3b61721422cd615a1fa2cc785045b89aabe1c6916a8a0ba9a133fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11c02ee9dc3b61721422cd615a1fa2cc785045b89aabe1c6916a8a0ba9a133fc", kill_on_drop: false }` [INFO] [stdout] 11c02ee9dc3b61721422cd615a1fa2cc785045b89aabe1c6916a8a0ba9a133fc