[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frenjithgr%2Fbasic-BASIC-compiler" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/renjithgr/basic-BASIC-compiler on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-3/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ffab53fb29899ac21f8b840b93f0e3c7c7f636e360fe3a47104b360c40eca36 [INFO] running `Command { std: "docker" "start" "-a" "4ffab53fb29899ac21f8b840b93f0e3c7c7f636e360fe3a47104b360c40eca36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ffab53fb29899ac21f8b840b93f0e3c7c7f636e360fe3a47104b360c40eca36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ffab53fb29899ac21f8b840b93f0e3c7c7f636e360fe3a47104b360c40eca36", kill_on_drop: false }` [INFO] [stdout] 4ffab53fb29899ac21f8b840b93f0e3c7c7f636e360fe3a47104b360c40eca36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9663adef695cc42dd2ab51679a29122f8ff6bf59d47ec78623ab635b542ddae3 [INFO] running `Command { std: "docker" "start" "-a" "9663adef695cc42dd2ab51679a29122f8ff6bf59d47ec78623ab635b542ddae3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 0.94s [INFO] running `Command { std: "docker" "inspect" "9663adef695cc42dd2ab51679a29122f8ff6bf59d47ec78623ab635b542ddae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9663adef695cc42dd2ab51679a29122f8ff6bf59d47ec78623ab635b542ddae3", kill_on_drop: false }` [INFO] [stdout] 9663adef695cc42dd2ab51679a29122f8ff6bf59d47ec78623ab635b542ddae3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1f47343c130b6e40d4671cbed1ce49b3fadb36c0b1ac48a1ca403518aff9646 [INFO] running `Command { std: "docker" "start" "-a" "c1f47343c130b6e40d4671cbed1ce49b3fadb36c0b1ac48a1ca403518aff9646", 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.31s [INFO] running `Command { std: "docker" "inspect" "c1f47343c130b6e40d4671cbed1ce49b3fadb36c0b1ac48a1ca403518aff9646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1f47343c130b6e40d4671cbed1ce49b3fadb36c0b1ac48a1ca403518aff9646", kill_on_drop: false }` [INFO] [stdout] c1f47343c130b6e40d4671cbed1ce49b3fadb36c0b1ac48a1ca403518aff9646 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e1587c1a29ca2e9b57fc17efaa38cfb44550e98bc809f30c7305c6a8be99314 [INFO] running `Command { std: "docker" "start" "-a" "8e1587c1a29ca2e9b57fc17efaa38cfb44550e98bc809f30c7305c6a8be99314", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/basic_basic_compiler-d59e23e7d2d865e2) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test lexer::tests::detect_asterisk ... ok [INFO] [stdout] test lexer::tests::detect_empty_string ... 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_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 ... ok [INFO] [stdout] test lexer::tests::detect_less_than_or_equal_to ... 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_string ... ok [INFO] [stdout] test parser::tests::parse_print_floating_point_number ... ok [INFO] [stdout] test token::tests::detect_keyword_end_while ... ok [INFO] [stdout] test lexer::tests::detect_plus ... 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_slash ... 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.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8e1587c1a29ca2e9b57fc17efaa38cfb44550e98bc809f30c7305c6a8be99314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e1587c1a29ca2e9b57fc17efaa38cfb44550e98bc809f30c7305c6a8be99314", kill_on_drop: false }` [INFO] [stdout] 8e1587c1a29ca2e9b57fc17efaa38cfb44550e98bc809f30c7305c6a8be99314