[INFO] cloning repository https://github.com/cpcloud/scrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpcloud/scrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpcloud%2Fscrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpcloud%2Fscrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85bb6b324bb2997d48f9aec0bf0e6ac5e86fc56e [INFO] checking cpcloud/scrust against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpcloud%2Fscrust" "/workspace/builds/worker-40/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-40/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cpcloud/scrust on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cpcloud/scrust [INFO] finished tweaking git repo https://github.com/cpcloud/scrust [INFO] tweaked toml for git repo https://github.com/cpcloud/scrust written to /workspace/builds/worker-40/source/Cargo.toml [INFO] crate git repo https://github.com/cpcloud/scrust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1f2a5582068f82438f3f4310da7cc4b8b1c11bddf6c689b45d1826449553f8e [INFO] running `Command { std: "docker" "start" "-a" "f1f2a5582068f82438f3f4310da7cc4b8b1c11bddf6c689b45d1826449553f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1f2a5582068f82438f3f4310da7cc4b8b1c11bddf6c689b45d1826449553f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1f2a5582068f82438f3f4310da7cc4b8b1c11bddf6c689b45d1826449553f8e", kill_on_drop: false }` [INFO] [stdout] f1f2a5582068f82438f3f4310da7cc4b8b1c11bddf6c689b45d1826449553f8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 736247b41334c483c3be78e8ed6410a1d170e9ab2cd22ac27f184b36d3375efe [INFO] running `Command { std: "docker" "start" "-a" "736247b41334c483c3be78e8ed6410a1d170e9ab2cd22ac27f184b36d3375efe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking maplit v1.0.1 [INFO] [stderr] Checking scrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `int` [INFO] [stdout] --> src/main.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | macro_rules! int { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `spec` [INFO] [stdout] --> src/main.rs:269:14 [INFO] [stdout] | [INFO] [stdout] 269 | macro_rules! spec { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `bool_` [INFO] [stdout] --> src/main.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | macro_rules! bool_ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `sym` [INFO] [stdout] --> src/main.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 259 | macro_rules! sym { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `list` [INFO] [stdout] --> src/main.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | macro_rules! list { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `spec` [INFO] [stdout] --> src/main.rs:269:14 [INFO] [stdout] | [INFO] [stdout] 269 | macro_rules! spec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `bool_` [INFO] [stdout] --> src/main.rs:273:14 [INFO] [stdout] | [INFO] [stdout] 273 | macro_rules! bool_ { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr` [INFO] [stdout] --> src/main.rs:302:20 [INFO] [stdout] | [INFO] [stdout] 302 | fn evaluate_define(expr: Value, args: List, env: &mut Environment) -> Value { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_expr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Value` [INFO] [stdout] --> src/main.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | assert_eq!(eval(cond, &mut env), Value::Integer(43)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Value [INFO] [stdout] | Value [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Value` [INFO] [stdout] --> src/main.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | enum Value { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Value` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*env` which is behind a mutable reference [INFO] [stdout] --> src/main.rs:317:18 [INFO] [stdout] | [INFO] [stdout] 317 | env: env.new_child(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ move occurs because `*env` has type `Environment`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `*env` because it is borrowed [INFO] [stdout] --> src/main.rs:317:18 [INFO] [stdout] | [INFO] [stdout] 312 | / env.define( [INFO] [stdout] 313 | | &funcname, [INFO] [stdout] 314 | | Value::Procedure(Proc::Function { [INFO] [stdout] 315 | | argnames: argnames, [INFO] [stdout] 316 | | body: *body.clone(), [INFO] [stdout] 317 | | env: env.new_child(), [INFO] [stdout] | | ^^^^^^^^^^^^^^^ move out of `*env` occurs here [INFO] [stdout] 318 | | }), [INFO] [stdout] 319 | | ); [INFO] [stdout] | |_____- borrow of `*env` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a shared reference [INFO] [stdout] --> src/main.rs:326:32 [INFO] [stdout] | [INFO] [stdout] 326 | Value::Symbol(name) => *env.clone().retrieve(name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because value has type `Value`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scrust` due to 2 previous errors; 2 warnings emitted [INFO] [stdout] error: aborting due to 3 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0505, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "736247b41334c483c3be78e8ed6410a1d170e9ab2cd22ac27f184b36d3375efe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "736247b41334c483c3be78e8ed6410a1d170e9ab2cd22ac27f184b36d3375efe", kill_on_drop: false }` [INFO] [stdout] 736247b41334c483c3be78e8ed6410a1d170e9ab2cd22ac27f184b36d3375efe