[INFO] updating cached repository https://github.com/kamer16/gsearch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e22620f65226d6c21b596ca23d4d7bd99a5dfe6 [INFO] testing kamer16/gsearch against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamer16%2Fgsearch" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kamer16/gsearch on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-1/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", 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] a800e5b733aea71091ddc7368eb0944932ba511250ca6f277611fa56f1ffedd5 [INFO] running `Command { std: "docker" "start" "-a" "a800e5b733aea71091ddc7368eb0944932ba511250ca6f277611fa56f1ffedd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a800e5b733aea71091ddc7368eb0944932ba511250ca6f277611fa56f1ffedd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a800e5b733aea71091ddc7368eb0944932ba511250ca6f277611fa56f1ffedd5", kill_on_drop: false }` [INFO] [stdout] a800e5b733aea71091ddc7368eb0944932ba511250ca6f277611fa56f1ffedd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4eccf789a29e514aa8556900ad020179b41bebed62107b5699db278711b9651c [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" "4eccf789a29e514aa8556900ad020179b41bebed62107b5699db278711b9651c", kill_on_drop: false }` [INFO] [stderr] Compiling 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] warning: use of deprecated item '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] = help: add `#![feature(exact_size_is_empty)]` to the crate attributes to enable [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 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, 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] running `Command { std: "docker" "inspect" "4eccf789a29e514aa8556900ad020179b41bebed62107b5699db278711b9651c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eccf789a29e514aa8556900ad020179b41bebed62107b5699db278711b9651c", kill_on_drop: false }` [INFO] [stdout] 4eccf789a29e514aa8556900ad020179b41bebed62107b5699db278711b9651c