[INFO] cloning repository https://github.com/digyx/Catherine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/digyx/Catherine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdigyx%2FCatherine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdigyx%2FCatherine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e10b9e297d0e5227bd78a1601880040de5e8988f [INFO] checking digyx/Catherine against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdigyx%2FCatherine" "/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/digyx/Catherine on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/digyx/Catherine [INFO] finished tweaking git repo https://github.com/digyx/Catherine [INFO] tweaked toml for git repo https://github.com/digyx/Catherine written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/digyx/Catherine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03f8fbaf492878f4431175887b5dae43a85bce3000ef81da8893de08135ad39c [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" "03f8fbaf492878f4431175887b5dae43a85bce3000ef81da8893de08135ad39c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03f8fbaf492878f4431175887b5dae43a85bce3000ef81da8893de08135ad39c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03f8fbaf492878f4431175887b5dae43a85bce3000ef81da8893de08135ad39c", kill_on_drop: false }` [INFO] [stdout] 03f8fbaf492878f4431175887b5dae43a85bce3000ef81da8893de08135ad39c [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76a8d3211856f369e1cb9a401d9d8b9249a7fff024e01eec042ed92a282bdc42 [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" "76a8d3211856f369e1cb9a401d9d8b9249a7fff024e01eec042ed92a282bdc42", kill_on_drop: false }` [INFO] [stderr] Checking catherine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/db.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut db: Database = Database{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prime_key` [INFO] [stdout] --> src/db.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn put(&mut self, prime_key: String, second_key: String, value: String) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prime_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_key` [INFO] [stdout] --> src/db.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | fn put(&mut self, prime_key: String, second_key: String, value: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/db.rs:22:62 [INFO] [stdout] | [INFO] [stdout] 22 | fn put(&mut self, prime_key: String, second_key: String, value: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prime_key` [INFO] [stdout] --> src/db.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | fn get(&self, prime_key: String, second_key: String) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prime_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_key` [INFO] [stdout] --> src/db.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | fn get(&self, prime_key: String, second_key: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prime_key` [INFO] [stdout] --> src/db.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | fn delete(&mut self, prime_key: String, second_key: String) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prime_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_key` [INFO] [stdout] --> src/db.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 35 | fn delete(&mut self, prime_key: String, second_key: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/db.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | fn update(&self, prime_key: String, second_key: String, value: String) { [INFO] [stdout] | ----- help: consider changing this to be a mutable reference: `&mut self` [INFO] [stdout] 32 | self.put(prime_key, second_key, value); [INFO] [stdout] | ^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut db: Database = Database{ [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: could not compile `catherine` [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 variable: `db` [INFO] [stdout] --> src/db.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut db: Database = Database{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prime_key` [INFO] [stdout] --> src/db.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn put(&mut self, prime_key: String, second_key: String, value: String) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prime_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_key` [INFO] [stdout] --> src/db.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | fn put(&mut self, prime_key: String, second_key: String, value: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/db.rs:22:62 [INFO] [stdout] | [INFO] [stdout] 22 | fn put(&mut self, prime_key: String, second_key: String, value: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prime_key` [INFO] [stdout] --> src/db.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | fn get(&self, prime_key: String, second_key: String) -> Option { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prime_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_key` [INFO] [stdout] --> src/db.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | fn get(&self, prime_key: String, second_key: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prime_key` [INFO] [stdout] --> src/db.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | fn delete(&mut self, prime_key: String, second_key: String) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prime_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `second_key` [INFO] [stdout] --> src/db.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 35 | fn delete(&mut self, prime_key: String, second_key: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_second_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `*self` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/db.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | fn update(&self, prime_key: String, second_key: String, value: String) { [INFO] [stdout] | ----- help: consider changing this to be a mutable reference: `&mut self` [INFO] [stdout] 32 | self.put(prime_key, second_key, value); [INFO] [stdout] | ^^^^ `self` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/db.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut db: Database = Database{ [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "76a8d3211856f369e1cb9a401d9d8b9249a7fff024e01eec042ed92a282bdc42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76a8d3211856f369e1cb9a401d9d8b9249a7fff024e01eec042ed92a282bdc42", kill_on_drop: false }` [INFO] [stdout] 76a8d3211856f369e1cb9a401d9d8b9249a7fff024e01eec042ed92a282bdc42