[INFO] fetching crate truth 0.0.1... [INFO] testing truth-0.0.1 against 1.44.0 for beta-1.45-1 [INFO] extracting crate truth 0.0.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate truth 0.0.1 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate truth 0.0.1 [INFO] finished tweaking crates.io crate truth 0.0.1 [INFO] tweaked toml for crates.io crate truth 0.0.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a1e0c06d90a0e11428717eb92baf2acceee7bd6c722c52d6234b40451eac2460 [INFO] running `"docker" "start" "-a" "a1e0c06d90a0e11428717eb92baf2acceee7bd6c722c52d6234b40451eac2460"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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 `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 `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 `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 `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 `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 `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 `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 `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: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:174:19 [INFO] [stderr] | [INFO] [stderr] 174 | val = try!(self.components[0].eval(env)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:178:24 [INFO] [stderr] | [INFO] [stderr] 178 | let eval = try!(self.components[idx].eval(env)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:228:44 [INFO] [stderr] | [INFO] [stderr] 228 | result.push((env.vars.clone(), try!(self.eval(&env)))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:251:40 [INFO] [stderr] | [INFO] [stderr] 251 | VarOrExpr::Expr(ref op) => try!(op.eval(env)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:268:21 [INFO] [stderr] | [INFO] [stderr] 268 | token = try!(lexer.next_token()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:293:28 [INFO] [stderr] | [INFO] [stderr] 293 | op.components.push(try!(self.component())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:300:40 [INFO] [stderr] | [INFO] [stderr] 300 | op.components.push(try!(self.component())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:322:43 [INFO] [stderr] | [INFO] [stderr] 322 | val = VarOrExpr::Expr(try!(self.parse())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:390:22 [INFO] [stderr] | [INFO] [stderr] 390 | let mut parser = try!(Parser::new(&mut lexer)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:391:16 [INFO] [stderr] | [INFO] [stderr] 391 | let root = try!(parser.parse()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:393:17 [INFO] [stderr] | [INFO] [stderr] 393 | let table = try!(root.truth_table()); [INFO] [stderr] | ^^^ [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 struct `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] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `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] | ^^^^^ method not found in `Token` [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] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `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] | ^^^^^ method not found in `Token` [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] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `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] | ^^^^^ method not found in `Token` [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 struct `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] | ^^^^^ method not found in `std::io::Stdin` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `val0` found for reference `&(&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] | ^^^^ method not found in `&(&std::string::String, &bool)` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `val0` found for reference `&(&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] | ^^^^ method not found in `&(&std::string::String, &bool)` [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] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 39 previous errors; 13 warnings emitted [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" "a1e0c06d90a0e11428717eb92baf2acceee7bd6c722c52d6234b40451eac2460"` [INFO] running `"docker" "rm" "-f" "a1e0c06d90a0e11428717eb92baf2acceee7bd6c722c52d6234b40451eac2460"` [INFO] [stdout] a1e0c06d90a0e11428717eb92baf2acceee7bd6c722c52d6234b40451eac2460