[INFO] updating cached repository augustt198/truth [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/augustt198/truth [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/augustt198/truth" "work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/augustt198/truth"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/augustt198/truth'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/augustt198/truth" "work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/augustt198/truth"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/augustt198/truth'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 72b484fed78017ecc76f3099c42b461554e44fcf [INFO] sha for GitHub repo augustt198/truth: 72b484fed78017ecc76f3099c42b461554e44fcf [INFO] validating manifest of augustt198/truth on toolchain master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of augustt198/truth on toolchain try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing augustt198/truth [INFO] finished frobbing augustt198/truth [INFO] frobbed toml for augustt198/truth written to work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/augustt198/truth/Cargo.toml [INFO] started frobbing augustt198/truth [INFO] finished frobbing augustt198/truth [INFO] frobbed toml for augustt198/truth written to work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/augustt198/truth/Cargo.toml [INFO] crate augustt198/truth already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/augustt198/truth/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking augustt198/truth against master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 for pr-59199 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-59199/worker-5/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/augustt198/truth:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 78dfb1a6b2d102b0cd15ebf5de70e2bd912b7a7db82ae6186993824f102c54d2 [INFO] running `"docker" "start" "-a" "78dfb1a6b2d102b0cd15ebf5de70e2bd912b7a7db82ae6186993824f102c54d2"` [INFO] [stderr] Checking truth v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: invalid width `` for integer literal [INFO] [stderr] --> src/main.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | let mut i = 0u; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: valid widths are 8, 16, 32, 64 and 128 [INFO] [stderr] [INFO] [stderr] error: invalid width `` for integer literal [INFO] [stderr] --> src/main.rs:177:26 [INFO] [stderr] | [INFO] [stderr] 177 | for idx in range(1u, self.components.len()) { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: valid widths are 8, 16, 32, 64 and 128 [INFO] [stderr] [INFO] [stderr] error: invalid width `` for integer literal [INFO] [stderr] --> src/main.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | let tests = 2i.pow(vars.len()); [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: valid widths are 8, 16, 32, 64 and 128 [INFO] [stderr] [INFO] [stderr] error: invalid width `` for integer literal [INFO] [stderr] --> src/main.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | for num in range(0i, tests) { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: valid widths are 8, 16, 32, 64 and 128 [INFO] [stderr] [INFO] [stderr] error: invalid width `` for integer literal [INFO] [stderr] --> src/main.rs:225:30 [INFO] [stderr] | [INFO] [stderr] 225 | for pos in range(0u, vars.len()) { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: valid widths are 8, 16, 32, 64 and 128 [INFO] [stderr] [INFO] [stderr] error: invalid width `` for integer literal [INFO] [stderr] --> src/main.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | let mut i = 0u; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: valid widths are 8, 16, 32, 64 and 128 [INFO] [stderr] [INFO] [stderr] error: invalid width `` for integer literal [INFO] [stderr] --> src/main.rs:177:26 [INFO] [stderr] | [INFO] [stderr] 177 | for idx in range(1u, self.components.len()) { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: valid widths are 8, 16, 32, 64 and 128 [INFO] [stderr] [INFO] [stderr] error: invalid width `` for integer literal [INFO] [stderr] --> src/main.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | let tests = 2i.pow(vars.len()); [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: valid widths are 8, 16, 32, 64 and 128 [INFO] [stderr] [INFO] [stderr] error: invalid width `` for integer literal [INFO] [stderr] --> src/main.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | for num in range(0i, tests) { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: valid widths are 8, 16, 32, 64 and 128 [INFO] [stderr] [INFO] [stderr] error: invalid width `` for integer literal [INFO] [stderr] --> src/main.rs:225:30 [INFO] [stderr] | [INFO] [stderr] 225 | for pos in range(0u, vars.len()) { [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: valid widths are 8, 16, 32, 64 and 128 [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:68:3 [INFO] [stderr] | [INFO] [stderr] 68 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:140:3 [INFO] [stderr] | [INFO] [stderr] 140 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:141:3 [INFO] [stderr] | [INFO] [stderr] 141 | #[deriving(Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:156:3 [INFO] [stderr] | [INFO] [stderr] 156 | #[deriving(Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:157:3 [INFO] [stderr] | [INFO] [stderr] 157 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:164:3 [INFO] [stderr] | [INFO] [stderr] 164 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:235:3 [INFO] [stderr] | [INFO] [stderr] 235 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:241:3 [INFO] [stderr] | [INFO] [stderr] 241 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::Int` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:68:3 [INFO] [stderr] | [INFO] [stderr] 68 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:140:3 [INFO] [stderr] | [INFO] [stderr] 140 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:141:3 [INFO] [stderr] | [INFO] [stderr] 141 | #[deriving(Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:156:3 [INFO] [stderr] | [INFO] [stderr] 156 | #[deriving(Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:157:3 [INFO] [stderr] | [INFO] [stderr] 157 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:164:3 [INFO] [stderr] | [INFO] [stderr] 164 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:235:3 [INFO] [stderr] | [INFO] [stderr] 235 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: The attribute `deriving` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642) [INFO] [stderr] --> src/main.rs:241:3 [INFO] [stderr] | [INFO] [stderr] 241 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add #![feature(custom_attribute)] to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::num::Int` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^ no `Int` in `num` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | fn repeat(self, times: uint) -> String; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:20:28 [INFO] [stderr] | [INFO] [stderr] 20 | fn repeat(self, times: uint) -> String { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | pos: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | col: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | line: uint [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:71:17 [INFO] [stderr] | [INFO] [stderr] 71 | line: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:72:18 [INFO] [stderr] | [INFO] [stderr] 72 | col_range: (uint, uint) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:72:24 [INFO] [stderr] | [INFO] [stderr] 72 | col_range: (uint, uint) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:160:17 [INFO] [stderr] | [INFO] [stderr] 160 | col: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:161:17 [INFO] [stderr] | [INFO] [stderr] 161 | line: uint [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:177:20 [INFO] [stderr] | [INFO] [stderr] 177 | for idx in range(1u, self.components.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:223:20 [INFO] [stderr] | [INFO] [stderr] 223 | for num in range(0i, tests) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:225:24 [INFO] [stderr] | [INFO] [stderr] 225 | for pos in range(0u, vars.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:260:10 [INFO] [stderr] | [INFO] [stderr] 260 | pos: uint [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::num::Int` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | fn repeat(self, times: uint) -> String; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:20:28 [INFO] [stderr] | [INFO] [stderr] 20 | fn repeat(self, times: uint) -> String { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | pos: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | col: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | line: uint [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:71:17 [INFO] [stderr] | [INFO] [stderr] 71 | line: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:72:18 [INFO] [stderr] | [INFO] [stderr] 72 | col_range: (uint, uint) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:72:24 [INFO] [stderr] | [INFO] [stderr] 72 | col_range: (uint, uint) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:160:17 [INFO] [stderr] | [INFO] [stderr] 160 | col: uint, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:161:17 [INFO] [stderr] | [INFO] [stderr] 161 | line: uint [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:177:20 [INFO] [stderr] | [INFO] [stderr] 177 | for idx in range(1u, self.components.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:223:20 [INFO] [stderr] | [INFO] [stderr] 223 | for num in range(0i, tests) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `range` in this scope [INFO] [stderr] --> src/main.rs:225:24 [INFO] [stderr] | [INFO] [stderr] 225 | for pos in range(0u, vars.len()) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:260:10 [INFO] [stderr] | [INFO] [stderr] 260 | pos: uint [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::num::Int` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::num::Int; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:47:30 [INFO] [stderr] | [INFO] [stderr] 47 | Some(self.source.as_slice().char_at(self.pos)) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0689]: can't call method `pow` on ambiguous numeric type `{integer}` [INFO] [stderr] --> src/main.rs:221:24 [INFO] [stderr] | [INFO] [stderr] 221 | let tests = 2i.pow(vars.len()); [INFO] [stderr] | ^^^ [INFO] [stderr] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stderr] | [INFO] [stderr] 221 | let tests = 2i_i32.pow(vars.len()); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for type `Token` in the current scope [INFO] [stderr] --> src/main.rs:299:39 [INFO] [stderr] | [INFO] [stderr] 158 | struct Token { [INFO] [stderr] | ------------ method `clone` not found for this [INFO] [stderr] ... [INFO] [stderr] 299 | op.ops.push(token.clone()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::clone::Clone` [INFO] [stderr] [INFO] [stderr] error[E0277]: `Type` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:328:65 [INFO] [stderr] | [INFO] [stderr] 328 | format!("Unexpected token: {}", other), next.clone() [INFO] [stderr] | ^^^^^ `Type` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `Type` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Display` for `&Type` [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for type `Token` in the current scope [INFO] [stderr] --> src/main.rs:328:78 [INFO] [stderr] | [INFO] [stderr] 158 | struct Token { [INFO] [stderr] | ------------ method `clone` not found for this [INFO] [stderr] ... [INFO] [stderr] 328 | format!("Unexpected token: {}", other), next.clone() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::clone::Clone` [INFO] [stderr] [INFO] [stderr] error[E0277]: `Type` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:340:57 [INFO] [stderr] | [INFO] [stderr] 340 | format!("Unexpected token: {}", other), token.clone() [INFO] [stderr] | ^^^^^ `Type` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `Type` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Display` for `&Type` [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for type `Token` in the current scope [INFO] [stderr] --> src/main.rs:340:71 [INFO] [stderr] | [INFO] [stderr] 158 | struct Token { [INFO] [stderr] | ------------ method `clone` not found for this [INFO] [stderr] ... [INFO] [stderr] 340 | format!("Unexpected token: {}", other), token.clone() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::clone::Clone` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for type `std::string::String` in the current scope [INFO] [stderr] --> src/main.rs:47:30 [INFO] [stderr] | [INFO] [stderr] 47 | Some(self.source.as_slice().char_at(self.pos)) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lines` found for type `std::io::Stdin` in the current scope [INFO] [stderr] --> src/main.rs:370:34 [INFO] [stderr] | [INFO] [stderr] 370 | for line in std::io::stdin().lines() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `val0` found for type `&(&std::string::String, &bool)` in the current scope [INFO] [stderr] --> src/main.rs:407:33 [INFO] [stderr] | [INFO] [stderr] 407 | sorted.sort_by(|a, b| a.val0().cmp(b.val0())); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `val0` found for type `&(&std::string::String, &bool)` in the current scope [INFO] [stderr] --> src/main.rs:407:46 [INFO] [stderr] | [INFO] [stderr] 407 | sorted.sort_by(|a, b| a.val0().cmp(b.val0())); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: `Operation` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:414:36 [INFO] [stderr] | [INFO] [stderr] 414 | println!("> Parsed tree:\n{}", root); [INFO] [stderr] | ^^^^ `Operation` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `Operation` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::vec::Vec` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:415:33 [INFO] [stderr] | [INFO] [stderr] 415 | println!("> Variables: {}", vars); [INFO] [stderr] | ^^^^ `std::vec::Vec` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `std::vec::Vec` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error: aborting due to 40 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0412, E0425, E0432, E0599, E0658, E0689. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0689]: can't call method `pow` on ambiguous numeric type `{integer}` [INFO] [stderr] --> src/main.rs:221:24 [INFO] [stderr] | [INFO] [stderr] 221 | let tests = 2i.pow(vars.len()); [INFO] [stderr] | ^^^ [INFO] [stderr] help: you must specify a concrete type for this numeric value, like `i32` [INFO] [stderr] | [INFO] [stderr] 221 | let tests = 2i_i32.pow(vars.len()); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: Could not compile `truth`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `clone` found for type `Token` in the current scope [INFO] [stderr] --> src/main.rs:299:39 [INFO] [stderr] | [INFO] [stderr] 158 | struct Token { [INFO] [stderr] | ------------ method `clone` not found for this [INFO] [stderr] ... [INFO] [stderr] 299 | op.ops.push(token.clone()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::clone::Clone` [INFO] [stderr] [INFO] [stderr] error[E0277]: `Type` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:328:65 [INFO] [stderr] | [INFO] [stderr] 328 | format!("Unexpected token: {}", other), next.clone() [INFO] [stderr] | ^^^^^ `Type` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `Type` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Display` for `&Type` [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for type `Token` in the current scope [INFO] [stderr] --> src/main.rs:328:78 [INFO] [stderr] | [INFO] [stderr] 158 | struct Token { [INFO] [stderr] | ------------ method `clone` not found for this [INFO] [stderr] ... [INFO] [stderr] 328 | format!("Unexpected token: {}", other), next.clone() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::clone::Clone` [INFO] [stderr] [INFO] [stderr] error[E0277]: `Type` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:340:57 [INFO] [stderr] | [INFO] [stderr] 340 | format!("Unexpected token: {}", other), token.clone() [INFO] [stderr] | ^^^^^ `Type` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `Type` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required because of the requirements on the impl of `std::fmt::Display` for `&Type` [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for type `Token` in the current scope [INFO] [stderr] --> src/main.rs:340:71 [INFO] [stderr] | [INFO] [stderr] 158 | struct Token { [INFO] [stderr] | ------------ method `clone` not found for this [INFO] [stderr] ... [INFO] [stderr] 340 | format!("Unexpected token: {}", other), token.clone() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `std::clone::Clone` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `lines` found for type `std::io::Stdin` in the current scope [INFO] [stderr] --> src/main.rs:370:34 [INFO] [stderr] | [INFO] [stderr] 370 | for line in std::io::stdin().lines() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `val0` found for type `&(&std::string::String, &bool)` in the current scope [INFO] [stderr] --> src/main.rs:407:33 [INFO] [stderr] | [INFO] [stderr] 407 | sorted.sort_by(|a, b| a.val0().cmp(b.val0())); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `val0` found for type `&(&std::string::String, &bool)` in the current scope [INFO] [stderr] --> src/main.rs:407:46 [INFO] [stderr] | [INFO] [stderr] 407 | sorted.sort_by(|a, b| a.val0().cmp(b.val0())); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: `Operation` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:414:36 [INFO] [stderr] | [INFO] [stderr] 414 | println!("> Parsed tree:\n{}", root); [INFO] [stderr] | ^^^^ `Operation` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `Operation` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::vec::Vec` doesn't implement `std::fmt::Display` [INFO] [stderr] --> src/main.rs:415:33 [INFO] [stderr] | [INFO] [stderr] 415 | println!("> Variables: {}", vars); [INFO] [stderr] | ^^^^ `std::vec::Vec` cannot be formatted with the default formatter [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Display` is not implemented for `std::vec::Vec` [INFO] [stderr] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stderr] = note: required by `std::fmt::Display::fmt` [INFO] [stderr] [INFO] [stderr] error: aborting due to 40 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0412, E0425, E0432, E0599, E0658, E0689. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `truth`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "78dfb1a6b2d102b0cd15ebf5de70e2bd912b7a7db82ae6186993824f102c54d2"` [INFO] running `"docker" "rm" "-f" "78dfb1a6b2d102b0cd15ebf5de70e2bd912b7a7db82ae6186993824f102c54d2"` [INFO] [stdout] 78dfb1a6b2d102b0cd15ebf5de70e2bd912b7a7db82ae6186993824f102c54d2