[INFO] cloning repository https://github.com/guijiangheng/learn-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guijiangheng/learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguijiangheng%2Flearn-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguijiangheng%2Flearn-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4efc0ebeb618155aa43ca6df762390b94d0bbd30 [INFO] checking guijiangheng/learn-rust/4efc0ebeb618155aa43ca6df762390b94d0bbd30 against master#da2544bfbe84df7b24d83c029c74299ebf6112c6 for pr-149681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguijiangheng%2Flearn-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/guijiangheng/learn-rust [INFO] finished tweaking git repo https://github.com/guijiangheng/learn-rust [INFO] tweaked toml for git repo https://github.com/guijiangheng/learn-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/guijiangheng/learn-rust on toolchain da2544bfbe84df7b24d83c029c74299ebf6112c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/guijiangheng/learn-rust 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" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdf61ca47879a4b338da4b694ad8087ab746fac823f4b4916676767f6671f1f1 [INFO] running `Command { std: "docker" "start" "-a" "bdf61ca47879a4b338da4b694ad8087ab746fac823f4b4916676767f6671f1f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdf61ca47879a4b338da4b694ad8087ab746fac823f4b4916676767f6671f1f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdf61ca47879a4b338da4b694ad8087ab746fac823f4b4916676767f6671f1f1", kill_on_drop: false }` [INFO] [stdout] bdf61ca47879a4b338da4b694ad8087ab746fac823f4b4916676767f6671f1f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+da2544bfbe84df7b24d83c029c74299ebf6112c6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fe971a11accadda5e7ba5d35d07301486eb0e64d9ae1132a1bcfa7623db3e36 [INFO] running `Command { std: "docker" "start" "-a" "5fe971a11accadda5e7ba5d35d07301486eb0e64d9ae1132a1bcfa7623db3e36", kill_on_drop: false }` [INFO] [stderr] Checking learn-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:74:80 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn intersection<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 74 | pub fn intersection<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:79:78 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 79 | pub fn difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:83:73 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn union<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 83 | pub fn union<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:87:88 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn symmetric_difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 87 | pub fn symmetric_difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/link_list.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/link_list.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:74:80 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn intersection<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 74 | pub fn intersection<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:79:78 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 79 | pub fn difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:83:73 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn union<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 83 | pub fn union<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:87:88 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn symmetric_difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 87 | pub fn symmetric_difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/link_list.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/link_list.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:74:80 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn intersection<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 74 | pub fn intersection<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:79:78 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 79 | pub fn difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:83:73 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn union<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 83 | pub fn union<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:87:88 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn symmetric_difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 87 | pub fn symmetric_difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:74:80 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn intersection<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 74 | pub fn intersection<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:79:78 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 79 | pub fn difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:83:73 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn union<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 83 | pub fn union<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hash_set.rs:87:88 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn symmetric_difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | -- -- the lifetime is named here ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 87 | pub fn symmetric_difference<'a>(&'a self, other: &'a Self) -> impl Iterator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "5fe971a11accadda5e7ba5d35d07301486eb0e64d9ae1132a1bcfa7623db3e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fe971a11accadda5e7ba5d35d07301486eb0e64d9ae1132a1bcfa7623db3e36", kill_on_drop: false }` [INFO] [stdout] 5fe971a11accadda5e7ba5d35d07301486eb0e64d9ae1132a1bcfa7623db3e36