[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 beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenjithgr%2Fbasic-BASIC-compiler" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/renjithgr/basic-BASIC-compiler on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-2/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" "+beta-2021-09-08" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cda10057b33d95039184d131a595d303c1b4b1ef5d34cdb914f372b6a4931039 [INFO] running `Command { std: "docker" "start" "-a" "cda10057b33d95039184d131a595d303c1b4b1ef5d34cdb914f372b6a4931039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cda10057b33d95039184d131a595d303c1b4b1ef5d34cdb914f372b6a4931039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cda10057b33d95039184d131a595d303c1b4b1ef5d34cdb914f372b6a4931039", kill_on_drop: false }` [INFO] [stdout] cda10057b33d95039184d131a595d303c1b4b1ef5d34cdb914f372b6a4931039 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28d8f376a00a5c54457bb3c90dca9191c5a0c1d25483df5a3d6a14e390e2f1b8 [INFO] running `Command { std: "docker" "start" "-a" "28d8f376a00a5c54457bb3c90dca9191c5a0c1d25483df5a3d6a14e390e2f1b8", 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_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Expected !=, got !{}", c)), [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "28d8f376a00a5c54457bb3c90dca9191c5a0c1d25483df5a3d6a14e390e2f1b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28d8f376a00a5c54457bb3c90dca9191c5a0c1d25483df5a3d6a14e390e2f1b8", kill_on_drop: false }` [INFO] [stdout] 28d8f376a00a5c54457bb3c90dca9191c5a0c1d25483df5a3d6a14e390e2f1b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7e169406e8fd878c123d917689339f9ae50e486e4c453548b84ca8eff0636d9 [INFO] running `Command { std: "docker" "start" "-a" "f7e169406e8fd878c123d917689339f9ae50e486e4c453548b84ca8eff0636d9", 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_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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!(format!("Expected !=, got !{}", c)), [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "f7e169406e8fd878c123d917689339f9ae50e486e4c453548b84ca8eff0636d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e169406e8fd878c123d917689339f9ae50e486e4c453548b84ca8eff0636d9", kill_on_drop: false }` [INFO] [stdout] f7e169406e8fd878c123d917689339f9ae50e486e4c453548b84ca8eff0636d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6107c3506544350bbc509e61ce8c9e2668e2748f5bb23f80527056e56f31265e [INFO] running `Command { std: "docker" "start" "-a" "6107c3506544350bbc509e61ce8c9e2668e2748f5bb23f80527056e56f31265e", 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_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [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!(format!("Expected !=, got !{}", c)), [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [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] [INFO] [stderr] warning: `basic_basic_compiler` (bin "basic_basic_compiler" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/basic_basic_compiler-5b4ff530ca7aa15a) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test lexer::tests::detect_equal_to ... ok [INFO] [stdout] test lexer::tests::detect_empty_string ... ok [INFO] [stdout] test lexer::tests::detect_equal_to_equal_to ... ok [INFO] [stdout] test lexer::tests::detect_asterisk ... ok [INFO] [stdout] test lexer::tests::detect_greater_than ... ok [INFO] [stdout] test lexer::tests::detect_float ... ok [INFO] [stdout] test lexer::tests::detect_greater_than_or_equal_to ... ok [INFO] [stdout] test lexer::tests::detect_identifiers ... ok [INFO] [stdout] test lexer::tests::detect_integer ... ok [INFO] [stdout] test lexer::tests::detect_keywords ... ok [INFO] [stdout] test lexer::tests::detect_less_than_or_equal_to ... ok [INFO] [stdout] test lexer::tests::detect_less_than ... ok [INFO] [stdout] test lexer::tests::detect_minus ... ok [INFO] [stdout] test lexer::tests::detect_not_equal_to ... ok [INFO] [stdout] test lexer::tests::detect_plus ... ok [INFO] [stdout] test lexer::tests::detect_string ... ok [INFO] [stdout] test lexer::tests::detect_slash ... ok [INFO] [stdout] test parser::tests::parse_print_floating_point_number ... ok [INFO] [stdout] test parser::tests::parse_print_integer_number ... ok [INFO] [stdout] test token::tests::detect_keyword_end_while ... ok [INFO] [stdout] test parser::tests::parse_print_statement ... ok [INFO] [stdout] test token::tests::detect_keyword_endif ... ok [INFO] [stdout] test token::tests::detect_keyword_goto ... ok [INFO] [stdout] test token::tests::detect_keyword_if ... ok [INFO] [stdout] test token::tests::detect_keyword_input ... ok [INFO] [stdout] test token::tests::detect_keyword_label ... ok [INFO] [stdout] test token::tests::detect_keyword_let ... ok [INFO] [stdout] test token::tests::detect_keyword_print ... ok [INFO] [stdout] test token::tests::detect_keyword_repeat ... ok [INFO] [stdout] test token::tests::detect_keyword_then ... ok [INFO] [stdout] test token::tests::detect_keyword_while ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6107c3506544350bbc509e61ce8c9e2668e2748f5bb23f80527056e56f31265e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6107c3506544350bbc509e61ce8c9e2668e2748f5bb23f80527056e56f31265e", kill_on_drop: false }` [INFO] [stdout] 6107c3506544350bbc509e61ce8c9e2668e2748f5bb23f80527056e56f31265e