[INFO] cloning repository https://github.com/jaropawlak/duplicates [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jaropawlak/duplicates" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaropawlak%2Fduplicates", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaropawlak%2Fduplicates'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fa2618e8169c9dd1401685eb7049d61e513db35 [INFO] checking jaropawlak/duplicates against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaropawlak%2Fduplicates" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jaropawlak/duplicates on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jaropawlak/duplicates [INFO] finished tweaking git repo https://github.com/jaropawlak/duplicates [INFO] tweaked toml for git repo https://github.com/jaropawlak/duplicates written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/jaropawlak/duplicates already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--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 mockall v0.6.0 [INFO] [stderr] Downloaded mockall_derive v0.6.0 [INFO] [stderr] Downloaded nom v5.1.0 [INFO] [stderr] Downloaded predicates v1.0.2 [INFO] [stderr] Downloaded libsqlite3-sys v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e55479dfd06ae6828d5ae5af06b04cd828cfbb18aaad8a0d45354d0fcbeda387 [INFO] running `Command { std: "docker" "start" "-a" "e55479dfd06ae6828d5ae5af06b04cd828cfbb18aaad8a0d45354d0fcbeda387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e55479dfd06ae6828d5ae5af06b04cd828cfbb18aaad8a0d45354d0fcbeda387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e55479dfd06ae6828d5ae5af06b04cd828cfbb18aaad8a0d45354d0fcbeda387", kill_on_drop: false }` [INFO] [stdout] e55479dfd06ae6828d5ae5af06b04cd828cfbb18aaad8a0d45354d0fcbeda387 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e0607e30a3bf613f609ff0f5047ea5f564c553cfe332880e2a6e67a141e1b6d [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" "1e0607e30a3bf613f609ff0f5047ea5f564c553cfe332880e2a6e67a141e1b6d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking downcast v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling libsqlite3-sys v0.17.0 [INFO] [stderr] Compiling nom v5.1.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking serde_json v1.0.45 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking filetime v0.2.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking float-cmp v0.5.3 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rusqlite v0.21.0 [INFO] [stderr] Checking regex v1.3.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking predicates v1.0.2 [INFO] [stderr] Checking config v0.10.1 [INFO] [stderr] Compiling mockall_derive v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking mockall v0.6.0 [INFO] [stderr] Checking duplicates v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mockall` [INFO] [stdout] --> src/datastore.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use mockall::predicate::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `mockall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mockall`, `mockall::predicate::*` [INFO] [stdout] --> src/datastore.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mockall::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `mockall` [INFO] [stdout] 6 | use mockall::predicate::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mockall` [INFO] [stdout] --> src/file_manager.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use mockall::predicate::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `mockall` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mockall`, `mockall::predicate::*` [INFO] [stdout] --> src/file_manager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use mockall::*; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `mockall` [INFO] [stdout] 8 | use mockall::predicate::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `automock` in this scope [INFO] [stdout] --> src/datastore.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[automock] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `automock` in this scope [INFO] [stdout] --> src/file_manager.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[automock] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mockall::*` [INFO] [stdout] --> src/tests.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use mockall::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `duplicates` [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] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/datastore.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[automock] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/datastore.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[automock] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/file_manager.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[automock] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1e0607e30a3bf613f609ff0f5047ea5f564c553cfe332880e2a6e67a141e1b6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e0607e30a3bf613f609ff0f5047ea5f564c553cfe332880e2a6e67a141e1b6d", kill_on_drop: false }` [INFO] [stdout] 1e0607e30a3bf613f609ff0f5047ea5f564c553cfe332880e2a6e67a141e1b6d