[INFO] updating cached repository https://github.com/jaropawlak/duplicates [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2fa2618e8169c9dd1401685eb7049d61e513db35 [INFO] testing jaropawlak/duplicates against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaropawlak%2Fduplicates" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jaropawlak/duplicates on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/jaropawlak/duplicates already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 592a554be262ed78d8912dc98e018039f55784b7afcad7d0e3686a2fb884c128 [INFO] running `"docker" "start" "-a" "592a554be262ed78d8912dc98e018039f55784b7afcad7d0e3686a2fb884c128"` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling libsqlite3-sys v0.17.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling nom v5.1.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling filetime v0.2.8 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling inotify v0.7.0 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling rusqlite v0.21.0 [INFO] [stderr] Compiling regex v1.3.3 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.45 [INFO] [stderr] Compiling config v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling duplicates v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mockall` [INFO] [stderr] --> src/datastore.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use mockall::predicate::*; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `mockall` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `mockall`, `mockall::predicate::*` [INFO] [stderr] --> src/datastore.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use mockall::*; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `mockall` [INFO] [stderr] 6 | use mockall::predicate::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mockall` [INFO] [stderr] --> src/file_manager.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use mockall::predicate::*; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `mockall` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `mockall`, `mockall::predicate::*` [INFO] [stderr] --> src/file_manager.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use mockall::*; [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `mockall` [INFO] [stderr] 8 | use mockall::predicate::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `automock` in this scope [INFO] [stderr] --> src/datastore.rs:24:3 [INFO] [stderr] | [INFO] [stderr] 24 | #[automock] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `automock` in this scope [INFO] [stderr] --> src/file_manager.rs:19:3 [INFO] [stderr] | [INFO] [stderr] 19 | #[automock] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `duplicates`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "592a554be262ed78d8912dc98e018039f55784b7afcad7d0e3686a2fb884c128"` [INFO] running `"docker" "rm" "-f" "592a554be262ed78d8912dc98e018039f55784b7afcad7d0e3686a2fb884c128"` [INFO] [stdout] 592a554be262ed78d8912dc98e018039f55784b7afcad7d0e3686a2fb884c128