[INFO] updating cached repository https://github.com/augustt198/truth [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 72b484fed78017ecc76f3099c42b461554e44fcf [INFO] testing augustt198/truth against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Faugustt198%2Ftruth" "work/builds/worker-8/source"` [INFO] [stderr] Cloning into 'work/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/augustt198/truth on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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 work/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/augustt198/truth already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 3e2af6adb5b9e3e6361f528c469e697ad64619d9fd6e9b4dd8fa1bc0487f1ba7 [INFO] running `"docker" "start" "-a" "3e2af6adb5b9e3e6361f528c469e697ad64619d9fd6e9b4dd8fa1bc0487f1ba7"` [INFO] [stderr] Compiling truth v0.0.1 (/opt/rustwide/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[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[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" "3e2af6adb5b9e3e6361f528c469e697ad64619d9fd6e9b4dd8fa1bc0487f1ba7"` [INFO] running `"docker" "rm" "-f" "3e2af6adb5b9e3e6361f528c469e697ad64619d9fd6e9b4dd8fa1bc0487f1ba7"` [INFO] [stdout] 3e2af6adb5b9e3e6361f528c469e697ad64619d9fd6e9b4dd8fa1bc0487f1ba7