[INFO] fetching crate rquickjs-core 0.1.3... [INFO] testing rquickjs-core-0.1.3 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate rquickjs-core 0.1.3 into /workspace/builds/worker-112/source [INFO] validating manifest of crates.io crate rquickjs-core 0.1.3 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rquickjs-core 0.1.3 [INFO] finished tweaking crates.io crate rquickjs-core 0.1.3 [INFO] tweaked toml for crates.io crate rquickjs-core 0.1.3 written to /workspace/builds/worker-112/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7459baabfb562eb0a6f4c884f8f405864a082a6db6efc09af01295e38457f71 [INFO] running `Command { std: "docker" "start" "-a" "d7459baabfb562eb0a6f4c884f8f405864a082a6db6efc09af01295e38457f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7459baabfb562eb0a6f4c884f8f405864a082a6db6efc09af01295e38457f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7459baabfb562eb0a6f4c884f8f405864a082a6db6efc09af01295e38457f71", kill_on_drop: false }` [INFO] [stdout] d7459baabfb562eb0a6f4c884f8f405864a082a6db6efc09af01295e38457f71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 135f9364b38479710e87099754f842d9fb55524136d000a74d0398a5eb2d4114 [INFO] running `Command { std: "docker" "start" "-a" "135f9364b38479710e87099754f842d9fb55524136d000a74d0398a5eb2d4114", kill_on_drop: false }` [INFO] [stderr] Compiling rquickjs-sys v0.1.3 [INFO] [stderr] Compiling rquickjs-core v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.93s [INFO] running `Command { std: "docker" "inspect" "135f9364b38479710e87099754f842d9fb55524136d000a74d0398a5eb2d4114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "135f9364b38479710e87099754f842d9fb55524136d000a74d0398a5eb2d4114", kill_on_drop: false }` [INFO] [stdout] 135f9364b38479710e87099754f842d9fb55524136d000a74d0398a5eb2d4114 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4045235f8cf1c3b894ea67ab3b81382acf3ee7369ef1747adefa5e03d16e237e [INFO] running `Command { std: "docker" "start" "-a" "4045235f8cf1c3b894ea67ab3b81382acf3ee7369ef1747adefa5e03d16e237e", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling trybuild v1.0.52 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling rquickjs-core v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.53s [INFO] running `Command { std: "docker" "inspect" "4045235f8cf1c3b894ea67ab3b81382acf3ee7369ef1747adefa5e03d16e237e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4045235f8cf1c3b894ea67ab3b81382acf3ee7369ef1747adefa5e03d16e237e", kill_on_drop: false }` [INFO] [stdout] 4045235f8cf1c3b894ea67ab3b81382acf3ee7369ef1747adefa5e03d16e237e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] be6bceb6902d02a64a0c6a2c864d08d84cce6d51dfec8d9d96aa2bc167774f8e [INFO] running `Command { std: "docker" "start" "-a" "be6bceb6902d02a64a0c6a2c864d08d84cce6d51dfec8d9d96aa2bc167774f8e", 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rquickjs_core-dc794deab8537286) [INFO] [stdout] [INFO] [stdout] running 44 tests [INFO] [stdout] test context::test::minimal ... ok [INFO] [stdout] test runtime::test::base_runtime ... ok [INFO] [stdout] test context::test::base ... ok [INFO] [stdout] test value::array::test::collect_js ... ok [INFO] [stdout] test value::array::test::from_javascript ... ok [INFO] [stdout] test value::array::test::iter ... ok [INFO] [stdout] test value::array::test::into_object ... ok [INFO] [stdout] test value::array::test::into_iter ... ok [INFO] [stdout] test value::function::test::call_js_fn_with_1_arg_and_return ... ok [INFO] [stdout] test persistent::test::persistent_function ... ok [INFO] [stdout] test value::function::test::call_js_fn_with_1_arg_deferred ... ok [INFO] [stdout] test value::function::test::call_js_fn_with_2_args_and_return ... ok [INFO] [stdout] test value::function::test::call_js_fn_with_no_args_and_no_return ... ok [INFO] [stdout] test value::function::test::call_js_fn_with_no_args_and_throw ... ok [INFO] [stdout] test value::function::test::call_js_fn_with_no_args_and_return ... ok [INFO] [stdout] test value::function::test::call_js_fn_with_this_and_no_args_and_return ... ok [INFO] [stdout] test value::function::test::call_js_fn_with_this_and_1_arg_and_return ... ok [INFO] [stdout] test value::function::test::call_js_fn_with_rest_args_and_return ... ok [INFO] [stdout] test value::function::test::call_overloaded_callback ... ok [INFO] [stdout] test value::function::test::call_rust_fn_with_ctx_and_value ... ok [INFO] [stdout] test value::function::test::call_rust_fn_with_var_args ... ok [INFO] [stdout] test value::function::test::call_rust_fn_with_rest_args ... ok [INFO] [stdout] test value::function::test::const_callback ... ok [INFO] [stdout] test value::function::test::multiple_const_callbacks ... ok [INFO] [stdout] test value::function::test::js_fn_wrappers ... ok [INFO] [stdout] test value::function::test::call_js_fn_with_var_args_and_return ... ok [INFO] [stdout] test value::function::test::mutable_callback_with_ctx_which_reads_globals ... ok [INFO] [stdout] test value::function::test::static_callback ... ok [INFO] [stdout] test value::function::test::mutable_callback ... ok [INFO] [stdout] test value::module::test::from_javascript ... ok [INFO] [stdout] test value::function::test::mutable_callback_which_can_fail ... ok [INFO] [stdout] test value::object::test::collect_js ... ok [INFO] [stdout] test value::object::test::from_javascript ... ok [INFO] [stdout] test value::object::test::own_keys_iter ... ok [INFO] [stdout] test value::object::test::iter_take ... ok [INFO] [stdout] test value::object::test::into_iter ... ok [INFO] [stdout] test value::object::test::own_props_iter ... ok [INFO] [stdout] test value::test::type_matches ... ok [INFO] [stdout] test value::object::test::types ... ok [INFO] [stdout] test value::string::test::from_javascript ... ok [INFO] [stdout] test value::string::test::to_javascript ... ok [INFO] [stdout] test context::test::exception - should panic ... ok [INFO] [stdout] test value::function::test::recursively_called_mutable_callback - should panic ... ok [INFO] [stdout] test value::function::test::repeatedly_called_once_callback - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/compile_fail.rs (/opt/rustwide/target/debug/deps/compile_fail-4161965897dc9ba5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rquickjs-core [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/value/module.rs - value::module::module_init (line 147) ... FAILED [INFO] [stdout] test src/persistent.rs - persistent::Persistent (line 39) ... FAILED [INFO] [stdout] test src/value/function/types.rs - value::function::types::Opt (line 128) ... FAILED [INFO] [stdout] test src/value/function/types.rs - value::function::types::This (line 104) ... FAILED [INFO] [stdout] test src/value/function/types.rs - value::function::types::Func (line 33) ... FAILED [INFO] [stdout] test src/value/function/types.rs - value::function::types::Method (line 12) ... FAILED [INFO] [stdout] test src/value/convert.rs - value::convert::Coerced (line 10) ... FAILED [INFO] [stdout] test src/value/function/types.rs - value::function::types::Rest (line 152) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/value/module.rs - value::module::module_init (line 147) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rquickjs` [INFO] [stdout] --> src/value/module.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rquickjs::{ModuleDef, module_init}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `rquickjs` [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `module_init` [INFO] [stdout] --> src/value/module.rs:155:1 [INFO] [stdout] | [INFO] [stdout] 10 | module_init!(js_init_my_module: MyModule); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `module_init` [INFO] [stdout] --> src/value/module.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 8 | module_init!(MyModule); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/persistent.rs - persistent::Persistent (line 39) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rquickjs` [INFO] [stdout] --> src/persistent.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rquickjs::{Runtime, Context, Persistent, Function}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `rquickjs` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/function/types.rs - value::function::types::Opt (line 128) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rquickjs` [INFO] [stdout] --> src/value/function/types.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rquickjs::{Runtime, Context, Result, Opt, Function}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `rquickjs` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/function/types.rs - value::function::types::This (line 104) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rquickjs` [INFO] [stdout] --> src/value/function/types.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rquickjs::{Runtime, Context, Result, This, Function}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `rquickjs` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/function/types.rs - value::function::types::Func (line 33) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rquickjs` [INFO] [stdout] --> src/value/function/types.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rquickjs::{Runtime, Context, Result, Func}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `rquickjs` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/function/types.rs - value::function::types::Method (line 12) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rquickjs` [INFO] [stdout] --> src/value/function/types.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rquickjs::{Runtime, Context, Result, Method, Function, This}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `rquickjs` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/convert.rs - value::convert::Coerced (line 10) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rquickjs` [INFO] [stdout] --> src/value/convert.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rquickjs::{Runtime, Context, Result, Coerced}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `rquickjs` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value/function/types.rs - value::function::types::Rest (line 152) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `rquickjs` [INFO] [stdout] --> src/value/function/types.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rquickjs::{Runtime, Context, Result, Rest, Function}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `rquickjs` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/persistent.rs - persistent::Persistent (line 39) [INFO] [stdout] src/value/convert.rs - value::convert::Coerced (line 10) [INFO] [stdout] src/value/function/types.rs - value::function::types::Func (line 33) [INFO] [stdout] src/value/function/types.rs - value::function::types::Method (line 12) [INFO] [stdout] src/value/function/types.rs - value::function::types::Opt (line 128) [INFO] [stdout] src/value/function/types.rs - value::function::types::Rest (line 152) [INFO] [stdout] src/value/function/types.rs - value::function::types::This (line 104) [INFO] [stdout] src/value/module.rs - value::module::module_init (line 147) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "be6bceb6902d02a64a0c6a2c864d08d84cce6d51dfec8d9d96aa2bc167774f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be6bceb6902d02a64a0c6a2c864d08d84cce6d51dfec8d9d96aa2bc167774f8e", kill_on_drop: false }` [INFO] [stdout] be6bceb6902d02a64a0c6a2c864d08d84cce6d51dfec8d9d96aa2bc167774f8e