[INFO] cloning repository https://github.com/bednabedna/GrammarRs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bednabedna/GrammarRs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbednabedna%2FGrammarRs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbednabedna%2FGrammarRs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f90638e8defe272e5e34424994743b7b5e5da98 [INFO] checking bednabedna/GrammarRs against try#ec8d137b933d39ddf0a2878617a0335f0f9d7116 for pr-116607 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbednabedna%2FGrammarRs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bednabedna/GrammarRs on toolchain ec8d137b933d39ddf0a2878617a0335f0f9d7116 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec8d137b933d39ddf0a2878617a0335f0f9d7116" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bednabedna/GrammarRs [INFO] finished tweaking git repo https://github.com/bednabedna/GrammarRs [INFO] tweaked toml for git repo https://github.com/bednabedna/GrammarRs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bednabedna/GrammarRs 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" "+ec8d137b933d39ddf0a2878617a0335f0f9d7116" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+ec8d137b933d39ddf0a2878617a0335f0f9d7116" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4ba1f6e745c9274356f6cc363d0319031de486d8cbfdd32e09ff65fb8205d96 [INFO] running `Command { std: "docker" "start" "-a" "b4ba1f6e745c9274356f6cc363d0319031de486d8cbfdd32e09ff65fb8205d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4ba1f6e745c9274356f6cc363d0319031de486d8cbfdd32e09ff65fb8205d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ba1f6e745c9274356f6cc363d0319031de486d8cbfdd32e09ff65fb8205d96", kill_on_drop: false }` [INFO] [stdout] b4ba1f6e745c9274356f6cc363d0319031de486d8cbfdd32e09ff65fb8205d96 [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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+ec8d137b933d39ddf0a2878617a0335f0f9d7116" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d181da9ccb429196c02d6f39330b580dce793276a88c2aa4aaa1963da053ef09 [INFO] running `Command { std: "docker" "start" "-a" "d181da9ccb429196c02d6f39330b580dce793276a88c2aa4aaa1963da053ef09", kill_on_drop: false }` [INFO] [stderr] Checking grammar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0382]: borrow of moved value: `tokens` [INFO] [stdout] --> src/parser/parser.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 22 | let tokens = Tokenizer::new(input).consume_grammar()?; [INFO] [stdout] | ------ move occurs because `tokens` has type `Box<[RuleToken<'_>]>`, which does not implement the `Copy` trait [INFO] [stdout] 23 | let mut rule_names = RuleNamesMap::with_capacity(tokens.len()); [INFO] [stdout] 24 | for token in tokens.into_iter() { [INFO] [stdout] | ----------- `tokens` moved due to this method call [INFO] [stdout] ... [INFO] [stdout] 29 | let mut rules = Vec::with_capacity(tokens.len()); [INFO] [stdout] | ^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `tokens` [INFO] [stdout] --> /rustc/ec8d137b933d39ddf0a2878617a0335f0f9d7116/library/core/src/iter/traits/collect.rs:268:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `tokens` [INFO] [stdout] --> src/parser/parser.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 22 | let tokens = Tokenizer::new(input).consume_grammar()?; [INFO] [stdout] | ------ move occurs because `tokens` has type `Box<[tokenizer::RuleToken<'_>]>`, which does not implement the `Copy` trait [INFO] [stdout] 23 | let mut rule_names = RuleNamesMap::with_capacity(tokens.len()); [INFO] [stdout] 24 | for token in tokens.into_iter() { [INFO] [stdout] | ----------- `tokens` moved due to this method call [INFO] [stdout] ... [INFO] [stdout] 29 | let mut rules = Vec::with_capacity(tokens.len()); [INFO] [stdout] | ^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `tokens` [INFO] [stdout] --> /rustc/ec8d137b933d39ddf0a2878617a0335f0f9d7116/library/core/src/iter/traits/collect.rs:268:18 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grammar` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grammar` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "d181da9ccb429196c02d6f39330b580dce793276a88c2aa4aaa1963da053ef09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d181da9ccb429196c02d6f39330b580dce793276a88c2aa4aaa1963da053ef09", kill_on_drop: false }` [INFO] [stdout] d181da9ccb429196c02d6f39330b580dce793276a88c2aa4aaa1963da053ef09