[INFO] fetching crate rustration 0.1.0... [INFO] checking rustration-0.1.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rustration 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate rustration 0.1.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c9ea399ad2f724477d7414ef0b9ad9424542b6a37b7be607b1b6990c30091fd [INFO] running `Command { std: "docker" "start" "-a" "6c9ea399ad2f724477d7414ef0b9ad9424542b6a37b7be607b1b6990c30091fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c9ea399ad2f724477d7414ef0b9ad9424542b6a37b7be607b1b6990c30091fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c9ea399ad2f724477d7414ef0b9ad9424542b6a37b7be607b1b6990c30091fd", kill_on_drop: false }` [INFO] [stdout] 6c9ea399ad2f724477d7414ef0b9ad9424542b6a37b7be607b1b6990c30091fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3e9d89a74a02136a2056f95e87ab9138a79adc09db8848fae60d223593d2981 [INFO] running `Command { std: "docker" "start" "-a" "a3e9d89a74a02136a2056f95e87ab9138a79adc09db8848fae60d223593d2981", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rustration v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ByteProgram` [INFO] [stdout] --> src/compile/mod.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::bytecode::{ByteCode, ByteProgram}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: 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: unused import: `ByteProgram` [INFO] [stdout] --> src/compile/mod.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::bytecode::{ByteCode, ByteProgram}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: 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: 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] | ^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `clone` exists for enum `Result, 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 `Result, Error>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `std::io::Error: Clone` [INFO] [stdout] which is required by `std::result::Result, std::io::Error>: Clone` [INFO] [stdout] note: the method `clone` exists on the type `Vec` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/clone.rs:165:5 [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Vec` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 223 | let mut parser = RawParser::new(data.expect("REASON").clone()); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [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] note: the method `token` exists on the type `MetaToken` [INFO] [stdout] --> src/parse/token.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn token(&self) -> &Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `MetaToken` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 288 | assert_eq!(token.expect("REASON").token(), &Token::MoveRight); [INFO] [stdout] | +++++++++++++++++ [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] note: the method `token` exists on the type `MetaToken` [INFO] [stdout] --> src/parse/token.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn token(&self) -> &Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `MetaToken` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 291 | assert_eq!(token.expect("REASON").token(), &Token::MoveLeft); [INFO] [stdout] | +++++++++++++++++ [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] note: the method `token` exists on the type `MetaToken` [INFO] [stdout] --> src/parse/token.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn token(&self) -> &Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `MetaToken` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 294 | assert_eq!(token.expect("REASON").token(), &Token::Increment); [INFO] [stdout] | +++++++++++++++++ [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] note: the method `token` exists on the type `MetaToken` [INFO] [stdout] --> src/parse/token.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn token(&self) -> &Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `MetaToken` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 297 | assert_eq!(token.expect("REASON").token(), &Token::Increment); [INFO] [stdout] | +++++++++++++++++ [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] note: the method `token` exists on the type `MetaToken` [INFO] [stdout] --> src/parse/token.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn token(&self) -> &Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `MetaToken` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 300 | assert_eq!(token.expect("REASON").token(), &Token::Output); [INFO] [stdout] | +++++++++++++++++ [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] note: the method `token` exists on the type `MetaToken` [INFO] [stdout] --> src/parse/token.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn token(&self) -> &Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `MetaToken` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 303 | assert_eq!(token.expect("REASON").token(), &Token::Eof); [INFO] [stdout] | +++++++++++++++++ [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] note: the method `token` exists on the type `MetaToken` [INFO] [stdout] --> src/parse/token.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn token(&self) -> &Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `MetaToken` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 305 | assert_eq!(token.expect("REASON").token(), &Token::Eof); [INFO] [stdout] | +++++++++++++++++ [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] note: the method `token` exists on the type `MetaToken` [INFO] [stdout] --> src/parse/token.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn token(&self) -> &Token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `MetaToken` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 307 | assert_eq!(token.expect("REASON").token(), &Token::Eof); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 7 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` (bin "rustration" test) due to 10 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a3e9d89a74a02136a2056f95e87ab9138a79adc09db8848fae60d223593d2981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3e9d89a74a02136a2056f95e87ab9138a79adc09db8848fae60d223593d2981", kill_on_drop: false }` [INFO] [stdout] a3e9d89a74a02136a2056f95e87ab9138a79adc09db8848fae60d223593d2981