[INFO] cloning repository https://github.com/kamer16/gsearch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kamer16/gsearch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamer16%2Fgsearch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamer16%2Fgsearch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e22620f65226d6c21b596ca23d4d7bd99a5dfe6 [INFO] checking kamer16/gsearch against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamer16%2Fgsearch" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamer16/gsearch on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kamer16/gsearch [INFO] finished tweaking git repo https://github.com/kamer16/gsearch [INFO] tweaked toml for git repo https://github.com/kamer16/gsearch written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/kamer16/gsearch already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e405c6cb6b311da90abe30f488b98bf2deb5eb6fb50dbff3d3ac3169d77d479 [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" "1e405c6cb6b311da90abe30f488b98bf2deb5eb6fb50dbff3d3ac3169d77d479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e405c6cb6b311da90abe30f488b98bf2deb5eb6fb50dbff3d3ac3169d77d479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e405c6cb6b311da90abe30f488b98bf2deb5eb6fb50dbff3d3ac3169d77d479", kill_on_drop: false }` [INFO] [stdout] 1e405c6cb6b311da90abe30f488b98bf2deb5eb6fb50dbff3d3ac3169d77d479 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ad65e0f0d258aa713357701ca9d5ea86f04c8c5f210f4e6f1b5b5cf08e9a47b [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" "2ad65e0f0d258aa713357701ca9d5ea86f04c8c5f210f4e6f1b5b5cf08e9a47b", kill_on_drop: false }` [INFO] [stderr] Checking gsearch v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/document/mod.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{self, File, PathExt}; [INFO] [stdout] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/tokenized_document/mod.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::{File, PathExt}; [INFO] [stdout] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `walk_dir` in module `fs` [INFO] [stdout] --> src/document/mod.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | for path in fs::walk_dir(&path).ok().expect("Bad path found") { [INFO] [stdout] | ^^^^^^^^ not found in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(unicode)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(path_ext)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(fs_walk)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(collections)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/tokenized_document/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/document/mod.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{self, File, PathExt}; [INFO] [stdout] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fs::PathExt` [INFO] [stdout] --> src/tokenized_document/mod.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs::{File, PathExt}; [INFO] [stdout] | ^^^^^^^ no `PathExt` in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `walk_dir` in module `fs` [INFO] [stdout] --> src/document/mod.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | for path in fs::walk_dir(&path).ok().expect("Bad path found") { [INFO] [stdout] | ^^^^^^^^ not found in `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(unicode)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(path_ext)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(fs_walk)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(collections)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/tokenized_document/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stdout] --> src/document/mod.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | url : String::from_str(url), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `nfkd_chars` found for reference `&str` in the current scope [INFO] [stdout] --> src/tokenized_document/mod.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | s.nfkd_chars().map(|c| c.to_ascii_lowercase()) [INFO] [stdout] | ^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'exact_size_is_empty' [INFO] [stdout] --> src/tokenized_document/mod.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 136 | if i_list.iter_mut().any(|p| p.is_empty()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #35428 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/tokenized_document/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0554, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gsearch` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `std::string::String` in the current scope [INFO] [stdout] --> src/document/mod.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | url : String::from_str(url), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use std::str::FromStr;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `nfkd_chars` found for reference `&str` in the current scope [INFO] [stdout] --> src/tokenized_document/mod.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | s.nfkd_chars().map(|c| c.to_ascii_lowercase()) [INFO] [stdout] | ^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'exact_size_is_empty' [INFO] [stdout] --> src/tokenized_document/mod.rs:136:40 [INFO] [stdout] | [INFO] [stdout] 136 | if i_list.iter_mut().any(|p| p.is_empty()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #35428 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/tokenized_document/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0554, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2ad65e0f0d258aa713357701ca9d5ea86f04c8c5f210f4e6f1b5b5cf08e9a47b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad65e0f0d258aa713357701ca9d5ea86f04c8c5f210f4e6f1b5b5cf08e9a47b", kill_on_drop: false }` [INFO] [stdout] 2ad65e0f0d258aa713357701ca9d5ea86f04c8c5f210f4e6f1b5b5cf08e9a47b