[INFO] cloning repository https://github.com/ty-d-2018/PhantomGeneration [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ty-d-2018/PhantomGeneration" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fty-d-2018%2FPhantomGeneration", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fty-d-2018%2FPhantomGeneration'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 725a2c6f72410a1f83d6fb3af08703521fe6ac56 [INFO] checking ty-d-2018/PhantomGeneration against try#ddcf048784667508cd676fef4667f88ae15628a3 for pr-148271 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fty-d-2018%2FPhantomGeneration" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ty-d-2018/PhantomGeneration [INFO] finished tweaking git repo https://github.com/ty-d-2018/PhantomGeneration [INFO] tweaked toml for git repo https://github.com/ty-d-2018/PhantomGeneration written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ty-d-2018/PhantomGeneration on toolchain ddcf048784667508cd676fef4667f88ae15628a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ty-d-2018/PhantomGeneration 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" "+ddcf048784667508cd676fef4667f88ae15628a3" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking ty-d-2018/PhantomGeneration against try#ddcf048784667508cd676fef4667f88ae15628a3 for pr-148271 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fty-d-2018%2FPhantomGeneration" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ty-d-2018/PhantomGeneration [INFO] finished tweaking git repo https://github.com/ty-d-2018/PhantomGeneration [INFO] tweaked toml for git repo https://github.com/ty-d-2018/PhantomGeneration written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ty-d-2018/PhantomGeneration on toolchain ddcf048784667508cd676fef4667f88ae15628a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ty-d-2018/PhantomGeneration 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" "+ddcf048784667508cd676fef4667f88ae15628a3" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 690a6758cd646b2b835ee838b1ddc84ea4c2fdb6e8dbec0b23ffa5e8fe21d315 [INFO] running `Command { std: "docker" "start" "-a" "690a6758cd646b2b835ee838b1ddc84ea4c2fdb6e8dbec0b23ffa5e8fe21d315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "690a6758cd646b2b835ee838b1ddc84ea4c2fdb6e8dbec0b23ffa5e8fe21d315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "690a6758cd646b2b835ee838b1ddc84ea4c2fdb6e8dbec0b23ffa5e8fe21d315", kill_on_drop: false }` [INFO] [stdout] 690a6758cd646b2b835ee838b1ddc84ea4c2fdb6e8dbec0b23ffa5e8fe21d315 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e953786e33866798cb58574a6105783d2a45e086f6a22f027a330a0e6a036cd7 [INFO] running `Command { std: "docker" "start" "-a" "e953786e33866798cb58574a6105783d2a45e086f6a22f027a330a0e6a036cd7", kill_on_drop: false }` [INFO] [stderr] Checking write_functions v0.1.0 (/opt/rustwide/workdir/write_functions) [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> write_functions/src/stance.rs:106:50 [INFO] [stdout] | [INFO] [stdout] 106 | sequence.push(Marks::OptionalGeneric) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 107 | let parameters: Marks = Marks::Compound; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> write_functions/src/stance.rs:106:50 [INFO] [stdout] | [INFO] [stdout] 106 | sequence.push(Marks::OptionalGeneric) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 107 | let parameters: Marks = Marks::Compound; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> write_functions/src/stance.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | data: &String [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 10 ~ pub struct Element<'a>{ [INFO] [stdout] 11 ~ data: &'a String [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> write_functions/src/stance.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | data: &String [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 10 ~ pub struct Element<'a>{ [INFO] [stdout] 11 ~ data: &'a String [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated type `Iterator::Item` is declared without lifetime parameters, so using a borrowed type for them requires that lifetime to come from the implemented type [INFO] [stdout] --> write_functions/src/stance.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | type Item = &Marks; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: you can't create an `Iterator` that borrows each `Item` from itself, but you can instead create a new type that borrows your existing type and implement `Iterator` for that new type [INFO] [stdout] --> write_functions/src/stance.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | impl Iterator for MarkAlphabet{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated type `Iterator::Item` is declared without lifetime parameters, so using a borrowed type for them requires that lifetime to come from the implemented type [INFO] [stdout] --> write_functions/src/stance.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | type Item = &Marks; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: you can't create an `Iterator` that borrows each `Item` from itself, but you can instead create a new type that borrows your existing type and implement `Iterator` for that new type [INFO] [stdout] --> write_functions/src/stance.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | impl Iterator for MarkAlphabet{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | order: HashMap::, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:52:50 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_order(max: u32) -> HashMap::{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 56 | 0 => map.insert(i, Marks::Block), [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | 1 => map.insert(i, Marks::DataType), [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | 2 => map.insert(i, Marks::Marker), [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | 3 => map.insert(i, Marks::Modifier), [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | 4 => map.insert(i, Marks::Name,), [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | 5 => map.insert(i, Marks::Operator), [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:68:57 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_from_map(&self, index: u32) -> Result::<&Marks, u32>{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | type Item = &Marks; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | let mark_alpha: Option::<&Marks> = self.get_from_map(self.count).ok(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | order: Vec::, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:102:37 [INFO] [stdout] | [INFO] [stdout] 102 | let mut sequence: Vec:: = Vec::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | sequence.push(Marks::Modifier); [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | sequence.push(Marks::Name); [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | let parameters: Marks = Marks::Compound; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | let parameters: Marks = Marks::Compound; [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | let re_type: Marks = Marks::Compound; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | let re_type: Marks = Marks::Compound; [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Block` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | sequence.push(Block); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | order: HashMap::, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:52:50 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_order(max: u32) -> HashMap::{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 56 | 0 => map.insert(i, Marks::Block), [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | 1 => map.insert(i, Marks::DataType), [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | 2 => map.insert(i, Marks::Marker), [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | 3 => map.insert(i, Marks::Modifier), [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | 4 => map.insert(i, Marks::Name,), [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | 5 => map.insert(i, Marks::Operator), [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:68:57 [INFO] [stdout] | [INFO] [stdout] 68 | fn get_from_map(&self, index: u32) -> Result::<&Marks, u32>{ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | type Item = &Marks; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | let mark_alpha: Option::<&Marks> = self.get_from_map(self.count).ok(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:90:22 [INFO] [stdout] | [INFO] [stdout] 90 | order: Vec::, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:102:37 [INFO] [stdout] | [INFO] [stdout] 102 | let mut sequence: Vec:: = Vec::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 104 | sequence.push(Marks::Modifier); [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 105 | sequence.push(Marks::Name); [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | let parameters: Marks = Marks::Compound; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | let parameters: Marks = Marks::Compound; [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Marks` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | let re_type: Marks = Marks::Compound; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Marks` [INFO] [stdout] --> write_functions/src/stance.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | let re_type: Marks = Marks::Compound; [INFO] [stdout] | ^^^^^ use of undeclared type `Marks` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Block` in this scope [INFO] [stdout] --> write_functions/src/stance.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | sequence.push(Block); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 35 + use crate::stance::Marks::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> write_functions/src/lib.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `HashMap` [INFO] [stdout] --> write_functions/src/stance.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | let mut map: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^ expected at least 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic arguments [INFO] [stdout] | [INFO] [stdout] 53 | let mut map: HashMap = HashMap::new(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `HashMap` [INFO] [stdout] --> write_functions/src/stance.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | let mut map: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^ expected at least 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic arguments [INFO] [stdout] | [INFO] [stdout] 53 | let mut map: HashMap = HashMap::new(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `max` on type `&MarkAlphabet` [INFO] [stdout] --> write_functions/src/stance.rs:69:47 [INFO] [stdout] | [INFO] [stdout] 69 | self.order.get(&index).ok_or(self.max) [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 69 | self.order.get(&index).ok_or(self.max()) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `count` and `order` in initializer of `MarkFunction` [INFO] [stdout] --> write_functions/src/stance.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | MarkFunction{ [INFO] [stdout] | ^^^^^^^^^^^^ missing `count` and `order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> write_functions/src/skeleton.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | fn create_op(tokens: Vec::, first_op: AddCodeOp, second_op: AddCodeOp) -> Self{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_op` [INFO] [stdout] --> write_functions/src/skeleton.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | fn create_op(tokens: Vec::, first_op: AddCodeOp, second_op: AddCodeOp) -> Self{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_op` [INFO] [stdout] --> write_functions/src/skeleton.rs:74:62 [INFO] [stdout] | [INFO] [stdout] 74 | fn create_op(tokens: Vec::, first_op: AddCodeOp, second_op: AddCodeOp) -> Self{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `max` on type `&MarkAlphabet` [INFO] [stdout] --> write_functions/src/stance.rs:69:47 [INFO] [stdout] | [INFO] [stdout] 69 | self.order.get(&index).ok_or(self.max) [INFO] [stdout] | ^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 69 | self.order.get(&index).ok_or(self.max()) [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `count` and `order` in initializer of `MarkFunction` [INFO] [stdout] --> write_functions/src/stance.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | MarkFunction{ [INFO] [stdout] | ^^^^^^^^^^^^ missing `count` and `order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0106, E0107, E0412, E0425, E0433, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> write_functions/src/skeleton.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | fn create_op(tokens: Vec::, first_op: AddCodeOp, second_op: AddCodeOp) -> Self{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `write_functions` (lib) due to 26 previous errors; 3 warnings emitted [INFO] [stdout] warning: unused variable: `first_op` [INFO] [stdout] --> write_functions/src/skeleton.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | fn create_op(tokens: Vec::, first_op: AddCodeOp, second_op: AddCodeOp) -> Self{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `second_op` [INFO] [stdout] --> write_functions/src/skeleton.rs:74:62 [INFO] [stdout] | [INFO] [stdout] 74 | fn create_op(tokens: Vec::, first_op: AddCodeOp, second_op: AddCodeOp) -> Self{ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0106, E0107, E0412, E0425, E0433, E0615. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `write_functions` (lib test) due to 26 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e953786e33866798cb58574a6105783d2a45e086f6a22f027a330a0e6a036cd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e953786e33866798cb58574a6105783d2a45e086f6a22f027a330a0e6a036cd7", kill_on_drop: false }` [INFO] [stdout] e953786e33866798cb58574a6105783d2a45e086f6a22f027a330a0e6a036cd7