[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpcloud%2Fscrust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cpcloud/scrust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-1/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19a43fd6fe9b6d164842eb86875a98baf919b6c78429aff2604c894a858b381b [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" "19a43fd6fe9b6d164842eb86875a98baf919b6c78429aff2604c894a858b381b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19a43fd6fe9b6d164842eb86875a98baf919b6c78429aff2604c894a858b381b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19a43fd6fe9b6d164842eb86875a98baf919b6c78429aff2604c894a858b381b", kill_on_drop: false }` [INFO] [stdout] 19a43fd6fe9b6d164842eb86875a98baf919b6c78429aff2604c894a858b381b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] fd79c4a12be8839c9b5e57665e8fdf31bbd2d08f870c9f2155e8810c4b7b2ff9 [INFO] running `Command { std: "docker" "start" "-a" "fd79c4a12be8839c9b5e57665e8fdf31bbd2d08f870c9f2155e8810c4b7b2ff9", kill_on_drop: false }` [INFO] [stderr] Checking maplit v1.0.1 [INFO] [stderr] Checking scrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | / macro_rules! spec { [INFO] [stdout] 270 | | [$value:ident] => { Value::SpecialForm(SpecialForm::$value) } [INFO] [stdout] 271 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 273 | / macro_rules! bool_ { [INFO] [stdout] 274 | | [$value:expr] => { Value::Boolean($value) } [INFO] [stdout] 275 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:253:1 [INFO] [stdout] | [INFO] [stdout] 253 | / macro_rules! int { [INFO] [stdout] 254 | | [$value:expr] => { [INFO] [stdout] 255 | | Value::Integer($value) [INFO] [stdout] 256 | | } [INFO] [stdout] 257 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:259:1 [INFO] [stdout] | [INFO] [stdout] 259 | / macro_rules! sym { [INFO] [stdout] 260 | | [$value:expr] => { [INFO] [stdout] 261 | | Value::Symbol($value.to_string()) [INFO] [stdout] 262 | | } [INFO] [stdout] 263 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 265 | / macro_rules! list { [INFO] [stdout] 266 | | [$($value:expr),*] => { List::from_vec(vec![$($value,)*]).as_value() } [INFO] [stdout] 267 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | / macro_rules! spec { [INFO] [stdout] 270 | | [$value:ident] => { Value::SpecialForm(SpecialForm::$value) } [INFO] [stdout] 271 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 273 | / macro_rules! bool_ { [INFO] [stdout] 274 | | [$value:expr] => { Value::Boolean($value) } [INFO] [stdout] 275 | | } [INFO] [stdout] | |_^ [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 `std::cmp::PartialEq` might be missing for `Value` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] [stderr] error: could not compile `scrust` [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] | --- ------ borrow later used by call [INFO] [stdout] | | [INFO] [stdout] | borrow of `*env` occurs here [INFO] [stdout] ... [INFO] [stdout] 317 | env: env.new_child(), [INFO] [stdout] | ^^^ move out 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: build failed [INFO] running `Command { std: "docker" "inspect" "fd79c4a12be8839c9b5e57665e8fdf31bbd2d08f870c9f2155e8810c4b7b2ff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd79c4a12be8839c9b5e57665e8fdf31bbd2d08f870c9f2155e8810c4b7b2ff9", kill_on_drop: false }` [INFO] [stdout] fd79c4a12be8839c9b5e57665e8fdf31bbd2d08f870c9f2155e8810c4b7b2ff9