[INFO] cloning repository https://github.com/jamougha/wordvec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamougha/wordvec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamougha%2Fwordvec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamougha%2Fwordvec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5469eec2074ec10f2cd8d6fa13361bb00ebd2de [INFO] testing jamougha/wordvec against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamougha%2Fwordvec" "/workspace/builds/worker-38/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-38/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamougha/wordvec on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jamougha/wordvec [INFO] finished tweaking git repo https://github.com/jamougha/wordvec [INFO] tweaked toml for git repo https://github.com/jamougha/wordvec written to /workspace/builds/worker-38/source/Cargo.toml [INFO] crate git repo https://github.com/jamougha/wordvec already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19fe2c6556fba498b667e1c71caf7a3669bb90aa377e997b3ca978076b2419bc [INFO] running `Command { std: "docker" "start" "-a" "19fe2c6556fba498b667e1c71caf7a3669bb90aa377e997b3ca978076b2419bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19fe2c6556fba498b667e1c71caf7a3669bb90aa377e997b3ca978076b2419bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19fe2c6556fba498b667e1c71caf7a3669bb90aa377e997b3ca978076b2419bc", kill_on_drop: false }` [INFO] [stdout] 19fe2c6556fba498b667e1c71caf7a3669bb90aa377e997b3ca978076b2419bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e04b6c2672e8b66811bb7275c0fa30fd1263c40041a3ca95b514ec643a1b8c58 [INFO] running `Command { std: "docker" "start" "-a" "e04b6c2672e8b66811bb7275c0fa30fd1263c40041a3ca95b514ec643a1b8c58", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gcc v0.3.4 [INFO] [stderr] Compiling ansi_term v0.7.0 [INFO] [stderr] Compiling strsim v0.4.0 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling vec_map v0.4.0 [INFO] [stderr] Compiling libc v0.1.6 [INFO] [stderr] Compiling yaml-rust v0.2.2 (https://github.com/chyh1990/yaml-rust.git#9dc0953e) [INFO] [stderr] Compiling clap v1.5.3 [INFO] [stderr] Compiling time v0.1.25 [INFO] [stderr] Compiling wordvec v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0761]: file for module `models` found at both "src/models.rs" and "src/models/mod.rs" [INFO] [stdout] --> src/main.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | mod models; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: delete or rename one of them to remove the ambiguity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rand` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::models::LanguageModel`, `super::models::WordVec` [INFO] [stdout] --> src/parser.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::models::{LanguageModel, WordVec}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ no `WordVec` in `models` [INFO] [stdout] | | [INFO] [stdout] | no `LanguageModel` in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `models::LanguageModelBuilder` [INFO] [stdout] --> src/processing.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use models::LanguageModelBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `LanguageModelBuilder` in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `models::LanguageModelBuilder` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use models::LanguageModelBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `LanguageModelBuilder` in `models` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | let atom = try!(atom(tokens, model)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | let atom = try!(atom(tokens, model)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let result = try!(token.apply_addop(lhs, &*atom)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | let token = try!(tokens.next().ok_or("Invalid end of expression")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | let expr = try!(expression(tokens, model)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | let vec = try!(get_word(model, &word)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | let num = try!(tokens.next().ok_or("An expression may not end with a division operator")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 155 | Some('a'...'z') => return Some(self.word()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | Some('0'...'9') => return Some(self.number()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser.rs:198:27 [INFO] [stdout] | [INFO] [stdout] 198 | while let Some('a'...'z') = self.peek_char() { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | while let Some('0'...'9') = self.peek_char() { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/processing.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let mut out = try!(File::create(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/processing.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | try!(out.write_all(format!("{}, {}\n", word, count).as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/processing.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | let line = try!(r); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/processing.rs:45:56 [INFO] [stdout] | [INFO] [stdout] 45 | (Some(word), Some(num)) => Ok((word, try!(num))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/processing.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | ... 'a'...'z' | 'A'...'Z' => false, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/processing.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | ... 'a'...'z' | 'A'...'Z' => false, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/processing.rs:96:40 [INFO] [stdout] | [INFO] [stdout] 96 | ... 'a'...'z' => false, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | Other(Box), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - Other(Box), [INFO] [stdout] 9 + Other(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/processing.rs:52:62 [INFO] [stdout] | [INFO] [stdout] 52 | fn sentences(reader: BufReader) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - fn sentences(reader: BufReader) -> Box> { [INFO] [stdout] 52 + fn sentences(reader: BufReader) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/processing.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 60 | fn read_words(reader: R) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 - fn read_words(reader: R) -> Box> { [INFO] [stdout] 60 + fn read_words(reader: R) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/processing.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | fn files(path: &Path) -> Box>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 - fn files(path: &Path) -> Box>> { [INFO] [stdout] 77 + fn files(path: &Path) -> Box>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 29 + fn cause(&self) -> Option<&dyn error::Error> { [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/error.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | Error::Other(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | Error::Other(ref e) => e.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{BufRead, Read, stdin}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::{BufRead, Read, stdin}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0463, E0761. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wordvec` due to 6 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e04b6c2672e8b66811bb7275c0fa30fd1263c40041a3ca95b514ec643a1b8c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e04b6c2672e8b66811bb7275c0fa30fd1263c40041a3ca95b514ec643a1b8c58", kill_on_drop: false }` [INFO] [stdout] e04b6c2672e8b66811bb7275c0fa30fd1263c40041a3ca95b514ec643a1b8c58