[INFO] cloning repository https://github.com/augustt198/truth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/augustt198/truth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faugustt198%2Ftruth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faugustt198%2Ftruth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72b484fed78017ecc76f3099c42b461554e44fcf [INFO] checking augustt198/truth/72b484fed78017ecc76f3099c42b461554e44fcf against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faugustt198%2Ftruth" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/augustt198/truth on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/augustt198/truth [INFO] finished tweaking git repo https://github.com/augustt198/truth [INFO] tweaked toml for git repo https://github.com/augustt198/truth written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/augustt198/truth 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9219eee5d4e77b4f95309bcdb8e2a035345715598669f5667c29c325b424de3 [INFO] running `Command { std: "docker" "start" "-a" "d9219eee5d4e77b4f95309bcdb8e2a035345715598669f5667c29c325b424de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9219eee5d4e77b4f95309bcdb8e2a035345715598669f5667c29c325b424de3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9219eee5d4e77b4f95309bcdb8e2a035345715598669f5667c29c325b424de3", kill_on_drop: false }` [INFO] [stdout] d9219eee5d4e77b4f95309bcdb8e2a035345715598669f5667c29c325b424de3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9de0256dd297fe53d905fbdec4d3d7459b6150c38ef5ffaddabbc6f70d3fdb91 [INFO] running `Command { std: "docker" "start" "-a" "9de0256dd297fe53d905fbdec4d3d7459b6150c38ef5ffaddabbc6f70d3fdb91", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking truth v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::num::Int` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::Int; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::Int` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::num::Int; [INFO] [stdout] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:140:3 [INFO] [stdout] | [INFO] [stdout] 140 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:140:3 [INFO] [stdout] | [INFO] [stdout] 140 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:156:3 [INFO] [stdout] | [INFO] [stdout] 156 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:157:3 [INFO] [stdout] | [INFO] [stdout] 157 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:156:3 [INFO] [stdout] | [INFO] [stdout] 156 | #[deriving(Clone)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:157:3 [INFO] [stdout] | [INFO] [stdout] 157 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 164 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 164 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:235:3 [INFO] [stdout] | [INFO] [stdout] 235 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:235:3 [INFO] [stdout] | [INFO] [stdout] 235 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/main.rs:241:3 [INFO] [stdout] | [INFO] [stdout] 241 | #[deriving(Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | fn repeat(self, times: uint) -> String; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | fn repeat(self, times: uint) -> String { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | pos: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | col: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | line: uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | line: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | col_range: (uint, uint) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | col_range: (uint, uint) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | col: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | fn repeat(self, times: uint) -> String; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | line: uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | fn repeat(self, times: uint) -> String { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | pos: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | for idx in range(1u, self.components.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | col: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 223 | for num in range(0i, tests) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | line: uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | line: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | for pos in range(0u, vars.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 72 | col_range: (uint, uint) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:260:10 [INFO] [stdout] | [INFO] [stdout] 260 | pos: uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | col_range: (uint, uint) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut i = 0u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | col: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | line: uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | for idx in range(1u, self.components.len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | for idx in range(1u, self.components.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 223 | for num in range(0i, tests) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/main.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | let tests = 2i.pow(vars.len()); [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | for pos in range(0u, vars.len()) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/main.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | for num in range(0i, tests) { [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:260:10 [INFO] [stdout] | [INFO] [stdout] 260 | pos: uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | for pos in range(0u, vars.len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let mut i = 0u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 177 | for idx in range(1u, self.components.len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/main.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | let tests = 2i.pow(vars.len()); [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/main.rs:223:26 [INFO] [stdout] | [INFO] [stdout] 223 | for num in range(0i, tests) { [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:225:30 [INFO] [stdout] | [INFO] [stdout] 225 | for pos in range(0u, vars.len()) { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | Some(self.source.as_slice().char_at(self.pos)) [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | Some(self.source.as_slice().char_at(self.pos)) [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Token` in the current scope [INFO] [stdout] --> src/main.rs:299:39 [INFO] [stdout] | [INFO] [stdout] 158 | struct Token { [INFO] [stdout] | ------------ method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 299 | op.ops.push(token.clone()); [INFO] [stdout] | ^^^^^ method not found in `Token` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Token` in the current scope [INFO] [stdout] --> src/main.rs:299:39 [INFO] [stdout] | [INFO] [stdout] 158 | struct Token { [INFO] [stdout] | ------------ method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 299 | op.ops.push(token.clone()); [INFO] [stdout] | ^^^^^ method not found in `Token` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Type` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:328:65 [INFO] [stdout] | [INFO] [stdout] 328 | ... format!("Unexpected token: {}", other), next.clone() [INFO] [stdout] | ^^^^^ `Type` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Type` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Type` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:328:65 [INFO] [stdout] | [INFO] [stdout] 328 | ... format!("Unexpected token: {}", other), next.clone() [INFO] [stdout] | ^^^^^ `Type` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Type` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Token` in the current scope [INFO] [stdout] --> src/main.rs:328:78 [INFO] [stdout] | [INFO] [stdout] 158 | struct Token { [INFO] [stdout] | ------------ method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 328 | format!("Unexpected token: {}", other), next.clone() [INFO] [stdout] | ^^^^^ method not found in `Token` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Token` in the current scope [INFO] [stdout] --> src/main.rs:328:78 [INFO] [stdout] | [INFO] [stdout] 158 | struct Token { [INFO] [stdout] | ------------ method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 328 | format!("Unexpected token: {}", other), next.clone() [INFO] [stdout] | ^^^^^ method not found in `Token` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Type` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:340:57 [INFO] [stdout] | [INFO] [stdout] 340 | format!("Unexpected token: {}", other), token.clone() [INFO] [stdout] | ^^^^^ `Type` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Type` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Type` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:340:57 [INFO] [stdout] | [INFO] [stdout] 340 | format!("Unexpected token: {}", other), token.clone() [INFO] [stdout] | ^^^^^ `Type` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Type` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Token` in the current scope [INFO] [stdout] --> src/main.rs:340:71 [INFO] [stdout] | [INFO] [stdout] 158 | struct Token { [INFO] [stdout] | ------------ method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 340 | format!("Unexpected token: {}", other), token.clone() [INFO] [stdout] | ^^^^^ method not found in `Token` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Token` in the current scope [INFO] [stdout] --> src/main.rs:340:71 [INFO] [stdout] | [INFO] [stdout] 158 | struct Token { [INFO] [stdout] | ------------ method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 340 | format!("Unexpected token: {}", other), token.clone() [INFO] [stdout] | ^^^^^ method not found in `Token` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `val0` found for reference `&(&String, &bool)` in the current scope [INFO] [stdout] --> src/main.rs:407:33 [INFO] [stdout] | [INFO] [stdout] 407 | sorted.sort_by(|a, b| a.val0().cmp(b.val0())); [INFO] [stdout] | ^^^^ method not found in `&(&String, &bool)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `val0` found for reference `&(&String, &bool)` in the current scope [INFO] [stdout] --> src/main.rs:407:33 [INFO] [stdout] | [INFO] [stdout] 407 | sorted.sort_by(|a, b| a.val0().cmp(b.val0())); [INFO] [stdout] | ^^^^ method not found in `&(&String, &bool)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `val0` found for reference `&(&String, &bool)` in the current scope [INFO] [stdout] --> src/main.rs:407:46 [INFO] [stdout] | [INFO] [stdout] 407 | sorted.sort_by(|a, b| a.val0().cmp(b.val0())); [INFO] [stdout] | ^^^^ method not found in `&(&String, &bool)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `val0` found for reference `&(&String, &bool)` in the current scope [INFO] [stdout] --> src/main.rs:407:46 [INFO] [stdout] | [INFO] [stdout] 407 | sorted.sort_by(|a, b| a.val0().cmp(b.val0())); [INFO] [stdout] | ^^^^ method not found in `&(&String, &bool)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Operation` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:414:36 [INFO] [stdout] | [INFO] [stdout] 414 | println!("> Parsed tree:\n{}", root); [INFO] [stdout] | ^^^^ `Operation` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Operation` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Operation` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:414:36 [INFO] [stdout] | [INFO] [stdout] 414 | println!("> Parsed tree:\n{}", root); [INFO] [stdout] | ^^^^ `Operation` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Operation` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Vec` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:415:33 [INFO] [stdout] | [INFO] [stdout] 415 | println!("> Variables: {}", vars); [INFO] [stdout] | ^^^^ `Vec` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Vec` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Vec` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/main.rs:415:33 [INFO] [stdout] | [INFO] [stdout] 415 | println!("> Variables: {}", vars); [INFO] [stdout] | ^^^^ `Vec` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Vec` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `truth` (bin "truth") due to 38 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `truth` (bin "truth" test) due to 38 previous errors [INFO] running `Command { std: "docker" "inspect" "9de0256dd297fe53d905fbdec4d3d7459b6150c38ef5ffaddabbc6f70d3fdb91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9de0256dd297fe53d905fbdec4d3d7459b6150c38ef5ffaddabbc6f70d3fdb91", kill_on_drop: false }` [INFO] [stdout] 9de0256dd297fe53d905fbdec4d3d7459b6150c38ef5ffaddabbc6f70d3fdb91