[INFO] fetching crate nest_analyzer 0.0.1... [INFO] testing nest_analyzer-0.0.1 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate nest_analyzer 0.0.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate nest_analyzer 0.0.1 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate nest_analyzer 0.0.1 [INFO] finished tweaking crates.io crate nest_analyzer 0.0.1 [INFO] tweaked toml for crates.io crate nest_analyzer 0.0.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a77b6a10d341232f2724cc3ac99e5a7358b18a99417128b876d6b9b2017c6cd [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" "0a77b6a10d341232f2724cc3ac99e5a7358b18a99417128b876d6b9b2017c6cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a77b6a10d341232f2724cc3ac99e5a7358b18a99417128b876d6b9b2017c6cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a77b6a10d341232f2724cc3ac99e5a7358b18a99417128b876d6b9b2017c6cd", kill_on_drop: false }` [INFO] [stdout] 0a77b6a10d341232f2724cc3ac99e5a7358b18a99417128b876d6b9b2017c6cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf8d877e92e5fba77c9de128337fe2948f447445ca0eff9fb0892712632ca8a6 [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" "cf8d877e92e5fba77c9de128337fe2948f447445ca0eff9fb0892712632ca8a6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling if_chain v1.0.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling const-random-macro v0.1.12 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling const-random v0.1.12 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling dashmap v3.5.1 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling swc_atoms v0.2.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling pmutil v0.5.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling swc_macros_common v0.3.1 [INFO] [stderr] Compiling swc_visit_macros v0.1.1 [INFO] [stderr] Compiling from_variant v0.1.2 [INFO] [stderr] Compiling enum_kind v0.2.0 [INFO] [stderr] Compiling is-macro v0.1.8 [INFO] [stderr] Compiling string_enum v0.3.0 [INFO] [stderr] Compiling swc_ecma_parser_macros v0.4.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling ast_node v0.7.0 [INFO] [stderr] Compiling swc_visit v0.1.1 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling sourcemap v6.0.1 [INFO] [stderr] Compiling swc_common v0.7.0 [INFO] [stderr] Compiling swc_ecma_ast v0.26.0 [INFO] [stderr] Compiling swc_ecma_visit v0.11.0 [INFO] [stderr] Compiling swc_ecma_parser v0.31.0 [INFO] [stderr] Compiling nest_analyzer v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 40s [INFO] running `Command { std: "docker" "inspect" "cf8d877e92e5fba77c9de128337fe2948f447445ca0eff9fb0892712632ca8a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf8d877e92e5fba77c9de128337fe2948f447445ca0eff9fb0892712632ca8a6", kill_on_drop: false }` [INFO] [stdout] cf8d877e92e5fba77c9de128337fe2948f447445ca0eff9fb0892712632ca8a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95b55747119bc681f796f62ba32a230966870566b73cb7265e8a06dbe052f433 [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" "95b55747119bc681f796f62ba32a230966870566b73cb7265e8a06dbe052f433", kill_on_drop: false }` [INFO] [stderr] Compiling nest_analyzer v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.94s [INFO] running `Command { std: "docker" "inspect" "95b55747119bc681f796f62ba32a230966870566b73cb7265e8a06dbe052f433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95b55747119bc681f796f62ba32a230966870566b73cb7265e8a06dbe052f433", kill_on_drop: false }` [INFO] [stdout] 95b55747119bc681f796f62ba32a230966870566b73cb7265e8a06dbe052f433 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f87bd7784af2d3c14350150f007b5df0ca4233aae0462cd90bd7a74bcf500bf [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" "2f87bd7784af2d3c14350150f007b5df0ca4233aae0462cd90bd7a74bcf500bf", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stdout] running 10 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/nest_analyzer-19b7d96a55cfb876 [INFO] [stdout] test scopes::tests::switch_scope ... ok [INFO] [stdout] test scopes::tests::array_literal ... ok [INFO] [stdout] test checks::ban_deno_run::tests::ban_deno_run_err ... ok [INFO] [stdout] test checks::ban_deno_run::tests::ban_deno_run_ok ... ok [INFO] [stdout] test scopes::tests::call_new_expressions ... ok [INFO] [stdout] test scopes::tests::import_binding ... ok [INFO] [stdout] test scopes::tests::loop_scopes ... ok [INFO] [stdout] test scopes::tests::destructuring_assignment ... ok [INFO] [stdout] test scopes::tests::scopes ... ok [INFO] [stdout] test scopes::tests::object_literal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests nest_analyzer [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/checks/mod.rs - checks::Rule (line 10) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/checks/mod.rs - checks::Rule (line 10) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Rule` in this scope [INFO] [stdout] --> src/checks/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 5 | impl Rule for ARule { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use nest_analyzer::checks::Rule; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/checks/mod.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 14 | fn check_module(&self, context: Arc, module: &swc_ecma_ast::Module) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/checks/mod.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 14 | fn check_module(&self, context: Arc, module: &swc_ecma_ast::Module) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::task::Context; [INFO] [stdout] | [INFO] [stdout] 2 | use nest_analyzer::analyzer::Context; [INFO] [stdout] | [INFO] [stdout] 2 | use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 2 | use swc_ecma_parser::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/checks/mod.rs - checks::Rule (line 10) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2f87bd7784af2d3c14350150f007b5df0ca4233aae0462cd90bd7a74bcf500bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f87bd7784af2d3c14350150f007b5df0ca4233aae0462cd90bd7a74bcf500bf", kill_on_drop: false }` [INFO] [stdout] 2f87bd7784af2d3c14350150f007b5df0ca4233aae0462cd90bd7a74bcf500bf