[INFO] updating cached repository https://github.com/jaropawlak/duplicates [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fa2618e8169c9dd1401685eb7049d61e513db35 [INFO] testing jaropawlak/duplicates against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaropawlak%2Fduplicates" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jaropawlak/duplicates on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-7/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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] 7501686f3dbd8fff2f7fdc8617b1fe8a9714d5f294927164d15aa5c4ff51f27c [INFO] running `Command { std: "docker" "start" "-a" "7501686f3dbd8fff2f7fdc8617b1fe8a9714d5f294927164d15aa5c4ff51f27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7501686f3dbd8fff2f7fdc8617b1fe8a9714d5f294927164d15aa5c4ff51f27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7501686f3dbd8fff2f7fdc8617b1fe8a9714d5f294927164d15aa5c4ff51f27c", kill_on_drop: false }` [INFO] [stdout] 7501686f3dbd8fff2f7fdc8617b1fe8a9714d5f294927164d15aa5c4ff51f27c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87b5bdb9bf31abd0aa5a86b27df3e4684057551523c346cc88844fa674d3417d [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" "87b5bdb9bf31abd0aa5a86b27df3e4684057551523c346cc88844fa674d3417d", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling regex-syntax v0.6.13 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling libsqlite3-sys v0.17.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling filetime v0.2.8 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Compiling inotify v0.7.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling serde_json v1.0.45 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling nom v5.1.0 [INFO] [stderr] Compiling rusqlite v0.21.0 [INFO] [stderr] Compiling quote v1.0.2 [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 rust-crypto v0.2.36 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling regex v1.3.3 [INFO] [stderr] Compiling serde-hjson v0.9.1 [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] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `mockall` [INFO] [stdout] --> src/datastore.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use mockall::predicate::*; [INFO] [stdout] | ^^^^^^^ use of undeclared type 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 type 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 type or module `mockall` [INFO] [stdout] --> src/file_manager.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use mockall::predicate::*; [INFO] [stdout] | ^^^^^^^ use of undeclared type 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 type 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] 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] running `Command { std: "docker" "inspect" "87b5bdb9bf31abd0aa5a86b27df3e4684057551523c346cc88844fa674d3417d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b5bdb9bf31abd0aa5a86b27df3e4684057551523c346cc88844fa674d3417d", kill_on_drop: false }` [INFO] [stdout] 87b5bdb9bf31abd0aa5a86b27df3e4684057551523c346cc88844fa674d3417d