[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] checking VladYermakov/interpreter/7269d722e714f053041e0db8e28d22865cc09fb9 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVladYermakov%2Finterpreter" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VladYermakov/interpreter on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7457c4b1f21532fe1e0c34e645d136bbb6acc4f2b914fc26aac8158119917975 [INFO] running `Command { std: "docker" "start" "-a" "7457c4b1f21532fe1e0c34e645d136bbb6acc4f2b914fc26aac8158119917975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7457c4b1f21532fe1e0c34e645d136bbb6acc4f2b914fc26aac8158119917975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7457c4b1f21532fe1e0c34e645d136bbb6acc4f2b914fc26aac8158119917975", kill_on_drop: false }` [INFO] [stdout] 7457c4b1f21532fe1e0c34e645d136bbb6acc4f2b914fc26aac8158119917975 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0137c607115991714dae6d659290367f4bae451792b411c9811323f5289c608 [INFO] running `Command { std: "docker" "start" "-a" "f0137c607115991714dae6d659290367f4bae451792b411c9811323f5289c608", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Sqrt` [INFO] [stdout] --> src/numbers/mod.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub use self::traits::{AsNum, Sqrt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `arguments` are never read [INFO] [stdout] --> src/main.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 454 | FunctionCall { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 455 | name: String, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `node_type` is never used [INFO] [stdout] --> src/main.rs:476:8 [INFO] [stdout] | [INFO] [stdout] 475 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 476 | fn node_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_text` is never used [INFO] [stdout] --> src/main.rs:641:8 [INFO] [stdout] | [INFO] [stdout] 633 | impl Parser { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 641 | fn with_text + Clone>(text: T) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_text` is never used [INFO] [stdout] --> src/main.rs:1074:8 [INFO] [stdout] | [INFO] [stdout] 1067 | impl Interpreter { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 1074 | fn with_text + Clone>(text: T) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inv` is never used [INFO] [stdout] --> src/numbers/complex.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Complex { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn inv(&self) -> Complex { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_nat` is never used [INFO] [stdout] --> src/numbers/natural.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait AsNat { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 48 | fn as_nat(&self) -> Natural; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sqrt` and `try_sqrt` are never used [INFO] [stdout] --> src/numbers/traits.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait Sqrt { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 31 | fn sqrt(&self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn try_sqrt(&self) -> Option; [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: 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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 310 ~ panic!( [INFO] [stdout] 311 | "Syntax Error: {}, pos: {}, current_char: {:?}", [INFO] [stdout] ... [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] ... [INFO] [stdout] 896 | self.lexer.text [INFO] [stdout] 897 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `arguments` are never read [INFO] [stdout] --> src/main.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 454 | FunctionCall { [INFO] [stdout] | ------------ fields in this variant [INFO] [stdout] 455 | name: String, [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `node_type` is never used [INFO] [stdout] --> src/main.rs:476:8 [INFO] [stdout] | [INFO] [stdout] 475 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 476 | fn node_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_nat` is never used [INFO] [stdout] --> src/numbers/natural.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait AsNat { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 48 | fn as_nat(&self) -> Natural; [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: 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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 310 ~ panic!( [INFO] [stdout] 311 | "Syntax Error: {}, pos: {}, current_char: {:?}", [INFO] [stdout] ... [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] ... [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 `dev` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "f0137c607115991714dae6d659290367f4bae451792b411c9811323f5289c608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0137c607115991714dae6d659290367f4bae451792b411c9811323f5289c608", kill_on_drop: false }` [INFO] [stdout] f0137c607115991714dae6d659290367f4bae451792b411c9811323f5289c608