[INFO] cloning repository https://github.com/dsbarnes/linked-lists [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dsbarnes/linked-lists" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Flinked-lists", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Flinked-lists'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb80fb1b74e71e80a83ed6fc146b44a55133819b [INFO] checking dsbarnes/linked-lists against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsbarnes%2Flinked-lists" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dsbarnes/linked-lists on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dsbarnes/linked-lists [INFO] finished tweaking git repo https://github.com/dsbarnes/linked-lists [INFO] tweaked toml for git repo https://github.com/dsbarnes/linked-lists written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/dsbarnes/linked-lists already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff424dd1ee02473b476bb3b1eb7dd51a988bd321621aa19baae6a6091f7b8270 [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" "ff424dd1ee02473b476bb3b1eb7dd51a988bd321621aa19baae6a6091f7b8270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff424dd1ee02473b476bb3b1eb7dd51a988bd321621aa19baae6a6091f7b8270", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff424dd1ee02473b476bb3b1eb7dd51a988bd321621aa19baae6a6091f7b8270", kill_on_drop: false }` [INFO] [stdout] ff424dd1ee02473b476bb3b1eb7dd51a988bd321621aa19baae6a6091f7b8270 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac1e4dbf51f915ce215a19f64f8049956e7f867e2f9b76c163d797de72ea22d4 [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" "ac1e4dbf51f915ce215a19f64f8049956e7f867e2f9b76c163d797de72ea22d4", kill_on_drop: false }` [INFO] [stderr] Checking linked-lists v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/second.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(&sefl) -> Option<&T> { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(self: &sefl) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(sefl: &TypeName) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(_: &sefl) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/second.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(&sefl) -> Option<&T> { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(self: &sefl) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(sefl: &TypeName) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(_: &sefl) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/second.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(&sefl) -> Option<&T> { [INFO] [stdout] | ---- this function doesn't have a `self` parameter [INFO] [stdout] 44 | self.head.as_ref().map(|node| { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(&&self, sefl) -> Option<&T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0424]: expected value, found module `self` [INFO] [stdout] --> src/second.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(&sefl) -> Option<&T> { [INFO] [stdout] | ---- this function doesn't have a `self` parameter [INFO] [stdout] 44 | self.head.as_ref().map(|node| { [INFO] [stdout] | ^^^^ `self` value is a keyword only available in methods with a `self` parameter [INFO] [stdout] | [INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(&&self, sefl) -> Option<&T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/second.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(&sefl) -> Option<&T> { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(&sefl) -> Option<&'static T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0424. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linked-lists` due to 4 previous errors [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/second.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(&sefl) -> Option<&T> { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value with an elided lifetime, but the lifetime cannot be derived from the arguments [INFO] [stdout] help: consider using the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 43 | pub fn peek(&sefl) -> Option<&'static T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] Some errors have detailed explanations: E0106, E0424. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ac1e4dbf51f915ce215a19f64f8049956e7f867e2f9b76c163d797de72ea22d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac1e4dbf51f915ce215a19f64f8049956e7f867e2f9b76c163d797de72ea22d4", kill_on_drop: false }` [INFO] [stdout] ac1e4dbf51f915ce215a19f64f8049956e7f867e2f9b76c163d797de72ea22d4