[INFO] cloning repository https://github.com/Prunoideae/json-grep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Prunoideae/json-grep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrunoideae%2Fjson-grep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrunoideae%2Fjson-grep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1ade158720e1931247d2705ec44470cfc304e69 [INFO] checking Prunoideae/json-grep against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrunoideae%2Fjson-grep" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Prunoideae/json-grep on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Prunoideae/json-grep [INFO] removed workspace from git repo https://github.com/Prunoideae/json-grep [INFO] removed path dependency jg from git repo https://github.com/Prunoideae/json-grep [INFO] finished tweaking git repo https://github.com/Prunoideae/json-grep [INFO] tweaked toml for git repo https://github.com/Prunoideae/json-grep written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Prunoideae/json-grep already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d6450d57a72fb8eda06dd15f2b62085168972fc233c366cb8b1b77c9b8d9df3 [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" "9d6450d57a72fb8eda06dd15f2b62085168972fc233c366cb8b1b77c9b8d9df3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d6450d57a72fb8eda06dd15f2b62085168972fc233c366cb8b1b77c9b8d9df3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d6450d57a72fb8eda06dd15f2b62085168972fc233c366cb8b1b77c9b8d9df3", kill_on_drop: false }` [INFO] [stdout] 9d6450d57a72fb8eda06dd15f2b62085168972fc233c366cb8b1b77c9b8d9df3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c575b45d564829bf4c5ba59e7e2e99db273fed23ee872681c3fd736716e78e72 [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" "c575b45d564829bf4c5ba59e7e2e99db273fed23ee872681c3fd736716e78e72", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking predicates-core v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking json v0.11.15 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking predicates-tree v1.0.1 [INFO] [stderr] Checking crossbeam-utils v0.8.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking isatty v0.1.9 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking json-highlight-writer v1.1.0 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking predicates v1.0.6 [INFO] [stderr] Checking serde v1.0.123 [INFO] [stderr] Checking escargot v0.3.1 [INFO] [stderr] Checking assert_cmd v0.10.2 [INFO] [stderr] Checking jg v0.1.6 [INFO] [stderr] Checking json-grep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `jg::matcher` [INFO] [stdout] --> crates/core/app.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use jg::matcher::compile_regex; [INFO] [stdout] | ^^^^^^^ could not find `matcher` in `jg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jg::logic` [INFO] [stdout] --> crates/core/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use jg::logic::search_values; [INFO] [stdout] | ^^^^^ could not find `logic` in `jg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jg::matcher` [INFO] [stdout] --> crates/core/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use jg::matcher::compile_regex; [INFO] [stdout] | ^^^^^^^ could not find `matcher` in `jg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> crates/core/app.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jg::matcher` [INFO] [stdout] --> crates/core/app.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use jg::matcher::compile_regex; [INFO] [stdout] | ^^^^^^^ could not find `matcher` in `jg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jg::logic` [INFO] [stdout] --> crates/core/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use jg::logic::search_values; [INFO] [stdout] | ^^^^^ could not find `logic` in `jg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jg::matcher` [INFO] [stdout] --> crates/core/main.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use jg::matcher::compile_regex; [INFO] [stdout] | ^^^^^^^ could not find `matcher` in `jg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> crates/core/app.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> crates/core/main.rs:36:69 [INFO] [stdout] | [INFO] [stdout] 36 | serde_json::to_string_pretty(&search_values(&j, matcher.clone()).unwrap()).unwrap() [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `matcher` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> crates/core/main.rs:36:69 [INFO] [stdout] | [INFO] [stdout] 36 | serde_json::to_string_pretty(&search_values(&j, matcher.clone()).unwrap()).unwrap() [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `matcher` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> crates/core/main.rs:64:57 [INFO] [stdout] | [INFO] [stdout] 64 | let results = search_values(&v, matcher.clone()).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `matcher` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> crates/core/main.rs:64:57 [INFO] [stdout] | [INFO] [stdout] 64 | let results = search_values(&v, matcher.clone()).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `matcher` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `json-grep` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c575b45d564829bf4c5ba59e7e2e99db273fed23ee872681c3fd736716e78e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c575b45d564829bf4c5ba59e7e2e99db273fed23ee872681c3fd736716e78e72", kill_on_drop: false }` [INFO] [stdout] c575b45d564829bf4c5ba59e7e2e99db273fed23ee872681c3fd736716e78e72