[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#a77da2d454e6caa227a85b16410b95f93495e7e0 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-30/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-30/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/renjithgr/basic-BASIC-compiler on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-30/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3821d6ff002d735bdbab05800c65f531300aae46b9acba46ea0bfc5cc09e28b1 [INFO] running `Command { std: "docker" "start" "-a" "3821d6ff002d735bdbab05800c65f531300aae46b9acba46ea0bfc5cc09e28b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3821d6ff002d735bdbab05800c65f531300aae46b9acba46ea0bfc5cc09e28b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3821d6ff002d735bdbab05800c65f531300aae46b9acba46ea0bfc5cc09e28b1", kill_on_drop: false }` [INFO] [stdout] 3821d6ff002d735bdbab05800c65f531300aae46b9acba46ea0bfc5cc09e28b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c80a3be8d06ecd3f6d11119aa3b65e2b8b1950a252a6491ca3e8f24ba864278c [INFO] running `Command { std: "docker" "start" "-a" "c80a3be8d06ecd3f6d11119aa3b65e2b8b1950a252a6491ca3e8f24ba864278c", 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" "c80a3be8d06ecd3f6d11119aa3b65e2b8b1950a252a6491ca3e8f24ba864278c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c80a3be8d06ecd3f6d11119aa3b65e2b8b1950a252a6491ca3e8f24ba864278c", kill_on_drop: false }` [INFO] [stdout] c80a3be8d06ecd3f6d11119aa3b65e2b8b1950a252a6491ca3e8f24ba864278c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 072e19ddf29583c53205b1fb87a311ba3b03728294e2c9edeef7b3d69660ee66 [INFO] running `Command { std: "docker" "start" "-a" "072e19ddf29583c53205b1fb87a311ba3b03728294e2c9edeef7b3d69660ee66", 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.15s [INFO] running `Command { std: "docker" "inspect" "072e19ddf29583c53205b1fb87a311ba3b03728294e2c9edeef7b3d69660ee66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "072e19ddf29583c53205b1fb87a311ba3b03728294e2c9edeef7b3d69660ee66", kill_on_drop: false }` [INFO] [stdout] 072e19ddf29583c53205b1fb87a311ba3b03728294e2c9edeef7b3d69660ee66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9ea6ba58b6f0ad660cf44df7f81c80d34007b09feba0fdcec2d0891da411b097 [INFO] running `Command { std: "docker" "start" "-a" "9ea6ba58b6f0ad660cf44df7f81c80d34007b09feba0fdcec2d0891da411b097", 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.02s [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_plus ... ok [INFO] [stdout] test lexer::tests::detect_slash ... ok [INFO] [stdout] test lexer::tests::detect_string ... 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 parser::tests::parse_print_statement ... ok [INFO] [stdout] test token::tests::detect_keyword_end_while ... 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.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9ea6ba58b6f0ad660cf44df7f81c80d34007b09feba0fdcec2d0891da411b097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ea6ba58b6f0ad660cf44df7f81c80d34007b09feba0fdcec2d0891da411b097", kill_on_drop: false }` [INFO] [stdout] 9ea6ba58b6f0ad660cf44df7f81c80d34007b09feba0fdcec2d0891da411b097