[INFO] fetching crate rustration 0.1.0... [INFO] checking rustration-0.1.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate rustration 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate rustration 0.1.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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 clap v2.34.0 (available: v4.5.21) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 616cc0377ede01f9823162de0f351b23adc0c9187746112fedbd5e57e7923189 [INFO] running `Command { std: "docker" "start" "-a" "616cc0377ede01f9823162de0f351b23adc0c9187746112fedbd5e57e7923189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "616cc0377ede01f9823162de0f351b23adc0c9187746112fedbd5e57e7923189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "616cc0377ede01f9823162de0f351b23adc0c9187746112fedbd5e57e7923189", kill_on_drop: false }` [INFO] [stdout] 616cc0377ede01f9823162de0f351b23adc0c9187746112fedbd5e57e7923189 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5882c7e1ef6db863570bac1741b29af37265919e15f7d6865bfbfeee4b68649 [INFO] running `Command { std: "docker" "start" "-a" "b5882c7e1ef6db863570bac1741b29af37265919e15f7d6865bfbfeee4b68649", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rustration v0.1.0 (/opt/rustwide/workdir) [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/ff1737bb00913444173658b4e0b274fd79aabf66/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] 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] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustration` (bin "rustration" test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "b5882c7e1ef6db863570bac1741b29af37265919e15f7d6865bfbfeee4b68649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5882c7e1ef6db863570bac1741b29af37265919e15f7d6865bfbfeee4b68649", kill_on_drop: false }` [INFO] [stdout] b5882c7e1ef6db863570bac1741b29af37265919e15f7d6865bfbfeee4b68649