[INFO] cloning repository https://github.com/bes/poc-bug-intellij-rust-macro-declared-deref [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bes/poc-bug-intellij-rust-macro-declared-deref" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbes%2Fpoc-bug-intellij-rust-macro-declared-deref", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbes%2Fpoc-bug-intellij-rust-macro-declared-deref'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a1f567239fb1bef44fd0fca0f6a6211c2551ce4 [INFO] checking bes/poc-bug-intellij-rust-macro-declared-deref against try#15a786332e2f0dd343b226ab6bb8ec028a350f73 for pr-81782 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbes%2Fpoc-bug-intellij-rust-macro-declared-deref" "/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/bes/poc-bug-intellij-rust-macro-declared-deref on toolchain 15a786332e2f0dd343b226ab6bb8ec028a350f73 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bes/poc-bug-intellij-rust-macro-declared-deref [INFO] finished tweaking git repo https://github.com/bes/poc-bug-intellij-rust-macro-declared-deref [INFO] tweaked toml for git repo https://github.com/bes/poc-bug-intellij-rust-macro-declared-deref written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/bes/poc-bug-intellij-rust-macro-declared-deref already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79240f5397c54bf454f9e9a49fec3a8423467afafbf2cf2a2a4f310605fd5413 [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" "79240f5397c54bf454f9e9a49fec3a8423467afafbf2cf2a2a4f310605fd5413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79240f5397c54bf454f9e9a49fec3a8423467afafbf2cf2a2a4f310605fd5413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79240f5397c54bf454f9e9a49fec3a8423467afafbf2cf2a2a4f310605fd5413", kill_on_drop: false }` [INFO] [stdout] 79240f5397c54bf454f9e9a49fec3a8423467afafbf2cf2a2a4f310605fd5413 [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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+15a786332e2f0dd343b226ab6bb8ec028a350f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cd75f01b7a4ea06668ea0679a82cdbeae2f1dfac7799280c211faa6f90f8558 [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" "4cd75f01b7a4ea06668ea0679a82cdbeae2f1dfac7799280c211faa6f90f8558", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking uuid v0.6.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking filetime v0.2.10 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.5 [INFO] [stderr] Compiling rocket_contrib_codegen v0.4.5 [INFO] [stderr] Compiling rocket v0.4.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Checking rocket_http v0.4.5 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking rocket_contrib v0.4.5 [INFO] [stderr] Checking poc-bug-intellij-rust-macro-declared-deref v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/main.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | fn takes_mysql_connection(conn: &MysqlConnection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `takes_mysql_connection` [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn takes_mysql_connection(conn: &MysqlConnection) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `takes_db_conn` [INFO] [stdout] --> src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn takes_db_conn(conn: &DbConn) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/main.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | fn takes_mysql_connection(conn: &MysqlConnection) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `takes_mysql_connection` [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn takes_mysql_connection(conn: &MysqlConnection) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `takes_db_conn` [INFO] [stdout] --> src/main.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn takes_db_conn(conn: &DbConn) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 13s [INFO] running `Command { std: "docker" "inspect" "4cd75f01b7a4ea06668ea0679a82cdbeae2f1dfac7799280c211faa6f90f8558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cd75f01b7a4ea06668ea0679a82cdbeae2f1dfac7799280c211faa6f90f8558", kill_on_drop: false }` [INFO] [stdout] 4cd75f01b7a4ea06668ea0679a82cdbeae2f1dfac7799280c211faa6f90f8558