[INFO] cloning repository https://github.com/renjithgr/basic-BASIC-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/renjithgr/basic-BASIC-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenjithgr%2Fbasic-BASIC-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenjithgr%2Fbasic-BASIC-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60a36c5c560ee0a3c7dc7fbe522c748c9ec24a71 [INFO] testing renjithgr/basic-BASIC-compiler against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenjithgr%2Fbasic-BASIC-compiler" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/renjithgr/basic-BASIC-compiler on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/renjithgr/basic-BASIC-compiler [INFO] finished tweaking git repo https://github.com/renjithgr/basic-BASIC-compiler [INFO] tweaked toml for git repo https://github.com/renjithgr/basic-BASIC-compiler written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/renjithgr/basic-BASIC-compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b45f0d79be1cf1adaf7edb62474b28f00cd46076191609910e316afc9e6bb9d [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" "4b45f0d79be1cf1adaf7edb62474b28f00cd46076191609910e316afc9e6bb9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b45f0d79be1cf1adaf7edb62474b28f00cd46076191609910e316afc9e6bb9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b45f0d79be1cf1adaf7edb62474b28f00cd46076191609910e316afc9e6bb9d", kill_on_drop: false }` [INFO] [stdout] 4b45f0d79be1cf1adaf7edb62474b28f00cd46076191609910e316afc9e6bb9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", 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] 6cdcf8cabd94ae779ef74d3175e32b6da2b9401c34e0afde3bae0637466c3b2e [INFO] running `Command { std: "docker" "start" "-a" "6cdcf8cabd94ae779ef74d3175e32b6da2b9401c34e0afde3bae0637466c3b2e", kill_on_drop: false }` [INFO] [stderr] Compiling basic_basic_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexer.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | Some(c) => panic!(format!("Expected !=, got !{}", c)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 42 | Some(c) => panic!("Expected !=, got !{}", c), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexer.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | None => panic!("Expected !=, got nothing".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 43 | None => panic!("{}", "Expected !=, got nothing".to_string()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 43 | None => std::panic::panic_any("Expected !=, got nothing".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "6cdcf8cabd94ae779ef74d3175e32b6da2b9401c34e0afde3bae0637466c3b2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cdcf8cabd94ae779ef74d3175e32b6da2b9401c34e0afde3bae0637466c3b2e", kill_on_drop: false }` [INFO] [stdout] 6cdcf8cabd94ae779ef74d3175e32b6da2b9401c34e0afde3bae0637466c3b2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", 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] 869dd43da1e4f4656157f72b70dddab3806311e191b9664e6f0fc2a51e3eacbc [INFO] running `Command { std: "docker" "start" "-a" "869dd43da1e4f4656157f72b70dddab3806311e191b9664e6f0fc2a51e3eacbc", kill_on_drop: false }` [INFO] [stderr] Compiling basic_basic_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexer.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | Some(c) => panic!(format!("Expected !=, got !{}", c)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 42 | Some(c) => panic!("Expected !=, got !{}", c), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lexer.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | None => panic!("Expected !=, got nothing".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 43 | None => panic!("{}", "Expected !=, got nothing".to_string()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 43 | None => std::panic::panic_any("Expected !=, got nothing".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `Command { std: "docker" "inspect" "869dd43da1e4f4656157f72b70dddab3806311e191b9664e6f0fc2a51e3eacbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "869dd43da1e4f4656157f72b70dddab3806311e191b9664e6f0fc2a51e3eacbc", kill_on_drop: false }` [INFO] [stdout] 869dd43da1e4f4656157f72b70dddab3806311e191b9664e6f0fc2a51e3eacbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4bc28f8e72007ae6494cfdeb4cf994e8db36c880d0c3967f9c35f966c0ba846e [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" "4bc28f8e72007ae6494cfdeb4cf994e8db36c880d0c3967f9c35f966c0ba846e", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lexer.rs:42:35 [INFO] [stderr] | [INFO] [stderr] 42 | Some(c) => panic!(format!("Expected !=, got !{}", c)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 42 | Some(c) => panic!("Expected !=, got !{}", c), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lexer.rs:43:32 [INFO] [stderr] | [INFO] [stderr] 43 | None => panic!("Expected !=, got nothing".to_string()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 43 | None => panic!("{}", "Expected !=, got nothing".to_string()), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 43 | None => std::panic::panic_any("Expected !=, got nothing".to_string()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/basic_basic_compiler-30b88af401e8f32f) [INFO] [stdout] running 31 tests [INFO] [stdout] test lexer::tests::detect_asterisk ... ok [INFO] [stdout] test lexer::tests::detect_equal_to ... ok [INFO] [stdout] test lexer::tests::detect_equal_to_equal_to ... ok [INFO] [stdout] test lexer::tests::detect_float ... ok [INFO] [stdout] test lexer::tests::detect_greater_than ... ok [INFO] [stdout] test lexer::tests::detect_less_than_or_equal_to ... ok [INFO] [stdout] test lexer::tests::detect_slash ... ok [INFO] [stdout] test parser::tests::parse_print_integer_number ... ok [INFO] [stdout] test parser::tests::parse_print_statement ... ok [INFO] [stdout] test lexer::tests::detect_less_than ... ok [INFO] [stdout] test lexer::tests::detect_string ... ok [INFO] [stdout] test token::tests::detect_keyword_end_while ... ok [INFO] [stdout] test token::tests::detect_keyword_goto ... ok [INFO] [stdout] test lexer::tests::detect_minus ... ok [INFO] [stdout] test token::tests::detect_keyword_label ... ok [INFO] [stdout] test token::tests::detect_keyword_repeat ... ok [INFO] [stdout] test token::tests::detect_keyword_print ... ok [INFO] [stdout] test token::tests::detect_keyword_let ... ok [INFO] [stdout] test token::tests::detect_keyword_then ... ok [INFO] [stdout] test token::tests::detect_keyword_while ... ok [INFO] [stdout] test parser::tests::parse_print_floating_point_number ... ok [INFO] [stdout] test lexer::tests::detect_empty_string ... ok [INFO] [stdout] test token::tests::detect_keyword_if ... ok [INFO] [stdout] test lexer::tests::detect_keywords ... ok [INFO] [stdout] test token::tests::detect_keyword_endif ... ok [INFO] [stdout] test token::tests::detect_keyword_input ... ok [INFO] [stdout] test lexer::tests::detect_identifiers ... ok [INFO] [stdout] test lexer::tests::detect_greater_than_or_equal_to ... ok [INFO] [stdout] test lexer::tests::detect_integer ... ok [INFO] [stdout] test lexer::tests::detect_not_equal_to ... ok [INFO] [stdout] test lexer::tests::detect_plus ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4bc28f8e72007ae6494cfdeb4cf994e8db36c880d0c3967f9c35f966c0ba846e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc28f8e72007ae6494cfdeb4cf994e8db36c880d0c3967f9c35f966c0ba846e", kill_on_drop: false }` [INFO] [stdout] 4bc28f8e72007ae6494cfdeb4cf994e8db36c880d0c3967f9c35f966c0ba846e