[INFO] cloning repository https://github.com/dotjpg3141/simple_lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dotjpg3141/simple_lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdotjpg3141%2Fsimple_lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdotjpg3141%2Fsimple_lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfae46d61aaab41cf530750af2c332cf297a86fb [INFO] checking dotjpg3141/simple_lang against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdotjpg3141%2Fsimple_lang" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dotjpg3141/simple_lang on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dotjpg3141/simple_lang [INFO] finished tweaking git repo https://github.com/dotjpg3141/simple_lang [INFO] tweaked toml for git repo https://github.com/dotjpg3141/simple_lang written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dotjpg3141/simple_lang 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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "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] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.2.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdf84897b3954556409f22115c84c9cd6cf7142a1b48cc45a21b6a9310c62e7c [INFO] running `Command { std: "docker" "start" "-a" "fdf84897b3954556409f22115c84c9cd6cf7142a1b48cc45a21b6a9310c62e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdf84897b3954556409f22115c84c9cd6cf7142a1b48cc45a21b6a9310c62e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdf84897b3954556409f22115c84c9cd6cf7142a1b48cc45a21b6a9310c62e7c", kill_on_drop: false }` [INFO] [stdout] fdf84897b3954556409f22115c84c9cd6cf7142a1b48cc45a21b6a9310c62e7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32732eb2ab938512ffcf952ca109c14296f8bfbc6a6cca0e3e33aa0d6aee0554 [INFO] running `Command { std: "docker" "start" "-a" "32732eb2ab938512ffcf952ca109c14296f8bfbc6a6cca0e3e33aa0d6aee0554", 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.9 [INFO] [stderr] Checking simple_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/simplelang/lexer.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | ('0' <= c && c <= '9') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 184 - ('0' <= c && c <= '9') [INFO] [stdout] 184 + '0' <= c && c <= '9' [INFO] [stdout] | [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/simplelang/lexer.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref KEYWORD_MAPPING: HashMap<&'static str, TokenKind> = { [INFO] [stdout] 12 | | map! { [INFO] [stdout] 13 | | "fn" => TokenKind::FnKeyword [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [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: unused import: `std::str` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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/simplelang/lexer.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref KEYWORD_MAPPING: HashMap<&'static str, TokenKind> = { [INFO] [stdout] 12 | | map! { [INFO] [stdout] 13 | | "fn" => TokenKind::FnKeyword [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [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: unnecessary parentheses around block return value [INFO] [stdout] --> src/simplelang/lexer.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | ('0' <= c && c <= '9') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 184 - ('0' <= c && c <= '9') [INFO] [stdout] 184 + '0' <= c && c <= '9' [INFO] [stdout] | [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/simplelang/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref OPERATORS: HashMap = { [INFO] [stdout] 7 | | let mut map = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 22 | | }; [INFO] [stdout] 23 | | } [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/simplelang/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref OPERATORS: HashMap = { [INFO] [stdout] 7 | | let mut map = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 22 | | }; [INFO] [stdout] 23 | | } [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/simplelang/lexer.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref KEYWORD_MAPPING: HashMap<&'static str, TokenKind> = { [INFO] [stdout] 12 | | map! { [INFO] [stdout] 13 | | "fn" => TokenKind::FnKeyword [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [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/simplelang/lexer.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref KEYWORD_MAPPING: HashMap<&'static str, TokenKind> = { [INFO] [stdout] 12 | | map! { [INFO] [stdout] 13 | | "fn" => TokenKind::FnKeyword [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [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/simplelang/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref OPERATORS: HashMap = { [INFO] [stdout] 7 | | let mut map = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 22 | | }; [INFO] [stdout] 23 | | } [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/simplelang/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref OPERATORS: HashMap = { [INFO] [stdout] 7 | | let mut map = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 22 | | }; [INFO] [stdout] 23 | | } [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: fields `start`, `end`, and `message` are never read [INFO] [stdout] --> src/simplelang/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct SyntaxError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 72 | start: TextPosition, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | end: TextPosition, [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `at_range` is never used [INFO] [stdout] --> src/simplelang/mod.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl SyntaxError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn at_range(start: TextPosition, end: TextPosition, message: String) -> SyntaxResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_slice` is never used [INFO] [stdout] --> src/simplelang/indexed_slice.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a, T> IndexedSlice<'a, T> { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn from_slice(slice: &'a [T]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/simplelang/indexed_slice.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait Get { [INFO] [stdout] | --- method in this trait [INFO] [stdout] 60 | type Output; [INFO] [stdout] 61 | fn get(&self, index: I) -> Self::Output; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `end`, and `message` are never read [INFO] [stdout] --> src/simplelang/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct SyntaxError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 72 | start: TextPosition, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | end: TextPosition, [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `at_range` is never used [INFO] [stdout] --> src/simplelang/mod.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl SyntaxError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn at_range(start: TextPosition, end: TextPosition, message: String) -> SyntaxResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "32732eb2ab938512ffcf952ca109c14296f8bfbc6a6cca0e3e33aa0d6aee0554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32732eb2ab938512ffcf952ca109c14296f8bfbc6a6cca0e3e33aa0d6aee0554", kill_on_drop: false }` [INFO] [stdout] 32732eb2ab938512ffcf952ca109c14296f8bfbc6a6cca0e3e33aa0d6aee0554 [INFO] checking dotjpg3141/simple_lang against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdotjpg3141%2Fsimple_lang" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dotjpg3141/simple_lang on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dotjpg3141/simple_lang [INFO] finished tweaking git repo https://github.com/dotjpg3141/simple_lang [INFO] tweaked toml for git repo https://github.com/dotjpg3141/simple_lang written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dotjpg3141/simple_lang 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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4cc4999088a4da3c0bf97b5cfdda0711e69aa58325ff9aed86ed620ab9786f06 [INFO] running `Command { std: "docker" "start" "-a" "4cc4999088a4da3c0bf97b5cfdda0711e69aa58325ff9aed86ed620ab9786f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4cc4999088a4da3c0bf97b5cfdda0711e69aa58325ff9aed86ed620ab9786f06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cc4999088a4da3c0bf97b5cfdda0711e69aa58325ff9aed86ed620ab9786f06", kill_on_drop: false }` [INFO] [stdout] 4cc4999088a4da3c0bf97b5cfdda0711e69aa58325ff9aed86ed620ab9786f06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8ebadede3db807d61f1d2452719ef6f853661f3627488bf120e7eebf18f3a06 [INFO] running `Command { std: "docker" "start" "-a" "d8ebadede3db807d61f1d2452719ef6f853661f3627488bf120e7eebf18f3a06", 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.9 [INFO] [stderr] Checking simple_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/simplelang/lexer.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | ('0' <= c && c <= '9') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 184 - ('0' <= c && c <= '9') [INFO] [stdout] 184 + '0' <= c && c <= '9' [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/simplelang/lexer.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | ('0' <= c && c <= '9') [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 184 - ('0' <= c && c <= '9') [INFO] [stdout] 184 + '0' <= c && c <= '9' [INFO] [stdout] | [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/simplelang/lexer.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref KEYWORD_MAPPING: HashMap<&'static str, TokenKind> = { [INFO] [stdout] 12 | | map! { [INFO] [stdout] 13 | | "fn" => TokenKind::FnKeyword [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [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/simplelang/lexer.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref KEYWORD_MAPPING: HashMap<&'static str, TokenKind> = { [INFO] [stdout] 12 | | map! { [INFO] [stdout] 13 | | "fn" => TokenKind::FnKeyword [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [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/simplelang/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref OPERATORS: HashMap = { [INFO] [stdout] 7 | | let mut map = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 22 | | }; [INFO] [stdout] 23 | | } [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/simplelang/lexer.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref KEYWORD_MAPPING: HashMap<&'static str, TokenKind> = { [INFO] [stdout] 12 | | map! { [INFO] [stdout] 13 | | "fn" => TokenKind::FnKeyword [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [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/simplelang/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref OPERATORS: HashMap = { [INFO] [stdout] 7 | | let mut map = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 22 | | }; [INFO] [stdout] 23 | | } [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/simplelang/lexer.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref KEYWORD_MAPPING: HashMap<&'static str, TokenKind> = { [INFO] [stdout] 12 | | map! { [INFO] [stdout] 13 | | "fn" => TokenKind::FnKeyword [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | }; [INFO] [stdout] 16 | | } [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/simplelang/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref OPERATORS: HashMap = { [INFO] [stdout] 7 | | let mut map = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 22 | | }; [INFO] [stdout] 23 | | } [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/simplelang/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / lazy_static! { [INFO] [stdout] 6 | | static ref OPERATORS: HashMap = { [INFO] [stdout] 7 | | let mut map = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 22 | | }; [INFO] [stdout] 23 | | } [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: fields `start`, `end`, and `message` are never read [INFO] [stdout] --> src/simplelang/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct SyntaxError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 72 | start: TextPosition, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | end: TextPosition, [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `at_range` is never used [INFO] [stdout] --> src/simplelang/mod.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl SyntaxError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn at_range(start: TextPosition, end: TextPosition, message: String) -> SyntaxResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_slice` is never used [INFO] [stdout] --> src/simplelang/indexed_slice.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl<'a, T> IndexedSlice<'a, T> { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 10 | pub fn from_slice(slice: &'a [T]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/simplelang/indexed_slice.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait Get { [INFO] [stdout] | --- method in this trait [INFO] [stdout] 60 | type Output; [INFO] [stdout] 61 | fn get(&self, index: I) -> Self::Output; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start`, `end`, and `message` are never read [INFO] [stdout] --> src/simplelang/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct SyntaxError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 72 | start: TextPosition, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | end: TextPosition, [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SyntaxError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `at_range` is never used [INFO] [stdout] --> src/simplelang/mod.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl SyntaxError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn at_range(start: TextPosition, end: TextPosition, message: String) -> SyntaxResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "d8ebadede3db807d61f1d2452719ef6f853661f3627488bf120e7eebf18f3a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8ebadede3db807d61f1d2452719ef6f853661f3627488bf120e7eebf18f3a06", kill_on_drop: false }` [INFO] [stdout] d8ebadede3db807d61f1d2452719ef6f853661f3627488bf120e7eebf18f3a06