[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frjacobs31%2Falanlang-rs" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rjacobs31/alanlang-rs 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/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-9/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: "/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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] d09af4f1ba01d211d1657b66fb792b0123dbef93ae3789f9a0826ed32cce387f [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" "d09af4f1ba01d211d1657b66fb792b0123dbef93ae3789f9a0826ed32cce387f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d09af4f1ba01d211d1657b66fb792b0123dbef93ae3789f9a0826ed32cce387f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d09af4f1ba01d211d1657b66fb792b0123dbef93ae3789f9a0826ed32cce387f", kill_on_drop: false }` [INFO] [stdout] d09af4f1ba01d211d1657b66fb792b0123dbef93ae3789f9a0826ed32cce387f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] eb8c7bf867a27936971ccbffd6a108f23fe0ea8fdc25db6c36ae7364c0ffbde0 [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" "eb8c7bf867a27936971ccbffd6a108f23fe0ea8fdc25db6c36ae7364c0ffbde0", kill_on_drop: false }` [INFO] [stderr] Checking rust_tmp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `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] = 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] [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] [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] [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] [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] [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] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `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] = 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] [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] [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] [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] [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] [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] [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_tmp` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[macro_use] [INFO] [stdout] 2 | | extern crate lazy_static; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | pub mod tokenizer; [INFO] [stdout] | |__________________^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_tmp` [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field is never read: `len` [INFO] [stdout] --> src/tokenizer.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | len: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `col` [INFO] [stdout] --> src/tokenizer.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | col: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "eb8c7bf867a27936971ccbffd6a108f23fe0ea8fdc25db6c36ae7364c0ffbde0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb8c7bf867a27936971ccbffd6a108f23fe0ea8fdc25db6c36ae7364c0ffbde0", kill_on_drop: false }` [INFO] [stdout] eb8c7bf867a27936971ccbffd6a108f23fe0ea8fdc25db6c36ae7364c0ffbde0