[INFO] cloning repository https://github.com/kazuhiko-itani/rust-rml-mini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuhiko-itani/rust-rml-mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-applypatch.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini/hooks/pre-applypatch.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/kazuhiko-itani/rust-rml-mini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuhiko-itani/rust-rml-mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/kazuhiko-itani/rust-rml-mini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuhiko-itani/rust-rml-mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/kazuhiko-itani/rust-rml-mini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuhiko-itani/rust-rml-mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/kazuhiko-itani/rust-rml-mini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuhiko-itani/rust-rml-mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/kazuhiko-itani/rust-rml-mini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuhiko-itani/rust-rml-mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/kazuhiko-itani/rust-rml-mini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuhiko-itani/rust-rml-mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/kazuhiko-itani/rust-rml-mini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuhiko-itani/rust-rml-mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/kazuhiko-itani/rust-rml-mini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuhiko-itani/rust-rml-mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/kazuhiko-itani/rust-rml-mini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuhiko-itani/rust-rml-mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/kazuhiko-itani/rust-rml-mini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuhiko-itani/rust-rml-mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/kazuhiko-itani/rust-rml-mini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuhiko-itani/rust-rml-mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/kazuhiko-itani/rust-rml-mini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuhiko-itani/rust-rml-mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini/hooks/fsmonitor-watchman.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/kazuhiko-itani/rust-rml-mini [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazuhiko-itani/rust-rml-mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bcd1c92c2770859ea92d0e5d828068a0c7fe5c13 [INFO] checking kazuhiko-itani/rust-rml-mini against try#35b6491ce6d2b388d0a5de1e59e2123604af807f for pr-136539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kazuhiko-itani/rust-rml-mini on toolchain 35b6491ce6d2b388d0a5de1e59e2123604af807f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kazuhiko-itani/rust-rml-mini [INFO] finished tweaking git repo https://github.com/kazuhiko-itani/rust-rml-mini [INFO] tweaked toml for git repo https://github.com/kazuhiko-itani/rust-rml-mini written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kazuhiko-itani/rust-rml-mini 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" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: chown /var/lib/docker/overlay2/68dd206647e8412afc356eafa69f3445c4ac0862e156f6d3bc3d182b7e805a82/work/work: no such file or directory [INFO] checking kazuhiko-itani/rust-rml-mini against try#35b6491ce6d2b388d0a5de1e59e2123604af807f for pr-136539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazuhiko-itani%2Frust-rml-mini" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kazuhiko-itani/rust-rml-mini on toolchain 35b6491ce6d2b388d0a5de1e59e2123604af807f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kazuhiko-itani/rust-rml-mini [INFO] finished tweaking git repo https://github.com/kazuhiko-itani/rust-rml-mini [INFO] tweaked toml for git repo https://github.com/kazuhiko-itani/rust-rml-mini written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kazuhiko-itani/rust-rml-mini 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" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d56950fbc3ee52ce9153dc797be00a87ec04b8bdd79081ae1304d4997954045 [INFO] running `Command { std: "docker" "start" "-a" "0d56950fbc3ee52ce9153dc797be00a87ec04b8bdd79081ae1304d4997954045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d56950fbc3ee52ce9153dc797be00a87ec04b8bdd79081ae1304d4997954045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d56950fbc3ee52ce9153dc797be00a87ec04b8bdd79081ae1304d4997954045", kill_on_drop: false }` [INFO] [stdout] 0d56950fbc3ee52ce9153dc797be00a87ec04b8bdd79081ae1304d4997954045 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+35b6491ce6d2b388d0a5de1e59e2123604af807f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6eec8fe479358c1bd1914cd60dc52c6a644e079446e850bf4d0d1633e844cb8e [INFO] running `Command { std: "docker" "start" "-a" "6eec8fe479358c1bd1914cd60dc52c6a644e079446e850bf4d0d1633e844cb8e", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking rml-mini v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | statement.push(self.call_while()); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ expected `Vec`, found `()` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] note: method `call_while` modifies its receiver in-place [INFO] [stdout] --> src/parser.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | statement.push(self.call_while()); [INFO] [stdout] | ^^^^^^^^^^ this call modifies `self` in-place [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/35b6491ce6d2b388d0a5de1e59e2123604af807f/library/alloc/src/vec/mod.rs:2417:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | fn call_args(&mut self) -> Vec { [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:147:102 [INFO] [stdout] | [INFO] [stdout] 147 | term = [scanner::Token { kind: scanner::TokenKind::Mul, value: '*'.to_string()}, term, self.factor()]; [INFO] [stdout] | ^^^^ expected `Token`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Token` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:159:20 [INFO] [stdout] | [INFO] [stdout] 153 | fn factor(&mut self) -> Factor { [INFO] [stdout] | ------ expected `Vec` because of return type [INFO] [stdout] ... [INFO] [stdout] 159 | return factor [INFO] [stdout] | ^^^^^^ expected `Vec`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `kind` [INFO] [stdout] --> src/parser.rs:45:90 [INFO] [stdout] | [INFO] [stdout] 30 | fn take(&mut self, kind: Vec) -> scanner::Token { [INFO] [stdout] | ---- move occurs because `kind` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 38 | for k in kind { [INFO] [stdout] | ---- `kind` moved due to this implicit call to `.into_iter()` [INFO] [stdout] ... [INFO] [stdout] 45 | panic!("Syntax Error: expect.kind={:?}, actual.kind={:?}, token.value={:?}", kind, token.kind, token.value); [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `kind` [INFO] [stdout] --> /rustc/35b6491ce6d2b388d0a5de1e59e2123604af807f/library/core/src/iter/traits/collect.rs:313:18 [INFO] [stdout] = note: this error originates in the macro `$crate::const_format_args` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider iterating over a slice of the `Vec`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 38 | for k in &kind { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | statement.push(self.call_while()); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ expected `Vec`, found `()` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] note: method `call_while` modifies its receiver in-place [INFO] [stdout] --> src/parser.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 104 | statement.push(self.call_while()); [INFO] [stdout] | ^^^^^^^^^^ this call modifies `self` in-place [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/35b6491ce6d2b388d0a5de1e59e2123604af807f/library/alloc/src/vec/mod.rs:2417:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0382. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | fn call_args(&mut self) -> Vec { [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ expected `Vec`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:147:102 [INFO] [stdout] | [INFO] [stdout] 147 | term = [scanner::Token { kind: scanner::TokenKind::Mul, value: '*'.to_string()}, term, self.factor()]; [INFO] [stdout] | ^^^^ expected `Token`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `scanner::Token` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:159:20 [INFO] [stdout] | [INFO] [stdout] 153 | fn factor(&mut self) -> Factor { [INFO] [stdout] | ------ expected `Vec` because of return type [INFO] [stdout] ... [INFO] [stdout] 159 | return factor [INFO] [stdout] | ^^^^^^ expected `Vec`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rml-mini` (bin "rml-mini") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: can't compare `(scanner::Token, Vec, Vec, Vec>>)` with `(Token, Vec, Vec<_>, Vec, Vec)>>)` [INFO] [stdout] --> src/parser.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | / assert_eq!(actual, vec![ [INFO] [stdout] 192 | | ( [INFO] [stdout] 193 | | scanner::Token {kind: scanner::TokenKind::FuncDef, value: "fn".to_string()}, [INFO] [stdout] 194 | | vec![scanner::Token {kind: scanner::TokenKind::Ident, value: "main".to_string()}], [INFO] [stdout] ... | [INFO] [stdout] 206 | | ]); [INFO] [stdout] | |__________^ no implementation for `(scanner::Token, Vec, Vec, Vec>>) == (Token, Vec, Vec<_>, Vec, Vec)>>)` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq<(scanner::Token, Vec, Vec<_>, Vec, Vec)>>)>` is not implemented for `(scanner::Token, Vec, Vec, Vec>>)` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] () [INFO] [stdout] (A, Z, Y, X, W, V, U, T) [INFO] [stdout] (B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (D, C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (E, D, C, B, A, Z, Y, X, W, V, U, T) [INFO] [stdout] (T,) [INFO] [stdout] (U, T) [INFO] [stdout] and 5 others [INFO] [stdout] = note: required for `Vec<(Token, Vec, Vec, Vec>>)>` to implement `PartialEq, Vec<_>, Vec, Vec)>>)>>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rml_mini-574e63c223d635c9.long-type-4488044149170839283.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `kind` [INFO] [stdout] --> src/parser.rs:45:90 [INFO] [stdout] | [INFO] [stdout] 30 | fn take(&mut self, kind: Vec) -> scanner::Token { [INFO] [stdout] | ---- move occurs because `kind` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 38 | for k in kind { [INFO] [stdout] | ---- `kind` moved due to this implicit call to `.into_iter()` [INFO] [stdout] ... [INFO] [stdout] 45 | panic!("Syntax Error: expect.kind={:?}, actual.kind={:?}, token.value={:?}", kind, token.kind, token.value); [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: `into_iter` takes ownership of the receiver `self`, which moves `kind` [INFO] [stdout] --> /rustc/35b6491ce6d2b388d0a5de1e59e2123604af807f/library/core/src/iter/traits/collect.rs:313:18 [INFO] [stdout] = note: this error originates in the macro `$crate::const_format_args` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider iterating over a slice of the `Vec`'s content to avoid moving into the `for` loop [INFO] [stdout] | [INFO] [stdout] 38 | for k in &kind { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rml-mini` (bin "rml-mini" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "6eec8fe479358c1bd1914cd60dc52c6a644e079446e850bf4d0d1633e844cb8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eec8fe479358c1bd1914cd60dc52c6a644e079446e850bf4d0d1633e844cb8e", kill_on_drop: false }` [INFO] [stdout] 6eec8fe479358c1bd1914cd60dc52c6a644e079446e850bf4d0d1633e844cb8e