[INFO] cloning repository https://github.com/wjw99830/js_parser
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wjw99830/js_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjw99830%2Fjs_parser", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjw99830%2Fjs_parser'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b480da9adb3cd9da565fa9cefbaa1cd036949e08
[INFO] testing wjw99830/js_parser against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjw99830%2Fjs_parser" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wjw99830/js_parser on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/wjw99830/js_parser
[INFO] finished tweaking git repo https://github.com/wjw99830/js_parser
[INFO] tweaked toml for git repo https://github.com/wjw99830/js_parser written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/wjw99830/js_parser already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ea82763222f12dc547ff736e2c2f8ae40b6164a17d6a9458a8445e1231d00fe5
[INFO] running `Command { std: "docker" "start" "-a" "ea82763222f12dc547ff736e2c2f8ae40b6164a17d6a9458a8445e1231d00fe5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ea82763222f12dc547ff736e2c2f8ae40b6164a17d6a9458a8445e1231d00fe5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea82763222f12dc547ff736e2c2f8ae40b6164a17d6a9458a8445e1231d00fe5", kill_on_drop: false }`
[INFO] [stdout] ea82763222f12dc547ff736e2c2f8ae40b6164a17d6a9458a8445e1231d00fe5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d114014bb353c06f3d2abf29884e7ea7a18fbed703d092631380a4b811353d45
[INFO] running `Command { std: "docker" "start" "-a" "d114014bb353c06f3d2abf29884e7ea7a18fbed703d092631380a4b811353d45", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling utf8_slice v1.0.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling js_parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parser.rs:310:40
[INFO] [stdout]     |
[INFO] [stdout] 310 |     let startPos = Position::new(line, column);
[INFO] [stdout]     |                    -------------       ^^^^^^ expected `usize`, found `&mut usize`
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/node.rs:40:12
[INFO] [stdout]     |
[INFO] [stdout] 40  |     pub fn new(line: usize, column: usize) -> Self {
[INFO] [stdout]     |            ^^^ -----------  -------------
[INFO] [stdout] help: consider dereferencing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 310 |     let startPos = Position::new(line, *column);
[INFO] [stdout]     |                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/parser.rs:375:48
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 .push(FunctionDeclaration::new(Identifier::new(identifier)))
[INFO] [stdout]     |                                                ^^^^^^^^^^^^^^^------------
[INFO] [stdout]     |                                                               ||
[INFO] [stdout]     |                                                               |expected struct `String`, found `&str`
[INFO] [stdout]     |                                                               two arguments of type `Position` and `Position` are missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/node.rs:55:12
[INFO] [stdout]     |
[INFO] [stdout] 55  |     pub fn new(name: String, start: Position, end: Position) -> Self {
[INFO] [stdout]     |            ^^^ ------------  ---------------  -------------
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 .push(FunctionDeclaration::new(Identifier::new(identifier.to_string())))
[INFO] [stdout]     |                                                                          ++++++++++++
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 .push(FunctionDeclaration::new(Identifier::new(/* String */, /* Position */, /* Position */)))
[INFO] [stdout]     |                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/parser.rs:375:23
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 .push(FunctionDeclaration::new(Identifier::new(identifier)))
[INFO] [stdout]     |                  ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Box`, found struct `FunctionDeclaration`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Box<(dyn Statement + 'static)>`
[INFO] [stdout]                found struct `FunctionDeclaration`
[INFO] [stdout]     = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] help: store this in the heap by calling `Box::new`
[INFO] [stdout]     |
[INFO] [stdout] 375 |                 .push(Box::new(FunctionDeclaration::new(Identifier::new(identifier))))
[INFO] [stdout]     |                       +++++++++                                                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `js_parser` due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "d114014bb353c06f3d2abf29884e7ea7a18fbed703d092631380a4b811353d45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d114014bb353c06f3d2abf29884e7ea7a18fbed703d092631380a4b811353d45", kill_on_drop: false }`
[INFO] [stdout] d114014bb353c06f3d2abf29884e7ea7a18fbed703d092631380a4b811353d45
