[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] testing cpcloud/scrust against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpcloud%2Fscrust" "/workspace/builds/worker-107/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-107/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cpcloud/scrust on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-107/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded maplit v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9cb5a0252b22dadaa4ba10b5b1377ec10f667ad584147935c58840e88bf53582 [INFO] running `Command { std: "docker" "start" "-a" "9cb5a0252b22dadaa4ba10b5b1377ec10f667ad584147935c58840e88bf53582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cb5a0252b22dadaa4ba10b5b1377ec10f667ad584147935c58840e88bf53582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cb5a0252b22dadaa4ba10b5b1377ec10f667ad584147935c58840e88bf53582", kill_on_drop: false }` [INFO] [stdout] 9cb5a0252b22dadaa4ba10b5b1377ec10f667ad584147935c58840e88bf53582 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e133982216b13c36e9ae0c46c74c3e8d106acc2eb74c97416e6fd3d44245965d [INFO] running `Command { std: "docker" "start" "-a" "e133982216b13c36e9ae0c46c74c3e8d106acc2eb74c97416e6fd3d44245965d", kill_on_drop: false }` [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling 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: `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[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 3 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: could not compile `scrust` due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e133982216b13c36e9ae0c46c74c3e8d106acc2eb74c97416e6fd3d44245965d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e133982216b13c36e9ae0c46c74c3e8d106acc2eb74c97416e6fd3d44245965d", kill_on_drop: false }` [INFO] [stdout] e133982216b13c36e9ae0c46c74c3e8d106acc2eb74c97416e6fd3d44245965d