[INFO] cloning repository https://github.com/owainlewis/rsc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/owainlewis/rsc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowainlewis%2Frsc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowainlewis%2Frsc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab09fadcbead42ab1c85177f0e77781a35273426 [INFO] checking owainlewis/rsc against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowainlewis%2Frsc" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/owainlewis/rsc on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/owainlewis/rsc [INFO] finished tweaking git repo https://github.com/owainlewis/rsc [INFO] tweaked toml for git repo https://github.com/owainlewis/rsc written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/owainlewis/rsc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c62ab361633bbcf971842a246591037a394ada25c7dd96b310f06479cd33b46b [INFO] running `Command { std: "docker" "start" "-a" "c62ab361633bbcf971842a246591037a394ada25c7dd96b310f06479cd33b46b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c62ab361633bbcf971842a246591037a394ada25c7dd96b310f06479cd33b46b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c62ab361633bbcf971842a246591037a394ada25c7dd96b310f06479cd33b46b", kill_on_drop: false }` [INFO] [stdout] c62ab361633bbcf971842a246591037a394ada25c7dd96b310f06479cd33b46b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6f95987edcc482c5fe0725a564522b7768ad2d8fa57c595fc6cb1577824a7c7 [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" "c6f95987edcc482c5fe0725a564522b7768ad2d8fa57c595fc6cb1577824a7c7", kill_on_drop: false }` [INFO] [stderr] Checking rsc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | '-' | '0' ... '9' => lex_number(&self.input), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | 'a' ... 'z' => lex_identifier(&self.input), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lexer.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | /// Ignore whitespace [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | self.advance(1); [INFO] [stdout] | --------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | '-' | '0' ... '9' => lex_number(&self.input), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | 'a' ... 'z' => lex_identifier(&self.input), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lexer.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | /// Ignore whitespace [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | self.advance(1); [INFO] [stdout] | --------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ind` [INFO] [stdout] --> src/lexer.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | for (ind, ch) in input.char_indices() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ind` [INFO] [stdout] --> src/lexer.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | for (ind, ch) in input.char_indices() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/lexer.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | while let Ok((token, size)) = self. [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lexer.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | c => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ind` [INFO] [stdout] --> src/lexer.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | for (ind, ch) in input.char_indices() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ind` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ind` [INFO] [stdout] --> src/lexer.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | for (ind, ch) in input.char_indices() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/lexer.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | while let Ok((token, size)) = self. [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/lexer.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | c => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/lexer.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn tokens(&mut self) -> Vec { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 45 | let mut tokens = Vec::new(); [INFO] [stdout] 46 | while let Ok((token, size)) = self. [INFO] [stdout] | ^^^^ mutable borrow starts here in previous iteration of loop [INFO] [stdout] ... [INFO] [stdout] 54 | return tokens [INFO] [stdout] | ------ returning this value requires that `*self` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stdout] --> src/lexer.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn tokens(&mut self) -> Vec { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] 45 | let mut tokens = Vec::new(); [INFO] [stdout] 46 | while let Ok((token, size)) = self. [INFO] [stdout] | ^^^^ mutable borrow starts here in previous iteration of loop [INFO] [stdout] ... [INFO] [stdout] 54 | return tokens [INFO] [stdout] | ------ returning this value requires that `*self` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rsc` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c6f95987edcc482c5fe0725a564522b7768ad2d8fa57c595fc6cb1577824a7c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6f95987edcc482c5fe0725a564522b7768ad2d8fa57c595fc6cb1577824a7c7", kill_on_drop: false }` [INFO] [stdout] c6f95987edcc482c5fe0725a564522b7768ad2d8fa57c595fc6cb1577824a7c7