[INFO] cloning repository https://github.com/inherd/guarding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/inherd/guarding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finherd%2Fguarding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finherd%2Fguarding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ffb498a46ce6fc56a5849aea68838a11f60ab07 [INFO] testing inherd/guarding against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finherd%2Fguarding" "/workspace/builds/worker-98/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-98/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/inherd/guarding on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/inherd/guarding [INFO] finished tweaking git repo https://github.com/inherd/guarding [INFO] tweaked toml for git repo https://github.com/inherd/guarding written to /workspace/builds/worker-98/source/Cargo.toml [INFO] crate git repo https://github.com/inherd/guarding already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tree-sitter-java v0.19.0 [INFO] [stderr] Downloaded tree-sitter-javascript v0.19.0 [INFO] [stderr] Downloaded tree-sitter v0.19.3 [INFO] [stderr] Downloaded tree-sitter-rust v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 020846e77e6ba67747c4c455a28e69b8ce98187e63991abf3ed654b064d3ada6 [INFO] running `Command { std: "docker" "start" "-a" "020846e77e6ba67747c4c455a28e69b8ce98187e63991abf3ed654b064d3ada6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "020846e77e6ba67747c4c455a28e69b8ce98187e63991abf3ed654b064d3ada6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "020846e77e6ba67747c4c455a28e69b8ce98187e63991abf3ed654b064d3ada6", kill_on_drop: false }` [INFO] [stdout] 020846e77e6ba67747c4c455a28e69b8ce98187e63991abf3ed654b064d3ada6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97ee82acfb0558fde0a764bcfe9653416207ebcbf88952c2632ab23595240633 [INFO] running `Command { std: "docker" "start" "-a" "97ee82acfb0558fde0a764bcfe9653416207ebcbf88952c2632ab23595240633", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tree-sitter v0.19.3 [INFO] [stderr] Compiling tree-sitter-javascript v0.19.0 [INFO] [stderr] Compiling tree-sitter-java v0.19.0 [INFO] [stderr] Compiling tree-sitter-rust v0.19.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling guarding_parser v0.2.5 (/opt/rustwide/workdir/guarding_parser) [INFO] [stderr] Compiling guarding_core v0.2.5 (/opt/rustwide/workdir/guarding_core) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> guarding_core/src/rule_executor/executor.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | / &self.models.iter().for_each(|file| { [INFO] [stdout] 99 | | let classes: Vec = file.classes.iter() [INFO] [stdout] 100 | | .filter(|class| { [INFO] [stdout] 101 | | class.implements.contains(str) [INFO] [stdout] ... | [INFO] [stdout] 106 | | filtered_classes.extend(classes); [INFO] [stdout] 107 | | }); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> guarding_core/src/rule_executor/executor.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | / &self.filtered_models.iter().for_each(|file| { [INFO] [stdout] 219 | | if file.path == clz.path { [INFO] [stdout] 220 | | has_file_in_assert = true; [INFO] [stdout] 221 | | } [INFO] [stdout] 222 | | }); [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling guarding v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.61s [INFO] running `Command { std: "docker" "inspect" "97ee82acfb0558fde0a764bcfe9653416207ebcbf88952c2632ab23595240633", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97ee82acfb0558fde0a764bcfe9653416207ebcbf88952c2632ab23595240633", kill_on_drop: false }` [INFO] [stdout] 97ee82acfb0558fde0a764bcfe9653416207ebcbf88952c2632ab23595240633 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60dd5c8a55aa7ca6e21f30af13135696bc004918d896a585393e6c2bb5742dfe [INFO] running `Command { std: "docker" "start" "-a" "60dd5c8a55aa7ca6e21f30af13135696bc004918d896a585393e6c2bb5742dfe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling guarding v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> guarding_core/src/rule_executor/executor.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | / &self.models.iter().for_each(|file| { [INFO] [stdout] 99 | | let classes: Vec = file.classes.iter() [INFO] [stdout] 100 | | .filter(|class| { [INFO] [stdout] 101 | | class.implements.contains(str) [INFO] [stdout] ... | [INFO] [stdout] 106 | | filtered_classes.extend(classes); [INFO] [stdout] 107 | | }); [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> guarding_core/src/rule_executor/executor.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | / &self.filtered_models.iter().for_each(|file| { [INFO] [stdout] 219 | | if file.path == clz.path { [INFO] [stdout] 220 | | has_file_in_assert = true; [INFO] [stdout] 221 | | } [INFO] [stdout] 222 | | }); [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.31s [INFO] running `Command { std: "docker" "inspect" "60dd5c8a55aa7ca6e21f30af13135696bc004918d896a585393e6c2bb5742dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60dd5c8a55aa7ca6e21f30af13135696bc004918d896a585393e6c2bb5742dfe", kill_on_drop: false }` [INFO] [stdout] 60dd5c8a55aa7ca6e21f30af13135696bc004918d896a585393e6c2bb5742dfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f8e64316dda0ecaf462ebd71bb98fb23cca22f93ac6c96f6db266033fbb26d0f [INFO] running `Command { std: "docker" "start" "-a" "f8e64316dda0ecaf462ebd71bb98fb23cca22f93ac6c96f6db266033fbb26d0f", kill_on_drop: false }` [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> guarding_core/src/rule_executor/executor.rs:98:17 [INFO] [stderr] | [INFO] [stderr] 98 | / &self.models.iter().for_each(|file| { [INFO] [stderr] 99 | | let classes: Vec = file.classes.iter() [INFO] [stderr] 100 | | .filter(|class| { [INFO] [stderr] 101 | | class.implements.contains(str) [INFO] [stderr] ... | [INFO] [stderr] 106 | | filtered_classes.extend(classes); [INFO] [stderr] 107 | | }); [INFO] [stderr] | |__________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> guarding_core/src/rule_executor/executor.rs:218:21 [INFO] [stderr] | [INFO] [stderr] 218 | / &self.filtered_models.iter().for_each(|file| { [INFO] [stderr] 219 | | if file.path == clz.path { [INFO] [stderr] 220 | | has_file_in_assert = true; [INFO] [stderr] 221 | | } [INFO] [stderr] 222 | | }); [INFO] [stderr] | |______________________^ [INFO] [stderr] [INFO] [stderr] warning: `guarding_core` (lib) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/guarding-bd3b220383089d04) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test identify::java_ident::tests::should_support_annotation ... ignored [INFO] [stdout] test identify::java_ident::tests::should_parse_normal_java_class ... ok [INFO] [stdout] test identify::java_ident::tests::should_parse_import ... ok [INFO] [stdout] test identify::java_ident::tests::should_parse_impl_java_class ... ok [INFO] [stdout] test identify::java_ident::tests::should_parse_multiple_java_class ... ok [INFO] [stdout] test identify::js_ident::tests::should_parse_import ... ok [INFO] [stdout] test identify::java_ident::tests::should_support_package_name ... ok [INFO] [stdout] test identify::java_ident::tests::should_support_inner_class ... ok [INFO] [stdout] test identify::js_ident::tests::should_parse_func_location ... ok [INFO] [stdout] test identify::rust_ident::tests::should_parse_import ... ok [INFO] [stdout] test identify::rust_ident::tests::should_parse_basic_struct ... ok [INFO] [stdout] test identify::rust_ident::tests::should_parse_for_trait_impl ... ok [INFO] [stdout] test identify::rust_ident::tests::should_parse_struct ... ok [INFO] [stdout] test tests::should_support_for_extends_count ... ok [INFO] [stdout] test tests::should_support_for_starts_with ... ok [INFO] [stdout] test tests::should_working_in_process ... ok [INFO] [stdout] test tests::should_get_errors_when_lt ... ok [INFO] [stdout] test tests::should_support_for_class_filter ... ok [INFO] [stdout] test tests::should_support_filter ... ok [INFO] [stdout] test tests::should_support_for_accessed ... ok [INFO] [stdout] test tests::should_support_for_extends_ends_with ... ok [INFO] [stdout] test tests::should_support_for_contains ... ok [INFO] [stdout] test tests::should_support_for_not_contains ... ok [INFO] [stdout] test tests::should_support_for_reside_in ... ok [INFO] [stdout] test tests::should_support_for_not_reside_in ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.99s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/guarding-3a67f55f4c64ee7b) [INFO] [stdout] [INFO] [stderr] Doc-tests guarding [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] [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] running `Command { std: "docker" "inspect" "f8e64316dda0ecaf462ebd71bb98fb23cca22f93ac6c96f6db266033fbb26d0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8e64316dda0ecaf462ebd71bb98fb23cca22f93ac6c96f6db266033fbb26d0f", kill_on_drop: false }` [INFO] [stdout] f8e64316dda0ecaf462ebd71bb98fb23cca22f93ac6c96f6db266033fbb26d0f