[INFO] cloning repository https://github.com/davidaq/rust-babeljs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidaq/rust-babeljs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidaq%2Frust-babeljs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidaq%2Frust-babeljs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74e470ac668b87436554020438e652671150172e [INFO] checking davidaq/rust-babeljs against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidaq%2Frust-babeljs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davidaq/rust-babeljs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/davidaq/rust-babeljs [INFO] finished tweaking git repo https://github.com/davidaq/rust-babeljs [INFO] tweaked toml for git repo https://github.com/davidaq/rust-babeljs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/davidaq/rust-babeljs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e865b287de554c5b9cedec355f31ca652d32aea8107fa681a5d8738053f7b33 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7e865b287de554c5b9cedec355f31ca652d32aea8107fa681a5d8738053f7b33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e865b287de554c5b9cedec355f31ca652d32aea8107fa681a5d8738053f7b33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e865b287de554c5b9cedec355f31ca652d32aea8107fa681a5d8738053f7b33", kill_on_drop: false }` [INFO] [stdout] 7e865b287de554c5b9cedec355f31ca652d32aea8107fa681a5d8738053f7b33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8811bac62e1c81b7d1bc6f290af75f6360f50ab2b3727a278cd6d9be6ca7d0d5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8811bac62e1c81b7d1bc6f290af75f6360f50ab2b3727a278cd6d9be6ca7d0d5", kill_on_drop: false }` [INFO] [stderr] Compiling rust-babeljs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/build.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/syntax/tokenize/rule_number.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn try (context: &mut Context) -> Option<( u16, usize )> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::context::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::tokenize::context::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/syntax/tokenize/rule_number.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | fn number_len (context: &mut Context) -> usize { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::context::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::tokenize::context::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/syntax/tokenize/rule_number.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | fn bin_number_len (context: &mut Context) -> usize { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::context::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::tokenize::context::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/syntax/tokenize/rule_number.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | fn hex_number_len (context: &mut Context) -> usize { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::context::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::tokenize::context::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/syntax/tokenize/rule_number.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | fn deci_number_len (context: &mut Context, accept_dot: bool, accept_exp: bool) -> usize { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::context::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::tokenize::context::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> src/syntax/tokenize/tokenizer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::Queue` [INFO] [stdout] --> src/syntax/tokenize/tokenizer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use util::Queue; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SourceLoc` [INFO] [stdout] --> src/syntax/tokenize/tokenizer.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::basic_types::{ SourceLoc }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syntax::tokenize::Tokenizer` [INFO] [stdout] --> src/syntax/tokenize/rule_number.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syntax::tokenize::Tokenizer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Token`, `token_type` [INFO] [stdout] --> src/run.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::tokenize::{ Token, Tokenizer, token_type }; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::Queue` [INFO] [stdout] --> src/run.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use util::Queue; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/syntax/tokenize/rule_number.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn try (context: &mut Context) -> Option<( u16, usize )> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::context::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::tokenize::context::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/syntax/tokenize/rule_number.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | fn number_len (context: &mut Context) -> usize { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::context::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::tokenize::context::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/syntax/tokenize/rule_number.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | fn bin_number_len (context: &mut Context) -> usize { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::context::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::tokenize::context::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/syntax/tokenize/rule_number.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | fn hex_number_len (context: &mut Context) -> usize { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::context::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::tokenize::context::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/syntax/tokenize/rule_number.rs:72:35 [INFO] [stdout] | [INFO] [stdout] 72 | fn deci_number_len (context: &mut Context, accept_dot: bool, accept_exp: bool) -> usize { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::context::Context; [INFO] [stdout] | [INFO] [stdout] 1 | use syntax::tokenize::context::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Chars` [INFO] [stdout] --> src/syntax/tokenize/tokenizer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::Chars; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::Queue` [INFO] [stdout] --> src/syntax/tokenize/tokenizer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use util::Queue; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SourceLoc` [INFO] [stdout] --> src/syntax/tokenize/tokenizer.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use syntax::basic_types::{ SourceLoc }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syntax::tokenize::Tokenizer` [INFO] [stdout] --> src/syntax/tokenize/rule_number.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use syntax::tokenize::Tokenizer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Token`, `token_type` [INFO] [stdout] --> src/run.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use syntax::tokenize::{ Token, Tokenizer, token_type }; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::Queue` [INFO] [stdout] --> src/run.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use util::Queue; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/syntax/tokenize/rule_number.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | Option::Some(( tt::NUMERIC_LITERAL, len )) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 7 | Option::Some(( tt::NUMERIC_LITERAL.try_into().unwrap(), len )) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/syntax/tokenize/rule_number.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | Option::Some(( tt::NUMERIC_LITERAL, len )) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `u16`, found `usize` [INFO] [stdout] | [INFO] [stdout] help: you can convert a `usize` to a `u16` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 7 | Option::Some(( tt::NUMERIC_LITERAL.try_into().unwrap(), len )) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-babeljs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8811bac62e1c81b7d1bc6f290af75f6360f50ab2b3727a278cd6d9be6ca7d0d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8811bac62e1c81b7d1bc6f290af75f6360f50ab2b3727a278cd6d9be6ca7d0d5", kill_on_drop: false }` [INFO] [stdout] 8811bac62e1c81b7d1bc6f290af75f6360f50ab2b3727a278cd6d9be6ca7d0d5