[INFO] cloning repository https://github.com/rjacobs31/alanlang-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rjacobs31/alanlang-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjacobs31%2Falanlang-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjacobs31%2Falanlang-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 338a08b037310e13b9668935788541b186909430 [INFO] checking rjacobs31/alanlang-rs against master#426a60abc213b28a7c7198e475476b6e650d871f for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjacobs31%2Falanlang-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rjacobs31/alanlang-rs on toolchain 426a60abc213b28a7c7198e475476b6e650d871f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rjacobs31/alanlang-rs [INFO] finished tweaking git repo https://github.com/rjacobs31/alanlang-rs [INFO] tweaked toml for git repo https://github.com/rjacobs31/alanlang-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rjacobs31/alanlang-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking rjacobs31/alanlang-rs against try#2c70eb47850052381670935f807d41647a7dc992 for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjacobs31%2Falanlang-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rjacobs31/alanlang-rs on toolchain 2c70eb47850052381670935f807d41647a7dc992 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rjacobs31/alanlang-rs [INFO] finished tweaking git repo https://github.com/rjacobs31/alanlang-rs [INFO] tweaked toml for git repo https://github.com/rjacobs31/alanlang-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rjacobs31/alanlang-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 999ef4f16d212274080b530e0cfdc8341766b8356c1b4c1bc37a6e389f517417 [INFO] running `Command { std: "docker" "start" "-a" "999ef4f16d212274080b530e0cfdc8341766b8356c1b4c1bc37a6e389f517417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "999ef4f16d212274080b530e0cfdc8341766b8356c1b4c1bc37a6e389f517417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "999ef4f16d212274080b530e0cfdc8341766b8356c1b4c1bc37a6e389f517417", kill_on_drop: false }` [INFO] [stdout] 999ef4f16d212274080b530e0cfdc8341766b8356c1b4c1bc37a6e389f517417 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af28493079d014a49c258c77db57793e09e332fa8437af19d561fe79e0dc0194 [INFO] running `Command { std: "docker" "start" "-a" "af28493079d014a49c258c77db57793e09e332fa8437af19d561fe79e0dc0194", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking rust_tmp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Read` [INFO] [stdout] --> src/tokenizer.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, BufReader, Read}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | '0'...'9' => { [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | ... '0'...'9' => { [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/tokenizer.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | 'a'...'z' | 'A'...'Z' => { [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/tokenizer.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 195 | 'a'...'z' | 'A'...'Z' => { [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/tokenizer.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | ... 'a'...'z' | 'A'...'Z' | '0'...'9' | '_' => { [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/tokenizer.rs:199:44 [INFO] [stdout] | [INFO] [stdout] 199 | ... 'a'...'z' | 'A'...'Z' | '0'...'9' | '_' => { [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/tokenizer.rs:199:56 [INFO] [stdout] | [INFO] [stdout] 199 | ... 'a'...'z' | 'A'...'Z' | '0'...'9' | '_' => { [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] error[E0601]: `main` function not found in crate `rust_tmp` [INFO] [stdout] --> src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod tokenizer; [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Read` [INFO] [stdout] --> src/tokenizer.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{BufRead, BufReader, Read}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | '0'...'9' => { [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/tokenizer.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | ... '0'...'9' => { [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/tokenizer.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | 'a'...'z' | 'A'...'Z' => { [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/tokenizer.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 195 | 'a'...'z' | 'A'...'Z' => { [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/tokenizer.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | ... 'a'...'z' | 'A'...'Z' | '0'...'9' | '_' => { [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/tokenizer.rs:199:44 [INFO] [stdout] | [INFO] [stdout] 199 | ... 'a'...'z' | 'A'...'Z' | '0'...'9' | '_' => { [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/tokenizer.rs:199:56 [INFO] [stdout] | [INFO] [stdout] 199 | ... 'a'...'z' | 'A'...'Z' | '0'...'9' | '_' => { [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 constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/tokenizer.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / lazy_static! { [INFO] [stdout] 52 | | static ref KEYWORDS: HashMap<&'static str, Token> = { [INFO] [stdout] 53 | | let mut map = HashMap::new(); [INFO] [stdout] 54 | | map.insert("and", Token::And); [INFO] [stdout] ... | [INFO] [stdout] 63 | | }; [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/tokenizer.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / lazy_static! { [INFO] [stdout] 52 | | static ref KEYWORDS: HashMap<&'static str, Token> = { [INFO] [stdout] 53 | | let mut map = HashMap::new(); [INFO] [stdout] 54 | | map.insert("and", Token::And); [INFO] [stdout] ... | [INFO] [stdout] 63 | | }; [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/tokenizer.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / lazy_static! { [INFO] [stdout] 52 | | static ref KEYWORDS: HashMap<&'static str, Token> = { [INFO] [stdout] 53 | | let mut map = HashMap::new(); [INFO] [stdout] 54 | | map.insert("and", Token::And); [INFO] [stdout] ... | [INFO] [stdout] 63 | | }; [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/tokenizer.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / lazy_static! { [INFO] [stdout] 52 | | static ref KEYWORDS: HashMap<&'static str, Token> = { [INFO] [stdout] 53 | | let mut map = HashMap::new(); [INFO] [stdout] 54 | | map.insert("and", Token::And); [INFO] [stdout] ... | [INFO] [stdout] 63 | | }; [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tokenizer.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut iter = input.chars().peekable(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tokenizer.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut iter = input.chars().peekable(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: fields `len` and `col` are never read [INFO] [stdout] --> src/tokenizer.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Tokenizer<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 67 | input: Peekable>, [INFO] [stdout] 68 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | col: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_tmp` (bin "rust_tmp") due to 2 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "af28493079d014a49c258c77db57793e09e332fa8437af19d561fe79e0dc0194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af28493079d014a49c258c77db57793e09e332fa8437af19d561fe79e0dc0194", kill_on_drop: false }` [INFO] [stdout] af28493079d014a49c258c77db57793e09e332fa8437af19d561fe79e0dc0194