[INFO] crate truth 0.0.1 is already in cache [INFO] extracting crate truth 0.0.1 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/truth/0.0.1 [INFO] extracting crate truth 0.0.1 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/truth/0.0.1 [INFO] validating manifest of truth-0.0.1 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of truth-0.0.1 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing truth-0.0.1 [INFO] finished frobbing truth-0.0.1 [INFO] frobbed toml for truth-0.0.1 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/truth/0.0.1/Cargo.toml [INFO] started frobbing truth-0.0.1 [INFO] finished frobbing truth-0.0.1 [INFO] frobbed toml for truth-0.0.1 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/truth/0.0.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking truth-0.0.1 against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-2/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/truth/0.0.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/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" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3876b04e2c90b4ad6170de72bbc3a0301e1b0ece60d48505b2093f10d70590d8 [INFO] running `"docker" "start" "-a" "3876b04e2c90b4ad6170de72bbc3a0301e1b0ece60d48505b2093f10d70590d8"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking truth v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | let mut i = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` 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] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/main.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | let tests = 2i.pow(vars.len()); [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/main.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | for num in range(0i, tests) { [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:225:30 [INFO] [stderr] | [INFO] [stderr] 225 | for pos in range(0u, vars.len()) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:22:21 [INFO] [stderr] | [INFO] [stderr] 22 | let mut i = 0u; [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` 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] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/main.rs:221:21 [INFO] [stderr] | [INFO] [stderr] 221 | let tests = 2i.pow(vars.len()); [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `i` for integer literal [INFO] [stderr] --> src/main.rs:223:26 [INFO] [stderr] | [INFO] [stderr] 223 | for num in range(0i, tests) { [INFO] [stderr] | ^^ invalid suffix `i` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stderr] [INFO] [stderr] error: invalid suffix `u` for integer literal [INFO] [stderr] --> src/main.rs:225:30 [INFO] [stderr] | [INFO] [stderr] 225 | for pos in range(0u, vars.len()) { [INFO] [stderr] | ^^ invalid suffix `u` [INFO] [stderr] | [INFO] [stderr] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [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: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:68:3 [INFO] [stderr] | [INFO] [stderr] 68 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:140:3 [INFO] [stderr] | [INFO] [stderr] 140 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:141:3 [INFO] [stderr] | [INFO] [stderr] 141 | #[deriving(Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:156:3 [INFO] [stderr] | [INFO] [stderr] 156 | #[deriving(Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:157:3 [INFO] [stderr] | [INFO] [stderr] 157 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:164:3 [INFO] [stderr] | [INFO] [stderr] 164 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:235:3 [INFO] [stderr] | [INFO] [stderr] 235 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:241:3 [INFO] [stderr] | [INFO] [stderr] 241 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [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: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:171:26 [INFO] [stderr] | [INFO] [stderr] 171 | fn eval(&self, env: &Environment) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Environment` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:248:26 [INFO] [stderr] | [INFO] [stderr] 248 | fn eval(&self, env: &Environment) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Environment` [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: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:68:3 [INFO] [stderr] | [INFO] [stderr] 68 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:140:3 [INFO] [stderr] | [INFO] [stderr] 140 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:141:3 [INFO] [stderr] | [INFO] [stderr] 141 | #[deriving(Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:156:3 [INFO] [stderr] | [INFO] [stderr] 156 | #[deriving(Clone)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:157:3 [INFO] [stderr] | [INFO] [stderr] 157 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:164:3 [INFO] [stderr] | [INFO] [stderr] 164 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:235:3 [INFO] [stderr] | [INFO] [stderr] 235 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute macro `deriving` in this scope [INFO] [stderr] --> src/main.rs:241:3 [INFO] [stderr] | [INFO] [stderr] 241 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [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[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: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:171:26 [INFO] [stderr] | [INFO] [stderr] 171 | fn eval(&self, env: &Environment) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Environment` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:248:26 [INFO] [stderr] | [INFO] [stderr] 248 | fn eval(&self, env: &Environment) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn Environment` [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 `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 39 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [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 `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 `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 39 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0599. [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" "3876b04e2c90b4ad6170de72bbc3a0301e1b0ece60d48505b2093f10d70590d8"` [INFO] running `"docker" "rm" "-f" "3876b04e2c90b4ad6170de72bbc3a0301e1b0ece60d48505b2093f10d70590d8"` [INFO] [stdout] 3876b04e2c90b4ad6170de72bbc3a0301e1b0ece60d48505b2093f10d70590d8