[INFO] cloning repository https://github.com/xlambein/typo-corrector [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xlambein/typo-corrector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxlambein%2Ftypo-corrector", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxlambein%2Ftypo-corrector'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a7bf10d6ade7b8ce7b7b9da02b280ab86e25e70 [INFO] checking xlambein/typo-corrector against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxlambein%2Ftypo-corrector" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xlambein/typo-corrector 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/xlambein/typo-corrector [INFO] finished tweaking git repo https://github.com/xlambein/typo-corrector [INFO] tweaked toml for git repo https://github.com/xlambein/typo-corrector written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/xlambein/typo-corrector 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] c13a69a23261529847dcb6bf9773435bbb2e17399e6dbbf2b6e0aac95add5e5f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c13a69a23261529847dcb6bf9773435bbb2e17399e6dbbf2b6e0aac95add5e5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c13a69a23261529847dcb6bf9773435bbb2e17399e6dbbf2b6e0aac95add5e5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c13a69a23261529847dcb6bf9773435bbb2e17399e6dbbf2b6e0aac95add5e5f", kill_on_drop: false }` [INFO] [stdout] c13a69a23261529847dcb6bf9773435bbb2e17399e6dbbf2b6e0aac95add5e5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 20a7917656f812ba30d7e48ac90cd76646843a46f9e398efa8a921e15adecb1a [INFO] running `Command { std: "docker" "start" "-a" "20a7917656f812ba30d7e48ac90cd76646843a46f9e398efa8a921e15adecb1a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking corrector v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.54s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking corrector v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0425]: cannot find function `closest_substring` in this scope [INFO] [stdout] --> src/main.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | assert_eq!(closest_substring("Hello warld !", "world"), (6, 11)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 99 | use crate::closest_substring; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `closest_substring` in this scope [INFO] [stdout] --> src/main.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(closest_substring("Suub string", "Sub"), (0, 4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 99 | use crate::closest_substring; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `closest_substring` in this scope [INFO] [stdout] --> src/main.rs:102:20 [INFO] [stdout] | [INFO] [stdout] 102 | assert_eq!(closest_substring("This is the nd", "end"), (12, 14)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 99 | use crate::closest_substring; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `closest_substring` in this scope [INFO] [stdout] --> src/main.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | assert_eq!(closest_substring("I didn't this so!", "think"), (9, 13)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 99 | use crate::closest_substring; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `closest_substring` in this scope [INFO] [stdout] --> src/main.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(closest_substring("Birb", "Bird"), (0, 4)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 99 | use crate::closest_substring; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `closest_substring` in this scope [INFO] [stdout] --> src/main.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(closest_substring("これは何です?", "これは何ですか?"), (0, 21)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 99 | use crate::closest_substring; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `replace_closest` in this scope [INFO] [stdout] --> src/main.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | assert_eq!(replace_closest("Hello warld !", "world"), "Hello world !"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 99 | use crate::replace_closest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `replace_closest` in this scope [INFO] [stdout] --> src/main.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(replace_closest("Suub string", "Sub"), "Sub string"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 99 | use crate::replace_closest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `replace_closest` in this scope [INFO] [stdout] --> src/main.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(replace_closest("This is the nd", "end"), "This is the end"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 99 | use crate::replace_closest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `replace_closest` in this scope [INFO] [stdout] --> src/main.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(replace_closest("I didn't this so!", "think"), "I didn't think so!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 99 | use crate::replace_closest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `replace_closest` in this scope [INFO] [stdout] --> src/main.rs:114:20 [INFO] [stdout] | [INFO] [stdout] 114 | assert_eq!(replace_closest("Birb", "Bird"), "Bird"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 99 | use crate::replace_closest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `replace_closest` in this scope [INFO] [stdout] --> src/main.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(replace_closest("これは何です?", "これは何ですか?"), "これは何ですか?"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 99 | use crate::replace_closest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `closest_substring` in this scope [INFO] [stdout] --> src/main.rs:122:20 [INFO] [stdout] | [INFO] [stdout] 99 | fn test_closest_substring() { [INFO] [stdout] | --------------------------- similarly named constant `test_closest_substring` defined here [INFO] [stdout] ... [INFO] [stdout] 122 | assert_eq!(closest_substring("Hello warld!", "world"), (6, 11)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 122 | assert_eq!(test_closest_substring("Hello warld!", "world"), (6, 11)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 99 | use crate::closest_substring; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `closest_substring` in this scope [INFO] [stdout] --> src/main.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 99 | fn test_closest_substring() { [INFO] [stdout] | --------------------------- similarly named constant `test_closest_substring` defined here [INFO] [stdout] ... [INFO] [stdout] 124 | assert_eq!(closest_substring("Sbstring", "Sub"), (0, 2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a constant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 124 | assert_eq!(test_closest_substring("Sbstring", "Sub"), (0, 2)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 99 | use crate::closest_substring; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `corrector` due to 15 previous errors [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "20a7917656f812ba30d7e48ac90cd76646843a46f9e398efa8a921e15adecb1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20a7917656f812ba30d7e48ac90cd76646843a46f9e398efa8a921e15adecb1a", kill_on_drop: false }` [INFO] [stdout] 20a7917656f812ba30d7e48ac90cd76646843a46f9e398efa8a921e15adecb1a