[INFO] fetching crate rustration 0.1.0... [INFO] checking rustration-0.1.0 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate rustration 0.1.0 into /workspace/builds/worker-90/source [INFO] validating manifest of crates.io crate rustration 0.1.0 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustration 0.1.0 [INFO] finished tweaking crates.io crate rustration 0.1.0 [INFO] tweaked toml for crates.io crate rustration 0.1.0 written to /workspace/builds/worker-90/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00300a8926409cd133f74d6acba66fb071883aaade2fc496663ee4bb2e1db90e [INFO] running `Command { std: "docker" "start" "-a" "00300a8926409cd133f74d6acba66fb071883aaade2fc496663ee4bb2e1db90e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00300a8926409cd133f74d6acba66fb071883aaade2fc496663ee4bb2e1db90e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00300a8926409cd133f74d6acba66fb071883aaade2fc496663ee4bb2e1db90e", kill_on_drop: false }` [INFO] [stdout] 00300a8926409cd133f74d6acba66fb071883aaade2fc496663ee4bb2e1db90e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20df3275c2d8f838d650ecc0b3b2fd45e54cd6b3e794768cd8bb001cf1e49f4b [INFO] running `Command { std: "docker" "start" "-a" "20df3275c2d8f838d650ecc0b3b2fd45e54cd6b3e794768cd8bb001cf1e49f4b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rustration v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse/ast.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let block = try!(parse(code, false)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/error.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse/parsing.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let entry = try!(parse(self, false)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse/parsing.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | Expr::Loop(try!(Loop::new(parser))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:246:3 [INFO] [stdout] | [INFO] [stdout] 246 | try!(file.read_to_end(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse/ast.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let block = try!(parse(code, false)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/error.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse/parsing.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let entry = try!(parse(self, false)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse/parsing.rs:182:20 [INFO] [stdout] | [INFO] [stdout] 182 | Expr::Loop(try!(Loop::new(parser))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:246:3 [INFO] [stdout] | [INFO] [stdout] 246 | try!(file.read_to_end(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:237:18 [INFO] [stdout] | [INFO] [stdout] 237 | let mut file = try!(File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for enum `std::result::Result, std::io::Error>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/parse/parsing.rs:223:44 [INFO] [stdout] | [INFO] [stdout] 223 | let mut parser = RawParser::new(data.clone()); [INFO] [stdout] | ^^^^^ method cannot be called on `std::result::Result, std::io::Error>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `Clone` for `_`: [INFO] [stdout] `std::io::Error: Clone` [INFO] [stdout] --> src/compile/compiler.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:288:22 [INFO] [stdout] | [INFO] [stdout] 288 | assert_eq!(token.token(), &Token::MoveRight); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | assert_eq!(token.token(), &Token::MoveLeft); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | assert_eq!(token.token(), &Token::Increment); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | assert_eq!(token.token(), &Token::Increment); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:300:22 [INFO] [stdout] | [INFO] [stdout] 300 | assert_eq!(token.token(), &Token::Output); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:303:22 [INFO] [stdout] | [INFO] [stdout] 303 | assert_eq!(token.token(), &Token::Eof); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:305:22 [INFO] [stdout] | [INFO] [stdout] 305 | assert_eq!(token.token(), &Token::Eof); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `token` found for enum `Option` in the current scope [INFO] [stdout] --> src/parse/parsing.rs:307:22 [INFO] [stdout] | [INFO] [stdout] 307 | assert_eq!(token.token(), &Token::Eof); [INFO] [stdout] | ^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustration` due to 10 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "20df3275c2d8f838d650ecc0b3b2fd45e54cd6b3e794768cd8bb001cf1e49f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20df3275c2d8f838d650ecc0b3b2fd45e54cd6b3e794768cd8bb001cf1e49f4b", kill_on_drop: false }` [INFO] [stdout] 20df3275c2d8f838d650ecc0b3b2fd45e54cd6b3e794768cd8bb001cf1e49f4b