[INFO] cloning repository https://github.com/hatellezp/foxidation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hatellezp/foxidation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhatellezp%2Ffoxidation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhatellezp%2Ffoxidation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8e7ff7cfbbf284b41afb2ddab5a29abe0a82d9f [INFO] checking hatellezp/foxidation against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhatellezp%2Ffoxidation" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hatellezp/foxidation on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hatellezp/foxidation [INFO] finished tweaking git repo https://github.com/hatellezp/foxidation [INFO] tweaked toml for git repo https://github.com/hatellezp/foxidation written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/hatellezp/foxidation already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ceece0afd6e15095e150527489a4ea9000ad5689bbb686447a60f7af82a67e9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3ceece0afd6e15095e150527489a4ea9000ad5689bbb686447a60f7af82a67e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ceece0afd6e15095e150527489a4ea9000ad5689bbb686447a60f7af82a67e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ceece0afd6e15095e150527489a4ea9000ad5689bbb686447a60f7af82a67e9", kill_on_drop: false }` [INFO] [stdout] 3ceece0afd6e15095e150527489a4ea9000ad5689bbb686447a60f7af82a67e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0ed51a89e4d2d38941ebaa4f3a98d541b0c9fc786c5058c58f2c6a38fca19bb1 [INFO] running `Command { std: "docker" "start" "-a" "0ed51a89e4d2d38941ebaa4f3a98d541b0c9fc786c5058c58f2c6a38fca19bb1", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking parser_learning v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `colored` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `colored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `colored` [INFO] [stdout] --> src/core/symbols.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::{Colorize, ColoredString}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `colored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> src/parser/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> src/parser/cli.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> src/parser/cli.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[structopt( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::symbols::Type` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::core::symbols::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expression`, `Literal` [INFO] [stdout] --> src/main.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::symbols::{Expression, Literal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> src/core/symbols.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Literal::*` [INFO] [stdout] --> src/core/symbols.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | use Literal::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/parser/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::symbols::Type::Exists` [INFO] [stdout] --> src/parser/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::symbols::Type::Exists; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expression`, `Literal`, `Type` [INFO] [stdout] --> src/parser/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::core::symbols::{Expression, Literal, Type}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Cli` in the current scope [INFO] [stdout] --> src/main.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let args = Cli::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Cli` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/cli.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Cli { [INFO] [stdout] | -------------- function or associated item `from_args` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blue` found for reference `&String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:126:52 [INFO] [stdout] | [INFO] [stdout] 126 | Literal::Var(v) => write!(f, "'{}'", v.blue()), [INFO] [stdout] | ^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blue` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:127:66 [INFO] [stdout] | [INFO] [stdout] 127 | Literal::Integer(i) => write!(f, "{}", i.to_string().blue()), [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blue` found for reference `&String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:128:57 [INFO] [stdout] | [INFO] [stdout] 128 | Literal::Constant(c) => write!(f, "'{}'", c.blue()), [INFO] [stdout] | ^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for reference `&String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:129:57 [INFO] [stdout] | [INFO] [stdout] 129 | Literal::RelName(r, _) => write!(f, "{}", r.red()), //[{}]", *r, a), [INFO] [stdout] | ^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for reference `&String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:130:58 [INFO] [stdout] | [INFO] [stdout] 130 | Literal::FuncName(r, _) => write!(f, "{}", r.red()), //[{}]", *r, a), [INFO] [stdout] | ^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for reference `&String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:131:58 [INFO] [stdout] | [INFO] [stdout] 131 | Literal::FormName(r, _) => write!(f, "{}", r.red()), [INFO] [stdout] | ^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | a.deref().to_string().red(), [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blue` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:138:47 [INFO] [stdout] | [INFO] [stdout] 138 | .map(|x| format!("{}", x).blue().to_string()) [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blue` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:209:58 [INFO] [stdout] | [INFO] [stdout] 209 | literals = v.iter().map(|x| format!("{}", x).blue().to_string()).collect::>(); [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:299:57 [INFO] [stdout] | [INFO] [stdout] 299 | Expression::True => format!("{}", TOP_CHAR).green().to_string(), [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:300:58 [INFO] [stdout] | [INFO] [stdout] 300 | Expression::False => format!("{}", BOT_CHAR).green().to_string(), [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:305:52 [INFO] [stdout] | [INFO] [stdout] 305 | format!("{}({})", name.to_string().red().to_string(), vars) [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:312:61 [INFO] [stdout] | [INFO] [stdout] 312 | ... format!("{}({}) {} {}", literal.to_string().red().to_string(), vars, TRIPLE_BAR_CHAR.to_string().yellow().to_string(), expr_string) [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:312:114 [INFO] [stdout] | [INFO] [stdout] 312 | ...).to_string(), vars, TRIPLE_BAR_CHAR.to_string().yellow().to_string(), expr_string) [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/core/symbols.rs:314:75 [INFO] [stdout] | [INFO] [stdout] 314 | Expression::BasicEquality(a, b) => format!("{} {} {}", a, "=".yellow(), b), [INFO] [stdout] | ^^^^^^ method not found in `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/core/symbols.rs:316:44 [INFO] [stdout] | [INFO] [stdout] 316 | format!("{} {} {}", a, "=".yellow(), b.deref().to_string_complex(false)) [INFO] [stdout] | ^^^^^^ method not found in `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/core/symbols.rs:321:21 [INFO] [stdout] | [INFO] [stdout] 321 | "=".yellow(), [INFO] [stdout] | ^^^^^^ method not found in `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:325:59 [INFO] [stdout] | [INFO] [stdout] 325 | true => format!("{}({})", NOT.to_string().yellow(), a.deref().to_string_complex(false)), [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:326:58 [INFO] [stdout] | [INFO] [stdout] 326 | false => format!("{}{}", NOT.to_string().yellow(), a.deref().to_string_complex(false)), [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:335:69 [INFO] [stdout] | [INFO] [stdout] 335 | Expression::And(_) => format!(" {} ", AND_CHAR).yellow().to_string(), [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:336:67 [INFO] [stdout] | [INFO] [stdout] 336 | Expression::Or(_) => format!(" {} ", OR_CHAR).yellow().to_string(), [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:341:66 [INFO] [stdout] | [INFO] [stdout] 341 | (0, Type::And, _) => format!("{}", TOP_CHAR).green().to_string(), [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:342:65 [INFO] [stdout] | [INFO] [stdout] 342 | (0, Type::Or, _) => format!("{}", BOT_CHAR).green().to_string(), [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:351:48 [INFO] [stdout] | [INFO] [stdout] 351 | IMPLIES_RIGHT_CHAR.to_string().yellow().to_string(), [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:357:45 [INFO] [stdout] | [INFO] [stdout] 357 | EQUIVALENT_CHAR.to_string().yellow().to_string(), [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `magenta` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:364:73 [INFO] [stdout] | [INFO] [stdout] 364 | Expression::Exists(_, _) => EXISTS_CHAR.to_string().magenta().to_string(), [INFO] [stdout] | ^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `magenta` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:365:73 [INFO] [stdout] | [INFO] [stdout] 365 | Expression::ForAll(_, _) => FORALL_CHAR.to_string().magenta().to_string(), [INFO] [stdout] | ^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `parser_learning` due to 35 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `colored` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `colored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `colored` [INFO] [stdout] --> src/core/symbols.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use colored::{Colorize, ColoredString}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `colored` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `structopt` [INFO] [stdout] --> src/parser/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use structopt::StructOpt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `structopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the derive macro `StructOpt` [INFO] [stdout] --> src/parser/cli.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `structopt` in this scope [INFO] [stdout] --> src/parser/cli.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[structopt( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::symbols::Type` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::core::symbols::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expression`, `Literal` [INFO] [stdout] --> src/main.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::symbols::{Expression, Literal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> src/core/symbols.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Literal::*` [INFO] [stdout] --> src/core/symbols.rs:405:13 [INFO] [stdout] | [INFO] [stdout] 405 | use Literal::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/parser/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::symbols::Type::Exists` [INFO] [stdout] --> src/parser/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core::symbols::Type::Exists; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expression`, `Literal`, `Type` [INFO] [stdout] --> src/parser/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::core::symbols::{Expression, Literal, Type}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_args` found for struct `Cli` in the current scope [INFO] [stdout] --> src/main.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let args = Cli::from_args(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Cli` [INFO] [stdout] | [INFO] [stdout] ::: src/parser/cli.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Cli { [INFO] [stdout] | -------------- function or associated item `from_args` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blue` found for reference `&String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:126:52 [INFO] [stdout] | [INFO] [stdout] 126 | Literal::Var(v) => write!(f, "'{}'", v.blue()), [INFO] [stdout] | ^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blue` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:127:66 [INFO] [stdout] | [INFO] [stdout] 127 | Literal::Integer(i) => write!(f, "{}", i.to_string().blue()), [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blue` found for reference `&String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:128:57 [INFO] [stdout] | [INFO] [stdout] 128 | Literal::Constant(c) => write!(f, "'{}'", c.blue()), [INFO] [stdout] | ^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for reference `&String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:129:57 [INFO] [stdout] | [INFO] [stdout] 129 | Literal::RelName(r, _) => write!(f, "{}", r.red()), //[{}]", *r, a), [INFO] [stdout] | ^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for reference `&String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:130:58 [INFO] [stdout] | [INFO] [stdout] 130 | Literal::FuncName(r, _) => write!(f, "{}", r.red()), //[{}]", *r, a), [INFO] [stdout] | ^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for reference `&String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:131:58 [INFO] [stdout] | [INFO] [stdout] 131 | Literal::FormName(r, _) => write!(f, "{}", r.red()), [INFO] [stdout] | ^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:135:39 [INFO] [stdout] | [INFO] [stdout] 135 | a.deref().to_string().red(), [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blue` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:138:47 [INFO] [stdout] | [INFO] [stdout] 138 | .map(|x| format!("{}", x).blue().to_string()) [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blue` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:209:58 [INFO] [stdout] | [INFO] [stdout] 209 | literals = v.iter().map(|x| format!("{}", x).blue().to_string()).collect::>(); [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:299:57 [INFO] [stdout] | [INFO] [stdout] 299 | Expression::True => format!("{}", TOP_CHAR).green().to_string(), [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:300:58 [INFO] [stdout] | [INFO] [stdout] 300 | Expression::False => format!("{}", BOT_CHAR).green().to_string(), [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:305:52 [INFO] [stdout] | [INFO] [stdout] 305 | format!("{}({})", name.to_string().red().to_string(), vars) [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:312:61 [INFO] [stdout] | [INFO] [stdout] 312 | ... format!("{}({}) {} {}", literal.to_string().red().to_string(), vars, TRIPLE_BAR_CHAR.to_string().yellow().to_string(), expr_string) [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:312:114 [INFO] [stdout] | [INFO] [stdout] 312 | ...).to_string(), vars, TRIPLE_BAR_CHAR.to_string().yellow().to_string(), expr_string) [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/core/symbols.rs:314:75 [INFO] [stdout] | [INFO] [stdout] 314 | Expression::BasicEquality(a, b) => format!("{} {} {}", a, "=".yellow(), b), [INFO] [stdout] | ^^^^^^ method not found in `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/core/symbols.rs:316:44 [INFO] [stdout] | [INFO] [stdout] 316 | format!("{} {} {}", a, "=".yellow(), b.deref().to_string_complex(false)) [INFO] [stdout] | ^^^^^^ method not found in `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/core/symbols.rs:321:21 [INFO] [stdout] | [INFO] [stdout] 321 | "=".yellow(), [INFO] [stdout] | ^^^^^^ method not found in `&'static str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:325:59 [INFO] [stdout] | [INFO] [stdout] 325 | true => format!("{}({})", NOT.to_string().yellow(), a.deref().to_string_complex(false)), [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:326:58 [INFO] [stdout] | [INFO] [stdout] 326 | false => format!("{}{}", NOT.to_string().yellow(), a.deref().to_string_complex(false)), [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:335:69 [INFO] [stdout] | [INFO] [stdout] 335 | Expression::And(_) => format!(" {} ", AND_CHAR).yellow().to_string(), [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:336:67 [INFO] [stdout] | [INFO] [stdout] 336 | Expression::Or(_) => format!(" {} ", OR_CHAR).yellow().to_string(), [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:341:66 [INFO] [stdout] | [INFO] [stdout] 341 | (0, Type::And, _) => format!("{}", TOP_CHAR).green().to_string(), [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:342:65 [INFO] [stdout] | [INFO] [stdout] 342 | (0, Type::Or, _) => format!("{}", BOT_CHAR).green().to_string(), [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:351:48 [INFO] [stdout] | [INFO] [stdout] 351 | IMPLIES_RIGHT_CHAR.to_string().yellow().to_string(), [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:357:45 [INFO] [stdout] | [INFO] [stdout] 357 | EQUIVALENT_CHAR.to_string().yellow().to_string(), [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `magenta` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:364:73 [INFO] [stdout] | [INFO] [stdout] 364 | Expression::Exists(_, _) => EXISTS_CHAR.to_string().magenta().to_string(), [INFO] [stdout] | ^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `magenta` found for struct `String` in the current scope [INFO] [stdout] --> src/core/symbols.rs:365:73 [INFO] [stdout] | [INFO] [stdout] 365 | Expression::ForAll(_, _) => FORALL_CHAR.to_string().magenta().to_string(), [INFO] [stdout] | ^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0ed51a89e4d2d38941ebaa4f3a98d541b0c9fc786c5058c58f2c6a38fca19bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ed51a89e4d2d38941ebaa4f3a98d541b0c9fc786c5058c58f2c6a38fca19bb1", kill_on_drop: false }` [INFO] [stdout] 0ed51a89e4d2d38941ebaa4f3a98d541b0c9fc786c5058c58f2c6a38fca19bb1