[INFO] cloning repository https://github.com/VladYermakov/interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VladYermakov/interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladYermakov%2Finterpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladYermakov%2Finterpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7269d722e714f053041e0db8e28d22865cc09fb9 [INFO] testing VladYermakov/interpreter against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladYermakov%2Finterpreter" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VladYermakov/interpreter on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/VladYermakov/interpreter [INFO] finished tweaking git repo https://github.com/VladYermakov/interpreter [INFO] tweaked toml for git repo https://github.com/VladYermakov/interpreter written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/VladYermakov/interpreter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87e839dc1dc0d7259a3b9b908aa0de529f696e52c06b3e440add1d27b9cc5964 [INFO] running `Command { std: "docker" "start" "-a" "87e839dc1dc0d7259a3b9b908aa0de529f696e52c06b3e440add1d27b9cc5964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87e839dc1dc0d7259a3b9b908aa0de529f696e52c06b3e440add1d27b9cc5964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87e839dc1dc0d7259a3b9b908aa0de529f696e52c06b3e440add1d27b9cc5964", kill_on_drop: false }` [INFO] [stdout] 87e839dc1dc0d7259a3b9b908aa0de529f696e52c06b3e440add1d27b9cc5964 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8000ff28c3d6ae3545342a2cb188d42a2352398e1309cc3c49cdc0597c62c0d5 [INFO] running `Command { std: "docker" "start" "-a" "8000ff28c3d6ae3545342a2cb188d42a2352398e1309cc3c49cdc0597c62c0d5", kill_on_drop: false }` [INFO] [stderr] Compiling interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:438:10 [INFO] [stdout] | [INFO] [stdout] 438 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arguments` [INFO] [stdout] --> src/main.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | arguments: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:438:10 [INFO] [stdout] | [INFO] [stdout] 438 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `node_type` [INFO] [stdout] --> src/main.rs:476:8 [INFO] [stdout] | [INFO] [stdout] 476 | fn node_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_text` [INFO] [stdout] --> src/main.rs:641:8 [INFO] [stdout] | [INFO] [stdout] 641 | fn with_text + Clone>(text: T) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_text` [INFO] [stdout] --> src/main.rs:1074:8 [INFO] [stdout] | [INFO] [stdout] 1074 | fn with_text + Clone>(text: T) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inv` [INFO] [stdout] --> src/numbers/complex.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn inv(&self) -> Complex { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 311 | | "Syntax Error: {}, pos: {}, current_char: {:?}", [INFO] [stdout] 312 | | message.into(), [INFO] [stdout] 313 | | self.pos, [INFO] [stdout] 314 | | self.current_char() [INFO] [stdout] 315 | | )) [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] 310 ~ panic!( [INFO] [stdout] 311 | "Syntax Error: {}, pos: {}, current_char: {:?}", [INFO] [stdout] 312 | message.into(), [INFO] [stdout] 313 | self.pos, [INFO] [stdout] 314 | self.current_char() [INFO] [stdout] 315 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:892:31 [INFO] [stdout] | [INFO] [stdout] 892 | _ => unreachable!(format!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 893 | | "{:?} {:?} {:?}", [INFO] [stdout] 894 | | token.clone(), [INFO] [stdout] 895 | | self.lexer.pos, [INFO] [stdout] 896 | | self.lexer.text [INFO] [stdout] 897 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the unreachable!() 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] 892 ~ _ => unreachable!( [INFO] [stdout] 893 | "{:?} {:?} {:?}", [INFO] [stdout] 894 | token.clone(), [INFO] [stdout] 895 | self.lexer.pos, [INFO] [stdout] 896 | self.lexer.text [INFO] [stdout] 897 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.91s [INFO] running `Command { std: "docker" "inspect" "8000ff28c3d6ae3545342a2cb188d42a2352398e1309cc3c49cdc0597c62c0d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8000ff28c3d6ae3545342a2cb188d42a2352398e1309cc3c49cdc0597c62c0d5", kill_on_drop: false }` [INFO] [stdout] 8000ff28c3d6ae3545342a2cb188d42a2352398e1309cc3c49cdc0597c62c0d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cdace05bdf050e4e77563ff2660ef2efefcfc129de2274c7bf182fccf9c9caf [INFO] running `Command { std: "docker" "start" "-a" "5cdace05bdf050e4e77563ff2660ef2efefcfc129de2274c7bf182fccf9c9caf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:438:10 [INFO] [stdout] | [INFO] [stdout] 438 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `arguments` [INFO] [stdout] --> src/main.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | arguments: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:438:10 [INFO] [stdout] | [INFO] [stdout] 438 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `node_type` [INFO] [stdout] --> src/main.rs:476:8 [INFO] [stdout] | [INFO] [stdout] 476 | fn node_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | panic!(format!( [INFO] [stdout] | ________________^ [INFO] [stdout] 311 | | "Syntax Error: {}, pos: {}, current_char: {:?}", [INFO] [stdout] 312 | | message.into(), [INFO] [stdout] 313 | | self.pos, [INFO] [stdout] 314 | | self.current_char() [INFO] [stdout] 315 | | )) [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] 310 ~ panic!( [INFO] [stdout] 311 | "Syntax Error: {}, pos: {}, current_char: {:?}", [INFO] [stdout] 312 | message.into(), [INFO] [stdout] 313 | self.pos, [INFO] [stdout] 314 | self.current_char() [INFO] [stdout] 315 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:892:31 [INFO] [stdout] | [INFO] [stdout] 892 | _ => unreachable!(format!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 893 | | "{:?} {:?} {:?}", [INFO] [stdout] 894 | | token.clone(), [INFO] [stdout] 895 | | self.lexer.pos, [INFO] [stdout] 896 | | self.lexer.text [INFO] [stdout] 897 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the unreachable!() 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] 892 ~ _ => unreachable!( [INFO] [stdout] 893 | "{:?} {:?} {:?}", [INFO] [stdout] 894 | token.clone(), [INFO] [stdout] 895 | self.lexer.pos, [INFO] [stdout] 896 | self.lexer.text [INFO] [stdout] 897 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.28s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/interpreter-a3e39934aca580b2) [INFO] running `Command { std: "docker" "inspect" "5cdace05bdf050e4e77563ff2660ef2efefcfc129de2274c7bf182fccf9c9caf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cdace05bdf050e4e77563ff2660ef2efefcfc129de2274c7bf182fccf9c9caf", kill_on_drop: false }` [INFO] [stdout] 5cdace05bdf050e4e77563ff2660ef2efefcfc129de2274c7bf182fccf9c9caf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9d354657d70469449e46879d698d671229f5815631a1e89a12c43fdd6ebab91d [INFO] running `Command { std: "docker" "start" "-a" "9d354657d70469449e46879d698d671229f5815631a1e89a12c43fdd6ebab91d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: field is never read: `name` [INFO] [stdout] running 31 tests [INFO] [stderr] --> src/main.rs:455:9 [INFO] [stderr] | [INFO] [stderr] 455 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:438:10 [INFO] [stderr] | [INFO] [stderr] 438 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `arguments` [INFO] [stderr] --> src/main.rs:456:9 [INFO] [stdout] test numbers::tests::test_assign_ops ... ok [INFO] [stderr] | [INFO] [stdout] test numbers::tests::test_cross_type_assign_ops ... ok [INFO] [stderr] 456 | arguments: Vec>, [INFO] [stdout] test numbers::tests::test_complex ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test numbers::tests::test_cross_types_add ... ok [INFO] [stderr] | [INFO] [stdout] test numbers::tests::test_cross_types_div ... ok [INFO] [stderr] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] test numbers::tests::test_cross_types_mul ... ok [INFO] [stderr] --> src/main.rs:438:10 [INFO] [stdout] test numbers::tests::test_cross_types_sub ... ok [INFO] [stderr] | [INFO] [stdout] test numbers::tests::test_if ... ok [INFO] [stderr] 438 | #[derive(Clone, Debug)] [INFO] [stdout] test numbers::tests::test_default ... ok [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stdout] test numbers::tests::test_integers ... ok [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] test numbers::tests::test_naturals ... ok [INFO] [stderr] [INFO] [stdout] test numbers::tests::test_number_ops ... ok [INFO] [stderr] warning: associated function is never used: `node_type` [INFO] [stdout] test numbers::tests::test_rationals ... ok [INFO] [stderr] --> src/main.rs:476:8 [INFO] [stdout] test numbers::tests::test_real ... ok [INFO] [stderr] | [INFO] [stdout] test tests::test_add ... ok [INFO] [stderr] 476 | fn node_type(&self) -> String { [INFO] [stdout] test tests::test_add_with_spaces ... ok [INFO] [stderr] | ^^^^^^^^^ [INFO] [stdout] test tests::test_bad_numbers ... ok [INFO] [stderr] [INFO] [stdout] test tests::test_div ... ok [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] test tests::test_conditions ... ok [INFO] [stderr] --> src/main.rs:310:16 [INFO] [stdout] test tests::test_function ... ok [INFO] [stderr] | [INFO] [stdout] test tests::test_function_with_arguments ... ok [INFO] [stderr] 310 | panic!(format!( [INFO] [stdout] test tests::test_long ... ok [INFO] [stderr] | ________________^ [INFO] [stdout] test tests::test_mul ... ok [INFO] [stderr] 311 | | "Syntax Error: {}, pos: {}, current_char: {:?}", [INFO] [stdout] test tests::test_if ... ok [INFO] [stderr] 312 | | message.into(), [INFO] [stdout] test tests::test_multiline ... ok [INFO] [stderr] 313 | | self.pos, [INFO] [stdout] test tests::test_number ... ok [INFO] [stderr] 314 | | self.current_char() [INFO] [stdout] test tests::test_priority ... ok [INFO] [stderr] 315 | | )) [INFO] [stdout] test tests::test_ops ... ok [INFO] [stderr] | |_________^ [INFO] [stdout] test tests::test_parentheses ... ok [INFO] [stderr] | [INFO] [stdout] test tests::test_sub ... ok [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] test tests::test_unary ... ok [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] [INFO] [stderr] = note: for more information, see [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 310 ~ panic!( [INFO] [stderr] 311 | "Syntax Error: {}, pos: {}, current_char: {:?}", [INFO] [stderr] 312 | message.into(), [INFO] [stderr] 313 | self.pos, [INFO] [stderr] 314 | self.current_char() [INFO] [stderr] 315 ~ ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:892:31 [INFO] [stderr] | [INFO] [stderr] 892 | _ => unreachable!(format!( [INFO] [stderr] | _______________________________^ [INFO] [stderr] 893 | | "{:?} {:?} {:?}", [INFO] [stderr] 894 | | token.clone(), [INFO] [stderr] 895 | | self.lexer.pos, [INFO] [stderr] 896 | | self.lexer.text [INFO] [stderr] 897 | | )), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the unreachable!() 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] 892 ~ _ => unreachable!( [INFO] [stderr] 893 | "{:?} {:?} {:?}", [INFO] [stderr] 894 | token.clone(), [INFO] [stderr] 895 | self.lexer.pos, [INFO] [stderr] 896 | self.lexer.text [INFO] [stderr] 897 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `interpreter` (bin "interpreter" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 46s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/interpreter-a3e39934aca580b2) [INFO] running `Command { std: "docker" "inspect" "9d354657d70469449e46879d698d671229f5815631a1e89a12c43fdd6ebab91d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d354657d70469449e46879d698d671229f5815631a1e89a12c43fdd6ebab91d", kill_on_drop: false }` [INFO] [stdout] 9d354657d70469449e46879d698d671229f5815631a1e89a12c43fdd6ebab91d