[INFO] cloning repository https://github.com/jeremysalwen/adventofcode2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeremysalwen/adventofcode2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremysalwen%2Fadventofcode2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremysalwen%2Fadventofcode2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 537d64c389ddefc1aed1c0ea1f2da48fac91424b [INFO] testing jeremysalwen/adventofcode2021 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%2Fjeremysalwen%2Fadventofcode2021" "/workspace/builds/worker-111/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-111/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeremysalwen/adventofcode2021 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] removed /workspace/builds/worker-111/source/rust-toolchain [INFO] started tweaking git repo https://github.com/jeremysalwen/adventofcode2021 [INFO] finished tweaking git repo https://github.com/jeremysalwen/adventofcode2021 [INFO] tweaked toml for git repo https://github.com/jeremysalwen/adventofcode2021 written to /workspace/builds/worker-111/source/Cargo.toml [INFO] crate git repo https://github.com/jeremysalwen/adventofcode2021 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-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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] b739a3cc7212ef0f13fda3916d7764c8a0af58483eaccd9afbba8b00d66282c6 [INFO] running `Command { std: "docker" "start" "-a" "b739a3cc7212ef0f13fda3916d7764c8a0af58483eaccd9afbba8b00d66282c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b739a3cc7212ef0f13fda3916d7764c8a0af58483eaccd9afbba8b00d66282c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b739a3cc7212ef0f13fda3916d7764c8a0af58483eaccd9afbba8b00d66282c6", kill_on_drop: false }` [INFO] [stdout] b739a3cc7212ef0f13fda3916d7764c8a0af58483eaccd9afbba8b00d66282c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-111/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] ebd2f934e64069a0016b4feeebbf2fca4cf6a0265c35657bd6e5274e1d63297c [INFO] running `Command { std: "docker" "start" "-a" "ebd2f934e64069a0016b4feeebbf2fca4cf6a0265c35657bd6e5274e1d63297c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bimap v0.6.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling array2d v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling bitreader v0.3.4 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling counter v0.5.2 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling ndarray v0.15.4 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling a2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use z3::ast::Ast; [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | vars: &HashMap>, [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | ctx: &'c z3::Context, [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> z3::ast::BV<'c> { [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | Arg::Lit(v) => z3::ast::BV::from_i64(ctx, *v, BIT_WIDTH), [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:69:49 [INFO] [stdout] | [INFO] [stdout] 69 | fn apply<'a, 'c: 'a, I: Iterator>>( [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | vars: &mut HashMap>, [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | ctx: &'c z3::Context, [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | optimize: &z3::Optimize, [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | let (c, val): (char, z3::ast::BV) = match self { [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:84:43 [INFO] [stdout] | [INFO] [stdout] 84 | optimize.assert(&den._eq(&z3::ast::BV::from_i64(ctx, 0, BIT_WIDTH)).not()); [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:89:43 [INFO] [stdout] | [INFO] [stdout] 89 | optimize.assert(&den._eq(&z3::ast::BV::from_i64(ctx, 0, BIT_WIDTH)).not()); [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | &z3::ast::BV::from_i64(ctx, 1, BIT_WIDTH), [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | &z3::ast::BV::from_i64(ctx, 0, BIT_WIDTH), [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | let var = z3::ast::BV::new_const(ctx, format!("{}{}", c, step), BIT_WIDTH); [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | let z3_conf = z3::Config::new(); [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | let optimize = z3::Optimize::new(&ctx); [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | .map(|i| z3::ast::BV::new_const(&ctx, format!("digit_{}", i), BIT_WIDTH)) [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | optimize.assert(&input.bvslt(&z3::ast::BV::from_i64(&ctx, 10, BIT_WIDTH))); [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:123:39 [INFO] [stdout] | [INFO] [stdout] 123 | optimize.assert(&input.bvsge(&z3::ast::BV::from_i64(&ctx, 1, BIT_WIDTH))); [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | let mut curr_values = HashMap::::new(); [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | curr_values.insert(var, z3::ast::BV::from_i64(&ctx, 0, BIT_WIDTH)); [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | ._eq(&z3::ast::BV::from_i64(&ctx, 0, BIT_WIDTH).into()), [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | z3::SatResult::Unsat => println!("UNSAT"), [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | z3::SatResult::Unknown => println!("UNKNOWN!"), [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | z3::SatResult::Sat => { [INFO] [stdout] | ^^ use of undeclared crate or module `z3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `z3` [INFO] [stdout] --> src/twentyfour.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | let ctx = &z3::Context::new(&z3_conf); [INFO] [stdout] | ^^^^^^^ not found in `z3` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `counter::Counter` [INFO] [stdout] --> src/fourteen.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use counter::Counter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/fourteen.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/fourteen.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::iproduct` [INFO] [stdout] --> src/nine.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::iproduct; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/one.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `self` [INFO] [stdout] --> src/one.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `array2d::Array2D` [INFO] [stdout] --> src/thirteen.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use array2d::Array2D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/thirteen.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/three.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `self` [INFO] [stdout] --> src/three.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/two.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/two.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `self` [INFO] [stdout] --> src/two.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(int_log)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(slice_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(array_zip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(int_abs_diff)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `int_abs_diff` has been stable since 1.60.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(int_abs_diff)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for mutable reference `&mut I` in the current scope [INFO] [stdout] --> src/twentyfour.rs:79:48 [INFO] [stdout] | [INFO] [stdout] 79 | Op::Inp(Arg::Var(c)) => (*c, input.next().unwrap().clone()), [INFO] [stdout] | ^^^^ method not found in `&mut I` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eval` found for reference `&Arg` in the current scope [INFO] [stdout] --> src/twentyfour.rs:80:67 [INFO] [stdout] | [INFO] [stdout] 80 | Op::Add(Arg::Var(c), val) => (*c, var_as_int(c) + val.eval(vars, ctx)), [INFO] [stdout] | ^^^^ method not found in `&Arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eval` found for reference `&Arg` in the current scope [INFO] [stdout] --> src/twentyfour.rs:81:67 [INFO] [stdout] | [INFO] [stdout] 81 | Op::Mul(Arg::Var(c), val) => (*c, var_as_int(c) * val.eval(vars, ctx)), [INFO] [stdout] | ^^^^ method not found in `&Arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eval` found for reference `&Arg` in the current scope [INFO] [stdout] --> src/twentyfour.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | let den = val.eval(vars, ctx); [INFO] [stdout] | ^^^^ method not found in `&Arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eval` found for reference `&Arg` in the current scope [INFO] [stdout] --> src/twentyfour.rs:88:31 [INFO] [stdout] | [INFO] [stdout] 88 | let den = val.eval(vars, ctx); [INFO] [stdout] | ^^^^ method not found in `&Arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `eval` found for reference `&Arg` in the current scope [INFO] [stdout] --> src/twentyfour.rs:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | var_as_int(c)._eq(&val.eval(vars, ctx)).ite( [INFO] [stdout] | ^^^^ method not found in `&Arg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/twentyfour.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::{Mul, Not}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Not` [INFO] [stdout] --> src/twentyfour.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ops::{Mul, Not}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0554, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `a2021` due to 38 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ebd2f934e64069a0016b4feeebbf2fca4cf6a0265c35657bd6e5274e1d63297c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebd2f934e64069a0016b4feeebbf2fca4cf6a0265c35657bd6e5274e1d63297c", kill_on_drop: false }` [INFO] [stdout] ebd2f934e64069a0016b4feeebbf2fca4cf6a0265c35657bd6e5274e1d63297c