[INFO] cloning repository https://github.com/FantasyPvP/CrystalPy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FantasyPvP/CrystalPy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFantasyPvP%2FCrystalPy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFantasyPvP%2FCrystalPy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88c2b8590f687f4b6048a4f0b317f8426888d46b [INFO] building FantasyPvP/CrystalPy against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFantasyPvP%2FCrystalPy" "/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/FantasyPvP/CrystalPy on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FantasyPvP/CrystalPy [INFO] finished tweaking git repo https://github.com/FantasyPvP/CrystalPy [INFO] tweaked toml for git repo https://github.com/FantasyPvP/CrystalPy written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/FantasyPvP/CrystalPy 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff11442f6df6becee92a31e8b2bcfadbca9038f64c6d28587ef9b0dd4189ebf6 [INFO] running `Command { std: "docker" "start" "-a" "ff11442f6df6becee92a31e8b2bcfadbca9038f64c6d28587ef9b0dd4189ebf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff11442f6df6becee92a31e8b2bcfadbca9038f64c6d28587ef9b0dd4189ebf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff11442f6df6becee92a31e8b2bcfadbca9038f64c6d28587ef9b0dd4189ebf6", kill_on_drop: false }` [INFO] [stdout] ff11442f6df6becee92a31e8b2bcfadbca9038f64c6d28587ef9b0dd4189ebf6 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18ec459130fba457d8e4ff9996f0c62f0b9e140e69771561a08636f6d0e00f9f [INFO] running `Command { std: "docker" "start" "-a" "18ec459130fba457d8e4ff9996f0c62f0b9e140e69771561a08636f6d0e00f9f", kill_on_drop: false }` [INFO] [stderr] Compiling python_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `format` [INFO] [stdout] --> src/lexer.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, format}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ErrorType::Placeholder` [INFO] [stdout] --> src/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ErrorType::Placeholder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Placeholder` found for struct `CompileError` in the current scope [INFO] [stdout] --> src/parser.rs:38:42 [INFO] [stdout] | [INFO] [stdout] 38 | return Err(CompileError::Placeholder); [INFO] [stdout] | ^^^^^^^^^^^ associated item not found in `CompileError` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CompileError { [INFO] [stdout] | ----------------------- associated item `Placeholder` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lexer.rs:241:21 [INFO] [stdout] | [INFO] [stdout] 241 | _ => {}, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lexer.rs:241:21 [INFO] [stdout] | [INFO] [stdout] 50 | LexerState::None => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 102 | LexerState::NewLine(x) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 111 | LexerState::CharLiteral(char_) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 120 | LexerState::Comment => { [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 241 | _ => {}, [INFO] [stdout] | ^ ...and 5 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut code = code.replace("\t", " "); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/parser.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parse(&self, tokens: Vec) -> Node { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `python_rs` (lib) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "18ec459130fba457d8e4ff9996f0c62f0b9e140e69771561a08636f6d0e00f9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18ec459130fba457d8e4ff9996f0c62f0b9e140e69771561a08636f6d0e00f9f", kill_on_drop: false }` [INFO] [stdout] 18ec459130fba457d8e4ff9996f0c62f0b9e140e69771561a08636f6d0e00f9f