[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 try#9c1dcf141bc0875407c4eb36972857bd3db713e2 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FScoder12%2Fdesmoslang-rust" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Scoder12/desmoslang-rust on toolchain 9c1dcf141bc0875407c4eb36972857bd3db713e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "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-9/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" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "fetch" "--locked" "--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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "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] d9b2d46c593495f599f0da59266765a3910badacb7bf6abac696c35cbfb92472 [INFO] running `Command { std: "docker" "start" "-a" "d9b2d46c593495f599f0da59266765a3910badacb7bf6abac696c35cbfb92472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9b2d46c593495f599f0da59266765a3910badacb7bf6abac696c35cbfb92472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9b2d46c593495f599f0da59266765a3910badacb7bf6abac696c35cbfb92472", kill_on_drop: false }` [INFO] [stdout] d9b2d46c593495f599f0da59266765a3910badacb7bf6abac696c35cbfb92472 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf58f7dcdc82d9150f3a9033a729dccc273741160b556e281a73583869e01621 [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" "bf58f7dcdc82d9150f3a9033a729dccc273741160b556e281a73583869e01621", 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 siphasher v0.3.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling quote v1.0.8 [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_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [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" "bf58f7dcdc82d9150f3a9033a729dccc273741160b556e281a73583869e01621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf58f7dcdc82d9150f3a9033a729dccc273741160b556e281a73583869e01621", kill_on_drop: false }` [INFO] [stdout] bf58f7dcdc82d9150f3a9033a729dccc273741160b556e281a73583869e01621