[INFO] cloning repository https://github.com/Scoder12/desmoslang-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Scoder12/desmoslang-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScoder12%2Fdesmoslang-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScoder12%2Fdesmoslang-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a95eb4b34bad14e1bab9431a15acac16e012f35 [INFO] checking Scoder12/desmoslang-rust against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScoder12%2Fdesmoslang-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Scoder12/desmoslang-rust on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Scoder12/desmoslang-rust [INFO] finished tweaking git repo https://github.com/Scoder12/desmoslang-rust [INFO] tweaked toml for git repo https://github.com/Scoder12/desmoslang-rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Scoder12/desmoslang-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bc3baf64f9d2902c36d0c790b31a05c4e5944b837ffdd01d286450b27ac8ea6 [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" "9bc3baf64f9d2902c36d0c790b31a05c4e5944b837ffdd01d286450b27ac8ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bc3baf64f9d2902c36d0c790b31a05c4e5944b837ffdd01d286450b27ac8ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bc3baf64f9d2902c36d0c790b31a05c4e5944b837ffdd01d286450b27ac8ea6", kill_on_drop: false }` [INFO] [stdout] 9bc3baf64f9d2902c36d0c790b31a05c4e5944b837ffdd01d286450b27ac8ea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] fad983494e67abd2d860de913fab2d18958359ade2911c7ef0890e218b2029e5 [INFO] running `Command { std: "docker" "start" "-a" "fad983494e67abd2d860de913fab2d18958359ade2911c7ef0890e218b2029e5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking desmos_lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Located` [INFO] [stdout] --> src/compiler.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | CompileError, CompileErrorKind, Expression, Function, Located, LocatedExpression, ValType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/compiler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Located` [INFO] [stdout] --> src/compiler.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | CompileError, CompileErrorKind, Expression, Function, Located, LocatedExpression, ValType, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/compiler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | _ => unimplemented!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let mut i = (spn(), exp); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `i` [INFO] [stdout] --> src/compiler.rs:170:17 [INFO] [stdout] | [INFO] [stdout] 170 | let r = compile_expr(&mut new_ctx(), &i)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--^^ [INFO] [stdout] | | | [INFO] [stdout] | | `i` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `desmos_lang` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "fad983494e67abd2d860de913fab2d18958359ade2911c7ef0890e218b2029e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fad983494e67abd2d860de913fab2d18958359ade2911c7ef0890e218b2029e5", kill_on_drop: false }` [INFO] [stdout] fad983494e67abd2d860de913fab2d18958359ade2911c7ef0890e218b2029e5