[INFO] cloning repository https://github.com/overlookmotel/napi-rs-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/overlookmotel/napi-rs-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverlookmotel%2Fnapi-rs-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverlookmotel%2Fnapi-rs-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 473795e9ee7f75aa532bb2c16e8917cf12f751b4 [INFO] testing overlookmotel/napi-rs-test against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverlookmotel%2Fnapi-rs-test" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/overlookmotel/napi-rs-test on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/overlookmotel/napi-rs-test [INFO] finished tweaking git repo https://github.com/overlookmotel/napi-rs-test [INFO] tweaked toml for git repo https://github.com/overlookmotel/napi-rs-test written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/overlookmotel/napi-rs-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 526c9a28b460bc507478bb8896b377498e1743b2a60facc4669a64872f2a12f0 [INFO] running `Command { std: "docker" "start" "-a" "526c9a28b460bc507478bb8896b377498e1743b2a60facc4669a64872f2a12f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "526c9a28b460bc507478bb8896b377498e1743b2a60facc4669a64872f2a12f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "526c9a28b460bc507478bb8896b377498e1743b2a60facc4669a64872f2a12f0", kill_on_drop: false }` [INFO] [stdout] 526c9a28b460bc507478bb8896b377498e1743b2a60facc4669a64872f2a12f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e374b689fcf2e77cc282d769e96e18dd17399b87708a0d2b6a0a5d0eba3b1d2b [INFO] running `Command { std: "docker" "start" "-a" "e374b689fcf2e77cc282d769e96e18dd17399b87708a0d2b6a0a5d0eba3b1d2b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling convert_case v0.5.0 [INFO] [stderr] Compiling napi-build v1.2.1 [INFO] [stderr] Compiling napi-sys v2.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling libmimalloc-sys v0.1.24 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling napi-experiment v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling mimalloc v0.1.28 [INFO] [stderr] Compiling napi-derive-backend v1.0.26 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling napi-derive v2.2.0 [INFO] [stderr] Compiling napi v2.2.0 [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/to_object.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | let mut body_nodes = env.create_array()?; [INFO] [stdout] | ^^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/napi-2.2.0/src/bindgen_runtime/env.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn create_array(&self, len: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/to_object.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | let mut declaration_nodes = env.create_array()?; [INFO] [stdout] | ^^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/napi-2.2.0/src/bindgen_runtime/env.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn create_array(&self, len: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_element` found for struct `Array` in the current scope [INFO] [stdout] --> src/to_object.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | declaration_nodes.set_element(0, declarator_node)?; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Array: NapiRaw` is not satisfied [INFO] [stdout] --> src/to_object.rs:76:57 [INFO] [stdout] | [INFO] [stdout] 76 | declaration_node.set_named_property("declarations", declaration_nodes)?; [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^ the trait `NapiRaw` is not implemented for `Array` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `napi::js_values::::set_named_property` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/napi-2.2.0/src/js_values/mod.rs:618:1 [INFO] [stdout] | [INFO] [stdout] 618 | impl_object_methods!(JsObject); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `napi::js_values::::set_named_property` [INFO] [stdout] = note: this error originates in the macro `impl_object_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_element` found for struct `Array` in the current scope [INFO] [stdout] --> src/to_object.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | body_nodes.set_element(line_num.try_into().unwrap(), declaration_node)?; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Array: NapiRaw` is not satisfied [INFO] [stdout] --> src/to_object.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | module_node.set_named_property("body", body_nodes)?; [INFO] [stdout] | ------------------ ^^^^^^^^^^ the trait `NapiRaw` is not implemented for `Array` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `napi::js_values::::set_named_property` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/napi-2.2.0/src/js_values/mod.rs:618:1 [INFO] [stdout] | [INFO] [stdout] 618 | impl_object_methods!(JsObject); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `napi::js_values::::set_named_property` [INFO] [stdout] = note: this error originates in the macro `impl_object_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/many_buffers.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | let mut buffers = ctx.env.create_array()?; [INFO] [stdout] | ^^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/napi-2.2.0/src/bindgen_runtime/env.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn create_array(&self, len: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_element` found for struct `Array` in the current scope [INFO] [stdout] --> src/many_buffers.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | buffers.set_element(line_num_u32 * 4, buf1)?; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_element` found for struct `Array` in the current scope [INFO] [stdout] --> src/many_buffers.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | buffers.set_element(line_num_u32 * 4 + 1, buf2)?; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_element` found for struct `Array` in the current scope [INFO] [stdout] --> src/many_buffers.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | buffers.set_element(line_num_u32 * 4 + 2, buf3)?; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_element` found for struct `Array` in the current scope [INFO] [stdout] --> src/many_buffers.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | buffers.set_element(line_num_u32 * 4 + 3, buf4)?; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/many_buffers.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(buffers) [INFO] [stdout] | ^^^^^^^ expected struct `JsObject`, found struct `Array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `napi-experiment` due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "e374b689fcf2e77cc282d769e96e18dd17399b87708a0d2b6a0a5d0eba3b1d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e374b689fcf2e77cc282d769e96e18dd17399b87708a0d2b6a0a5d0eba3b1d2b", kill_on_drop: false }` [INFO] [stdout] e374b689fcf2e77cc282d769e96e18dd17399b87708a0d2b6a0a5d0eba3b1d2b