[INFO] cloning repository https://github.com/eggsontoast1672/eva [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eggsontoast1672/eva" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggsontoast1672%2Feva", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggsontoast1672%2Feva'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2957bd0b4efb15945f82a47b6cca4148adc0101 [INFO] checking eggsontoast1672/eva against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feggsontoast1672%2Feva" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/eggsontoast1672/eva [INFO] finished tweaking git repo https://github.com/eggsontoast1672/eva [INFO] tweaked toml for git repo https://github.com/eggsontoast1672/eva written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eggsontoast1672/eva on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/eggsontoast1672/eva 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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8182208f195b72e22344109cd5708b1ccb056e804b456026d863ab5f3b449846 [INFO] running `Command { std: "docker" "start" "-a" "8182208f195b72e22344109cd5708b1ccb056e804b456026d863ab5f3b449846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8182208f195b72e22344109cd5708b1ccb056e804b456026d863ab5f3b449846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8182208f195b72e22344109cd5708b1ccb056e804b456026d863ab5f3b449846", kill_on_drop: false }` [INFO] [stdout] 8182208f195b72e22344109cd5708b1ccb056e804b456026d863ab5f3b449846 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89daeb3eae34d498e58257eae79764c1d03afa7e929999e334e885723060f92c [INFO] running `Command { std: "docker" "start" "-a" "89daeb3eae34d498e58257eae79764c1d03afa7e929999e334e885723060f92c", kill_on_drop: false }` [INFO] [stderr] Checking eva v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `source` [INFO] [stdout] --> src/lexer.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | / Self { [INFO] [stdout] 23 | | current: 0, [INFO] [stdout] 24 | | source: source.chars().peekable(), [INFO] [stdout] | | ------ `source` is borrowed here [INFO] [stdout] 25 | | start: 0, [INFO] [stdout] 26 | | } [INFO] [stdout] | |_________^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = help: use `.collect()` to allocate the iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing function parameter `source` [INFO] [stdout] --> src/lexer.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | / Self { [INFO] [stdout] 23 | | current: 0, [INFO] [stdout] 24 | | source: source.chars().peekable(), [INFO] [stdout] | | ------ `source` is borrowed here [INFO] [stdout] 25 | | start: 0, [INFO] [stdout] 26 | | } [INFO] [stdout] | |_________^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = help: use `.collect()` to allocate the iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.source` which is behind a mutable reference [INFO] [stdout] --> src/lexer.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let lexeme = self.source.take_while(|c| { [INFO] [stdout] | ______________________^^^^^^^^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | move occurs because `self.source` has type `Peekable>`, which does not implement the `Copy` trait [INFO] [stdout] 31 | | *c != '(' && *c != ')' && !c.is_ascii_whitespace() [INFO] [stdout] 32 | | }).collect::(); [INFO] [stdout] | |__________- `self.source` moved due to this method call [INFO] [stdout] | [INFO] [stdout] note: `take_while` takes ownership of the receiver `self`, which moves `self.source` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/iter/traits/iterator.rs:1198:22 [INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior [INFO] [stdout] | [INFO] [stdout] 30 | let lexeme = > as Clone>::clone(&self.source).take_while(|c| { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 30 | let lexeme = self.source.clone().take_while(|c| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.source` which is behind a mutable reference [INFO] [stdout] --> src/lexer.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let lexeme = self.source.take_while(|c| { [INFO] [stdout] | ______________________^^^^^^^^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | move occurs because `self.source` has type `Peekable>`, which does not implement the `Copy` trait [INFO] [stdout] 31 | | *c != '(' && *c != ')' && !c.is_ascii_whitespace() [INFO] [stdout] 32 | | }).collect::(); [INFO] [stdout] | |__________- `self.source` moved due to this method call [INFO] [stdout] | [INFO] [stdout] note: `take_while` takes ownership of the receiver `self`, which moves `self.source` [INFO] [stdout] --> /rustc/8c500c7cefd54fd11d57295f3771d576be9ee415/library/core/src/iter/traits/iterator.rs:1198:22 [INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior [INFO] [stdout] | [INFO] [stdout] 30 | let lexeme = > as Clone>::clone(&self.source).take_while(|c| { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 30 | let lexeme = self.source.clone().take_while(|c| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eva` (bin "eva" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `eva` (bin "eva") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "89daeb3eae34d498e58257eae79764c1d03afa7e929999e334e885723060f92c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89daeb3eae34d498e58257eae79764c1d03afa7e929999e334e885723060f92c", kill_on_drop: false }` [INFO] [stdout] 89daeb3eae34d498e58257eae79764c1d03afa7e929999e334e885723060f92c