[INFO] cloning repository https://github.com/Ramla-I/trusted_linked_list [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ramla-I/trusted_linked_list" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRamla-I%2Ftrusted_linked_list", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRamla-I%2Ftrusted_linked_list'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd37b7815ac5423110adfd111630daf7806f40d2 [INFO] checking Ramla-I/trusted_linked_list against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRamla-I%2Ftrusted_linked_list" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ramla-I/trusted_linked_list [INFO] finished tweaking git repo https://github.com/Ramla-I/trusted_linked_list [INFO] tweaked toml for git repo https://github.com/Ramla-I/trusted_linked_list written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ramla-I/trusted_linked_list on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ramla-I/trusted_linked_list already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prusti-contracts-proc-macros v0.1.2 [INFO] [stderr] Downloaded prusti-contracts v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bbcd8047ee023258a7bd9aed52a167309e581b5f03114162504371570ab904d [INFO] running `Command { std: "docker" "start" "-a" "7bbcd8047ee023258a7bd9aed52a167309e581b5f03114162504371570ab904d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bbcd8047ee023258a7bd9aed52a167309e581b5f03114162504371570ab904d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bbcd8047ee023258a7bd9aed52a167309e581b5f03114162504371570ab904d", kill_on_drop: false }` [INFO] [stdout] 7bbcd8047ee023258a7bd9aed52a167309e581b5f03114162504371570ab904d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81f02eae5e696f88d61533a06ea1510d94edd677946d50c463aa9c6c31a0a716 [INFO] running `Command { std: "docker" "start" "-a" "81f02eae5e696f88d61533a06ea1510d94edd677946d50c463aa9c6c31a0a716", kill_on_drop: false }` [INFO] [stderr] Compiling prusti-contracts-proc-macros v0.1.2 [INFO] [stderr] Checking prusti-contracts v0.1.2 [INFO] [stderr] Checking trusted_linked_list v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `prusti` [INFO] [stdout] --> src/main.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | #[cfg_attr(feature="prusti", pure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `prusti` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `prusti` [INFO] [stdout] --> src/main.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | #[cfg_attr(feature="prusti", pure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `prusti` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/main.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | Link::More(box node) => false, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/main.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | Link::More(box node) => false, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_len` [INFO] [stdout] --> src/main.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let old_len = self.head.len(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_len` [INFO] [stdout] --> src/main.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let old_len = self.head.len(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_len` [INFO] [stdout] --> src/main.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let old_len = self.head.len(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_len` [INFO] [stdout] --> src/main.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let old_len = self.head.len(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/main.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Link { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 39 | #[pure] [INFO] [stdout] 40 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/main.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Link { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 39 | #[pure] [INFO] [stdout] 40 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `push_unique` and `overlaps` are never used [INFO] [stdout] --> src/main.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 116 | impl List { [INFO] [stdout] | ----------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | fn push_unique(&mut self, elem: T) -> TrustedOption{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub(crate) fn overlaps(link: &Link, elem: &T) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `push_unique` and `overlaps` are never used [INFO] [stdout] --> src/main.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 116 | impl List { [INFO] [stdout] | ----------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | fn push_unique(&mut self, elem: T) -> TrustedOption{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub(crate) fn overlaps(link: &Link, elem: &T) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "81f02eae5e696f88d61533a06ea1510d94edd677946d50c463aa9c6c31a0a716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81f02eae5e696f88d61533a06ea1510d94edd677946d50c463aa9c6c31a0a716", kill_on_drop: false }` [INFO] [stdout] 81f02eae5e696f88d61533a06ea1510d94edd677946d50c463aa9c6c31a0a716