[INFO] fetching crate rual 0.0.2... [INFO] checking rual-0.0.2 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate rual 0.0.2 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate rual 0.0.2 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rual 0.0.2 [INFO] finished tweaking crates.io crate rual 0.0.2 [INFO] tweaked toml for crates.io crate rual 0.0.2 written to /workspace/builds/worker-16/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3abdd7203351af87cd80e46dd37ac01f47751d6239fbc13c2612fd2450a42f43 [INFO] running `Command { std: "docker" "start" "-a" "3abdd7203351af87cd80e46dd37ac01f47751d6239fbc13c2612fd2450a42f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3abdd7203351af87cd80e46dd37ac01f47751d6239fbc13c2612fd2450a42f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3abdd7203351af87cd80e46dd37ac01f47751d6239fbc13c2612fd2450a42f43", kill_on_drop: false }` [INFO] [stdout] 3abdd7203351af87cd80e46dd37ac01f47751d6239fbc13c2612fd2450a42f43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f0f17178753947b242a9f034a62322be080b54f1777d5130eb5a9ba498a84dc [INFO] running `Command { std: "docker" "start" "-a" "2f0f17178753947b242a9f034a62322be080b54f1777d5130eb5a9ba498a84dc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking rual v0.0.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:64:50 [INFO] [stdout] | [INFO] [stdout] 64 | assert_eq!(Token::new(1, 3, TokenType::Punct(Punct::Sub)), tokens[0]); [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:75:50 [INFO] [stdout] | [INFO] [stdout] 75 | assert_eq!(Token::new(1, 2, TokenType::Punct(Punct::Colon)), tokens[1]); [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:80:50 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!(Token::new(1, 5, TokenType::Punct(Punct::Comma)), tokens[3]); [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:85:50 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(Token::new(1, 9, TokenType::Punct(Punct::Arrow)), tokens[5]); [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:91:44 [INFO] [stdout] | [INFO] [stdout] 91 | Token::new(1, 13, TokenType::Punct(Punct::OpenParen)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:99:44 [INFO] [stdout] | [INFO] [stdout] 99 | Token::new(1, 15, TokenType::Punct(Punct::CloseParen)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | Token::new(1, 5, TokenType::Punct(Punct::OpenParen)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:116:50 [INFO] [stdout] | [INFO] [stdout] 116 | assert_eq!(Token::new(1, 6, TokenType::Punct(Punct::Lambda)), tokens[2]); [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:121:50 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(Token::new(1, 9, TokenType::Punct(Punct::Arrow)), tokens[4]); [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:126:51 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(Token::new(1, 14, TokenType::Punct(Punct::Sub)), tokens[6]); [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:152:43 [INFO] [stdout] | [INFO] [stdout] 152 | Token::new(1, 5, TokenType::Punct(Punct::OpenParen)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:159:50 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(Token::new(1, 9, TokenType::Punct(Punct::Comma)), tokens[3]); [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:165:44 [INFO] [stdout] | [INFO] [stdout] 165 | Token::new(1, 14, TokenType::Punct(Punct::CloseParen)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:169:44 [INFO] [stdout] | [INFO] [stdout] 169 | Token::new(1, 16, TokenType::Punct(Punct::Assign)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:173:44 [INFO] [stdout] | [INFO] [stdout] 173 | Token::new(1, 18, TokenType::Punct(Punct::OpenParen)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:177:51 [INFO] [stdout] | [INFO] [stdout] 177 | assert_eq!(Token::new(1, 20, TokenType::Punct(Punct::Comma)), tokens[9]); [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:180:44 [INFO] [stdout] | [INFO] [stdout] 180 | Token::new(1, 24, TokenType::Punct(Punct::CloseParen)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:190:43 [INFO] [stdout] | [INFO] [stdout] 190 | Token::new(1, 5, TokenType::Punct(Punct::OpenBracket)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:197:50 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!(Token::new(1, 7, TokenType::Punct(Punct::Comma)), tokens[3]); [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:202:51 [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(Token::new(1, 10, TokenType::Punct(Punct::Comma)), tokens[5]); [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:204:44 [INFO] [stdout] | [INFO] [stdout] 204 | Token::new(1, 12, TokenType::Punct(Punct::Spread)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:212:44 [INFO] [stdout] | [INFO] [stdout] 212 | Token::new(1, 17, TokenType::Punct(Punct::CloseBracket)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:216:44 [INFO] [stdout] | [INFO] [stdout] 216 | Token::new(1, 19, TokenType::Punct(Punct::Assign)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:220:44 [INFO] [stdout] | [INFO] [stdout] 220 | Token::new(1, 21, TokenType::Punct(Punct::OpenBracket)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:225:44 [INFO] [stdout] | [INFO] [stdout] 225 | Token::new(1, 24, TokenType::Punct(Punct::Range)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:230:44 [INFO] [stdout] | [INFO] [stdout] 230 | Token::new(1, 29, TokenType::Punct(Punct::CloseBracket)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:247:50 [INFO] [stdout] | [INFO] [stdout] 247 | assert_eq!(Token::new(1, 7, TokenType::Punct(Punct::Assign)), tokens[2]); [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:249:43 [INFO] [stdout] | [INFO] [stdout] 249 | Token::new(1, 9, TokenType::Punct(Punct::OpenCurly)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:253:51 [INFO] [stdout] | [INFO] [stdout] 253 | assert_eq!(Token::new(1, 12, TokenType::Punct(Punct::Colon)), tokens[5]); [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:255:51 [INFO] [stdout] | [INFO] [stdout] 255 | assert_eq!(Token::new(1, 18, TokenType::Punct(Punct::Comma)), tokens[7]); [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:257:51 [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(Token::new(1, 21, TokenType::Punct(Punct::Colon)), tokens[9]); [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:260:44 [INFO] [stdout] | [INFO] [stdout] 260 | Token::new(1, 29, TokenType::Punct(Punct::CloseCurly)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:280:47 [INFO] [stdout] | [INFO] [stdout] 280 | Token::new(2, 7, TokenType::Punct(Punct::Assign)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:281:47 [INFO] [stdout] | [INFO] [stdout] 281 | Token::new(2, 9, TokenType::Punct(Punct::OpenParen)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:283:48 [INFO] [stdout] | [INFO] [stdout] 283 | Token::new(2, 12, TokenType::Punct(Punct::Sub)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:285:48 [INFO] [stdout] | [INFO] [stdout] 285 | Token::new(2, 15, TokenType::Punct(Punct::CloseParen)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Punct` [INFO] [stdout] --> src/lexing/tests.rs:290:47 [INFO] [stdout] | [INFO] [stdout] 290 | Token::new(4, 7, TokenType::Punct(Punct::Assign)), [INFO] [stdout] | ^^^^^ use of undeclared type `Punct` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/lexing/mod.rs (1 fix) [INFO] [stdout] error: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rual` due to 38 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> src/execution/mod.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | parent: Option<&'t Scope<'t>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/execution/mod.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn new(parent: &'t Scope) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/execution/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | self.exec_expr(&expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "2f0f17178753947b242a9f034a62322be080b54f1777d5130eb5a9ba498a84dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f0f17178753947b242a9f034a62322be080b54f1777d5130eb5a9ba498a84dc", kill_on_drop: false }` [INFO] [stdout] 2f0f17178753947b242a9f034a62322be080b54f1777d5130eb5a9ba498a84dc