[INFO] cloning repository https://github.com/GavinMendelGleason/prolog-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GavinMendelGleason/prolog-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGavinMendelGleason%2Fprolog-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGavinMendelGleason%2Fprolog-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30dfe09f6a5a5a5355285cf69149f6c87d51a909 [INFO] checking GavinMendelGleason/prolog-rs against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGavinMendelGleason%2Fprolog-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GavinMendelGleason/prolog-rs on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GavinMendelGleason/prolog-rs [INFO] finished tweaking git repo https://github.com/GavinMendelGleason/prolog-rs [INFO] tweaked toml for git repo https://github.com/GavinMendelGleason/prolog-rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/GavinMendelGleason/prolog-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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] 7954884376ebc6220f5b4b768042f3f3ce6a070c72423ec7482ebc69d2a167b6 [INFO] running `Command { std: "docker" "start" "-a" "7954884376ebc6220f5b4b768042f3f3ce6a070c72423ec7482ebc69d2a167b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7954884376ebc6220f5b4b768042f3f3ce6a070c72423ec7482ebc69d2a167b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7954884376ebc6220f5b4b768042f3f3ce6a070c72423ec7482ebc69d2a167b6", kill_on_drop: false }` [INFO] [stdout] 7954884376ebc6220f5b4b768042f3f3ce6a070c72423ec7482ebc69d2a167b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcfb6de7dc031631d80028d889d5f0fe8b3ad2c1b3de26ad1d66dea0689d49f7 [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" "fcfb6de7dc031631d80028d889d5f0fe8b3ad2c1b3de26ad1d66dea0689d49f7", kill_on_drop: false }` [INFO] [stderr] Checking prolog-target v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `var` should have an upper camel case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | var(Box), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Var` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `func` should have an upper camel case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | func(Box), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `cons` should have an upper camel case name [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | cons(Box, Box), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Cons` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `nil` should have an upper camel case name [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | nil, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Nil` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `cons_eq` should have an upper camel case name [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | cons_eq(Box,Box,Box), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ConsEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `nil` should have an upper camel case name [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | nil, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Nil` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `var` should have an upper camel case name [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | var(Box), [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Var` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `func` should have an upper camel case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | func(Box), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `cons` should have an upper camel case name [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | cons(Box, Box), [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Cons` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `nil` should have an upper camel case name [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | nil, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Nil` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `cons_eq` should have an upper camel case name [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | cons_eq(Box,Box,Box), [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ConsEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `nil` should have an upper camel case name [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | nil, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Nil` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `envnil` [INFO] [stdout] --> src/main.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let envnil = Box::new(Env::nil); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_envnil` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funterm2` [INFO] [stdout] --> src/main.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let funterm2 = Term::func(Box::new(fun2)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_funterm2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `envnil` [INFO] [stdout] --> src/main.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let envnil = Box::new(Env::nil); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_envnil` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `funterm2` [INFO] [stdout] --> src/main.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let funterm2 = Term::func(Box::new(fun2)); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_funterm2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `env` [INFO] [stdout] --> src/main.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 121 | fn unify(env: Box, t: Box, s: Box) -> Option> { [INFO] [stdout] | --- move occurs because `env` has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] 122 | let t = *enrich(env,t); [INFO] [stdout] | --- value moved here [INFO] [stdout] 123 | let s = *enrich(env,s); [INFO] [stdout] | ^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of partially moved value: `t` [INFO] [stdout] --> src/main.rs:138:48 [INFO] [stdout] | [INFO] [stdout] 134 | Term::func(f) => [INFO] [stdout] | - value partially moved here [INFO] [stdout] ... [INFO] [stdout] 138 | Some(extend(env,y,Box::new(t))), [INFO] [stdout] | ^ value used here after partial move [INFO] [stdout] | [INFO] [stdout] = note: partial move occurs because value has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] help: borrow this field in the pattern to avoid moving `t.0` [INFO] [stdout] | [INFO] [stdout] 134 | Term::func(ref f) => [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `env` [INFO] [stdout] --> src/main.rs:142:36 [INFO] [stdout] | [INFO] [stdout] 121 | fn unify(env: Box, t: Box, s: Box) -> Option> { [INFO] [stdout] | --- move occurs because `env` has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] 122 | let t = *enrich(env,t); [INFO] [stdout] 123 | let s = *enrich(env,s); [INFO] [stdout] | --- value moved here [INFO] [stdout] ... [INFO] [stdout] 142 | unify_args(env,f.args,g.args) [INFO] [stdout] | ^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `f.args` [INFO] [stdout] --> src/main.rs:142:40 [INFO] [stdout] | [INFO] [stdout] 134 | Term::func(f) => [INFO] [stdout] | - move occurs because `f` has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 141 | if fun_match(f,g) { [INFO] [stdout] | - value moved here [INFO] [stdout] 142 | unify_args(env,f.args,g.args) [INFO] [stdout] | ^^^^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `g.args` [INFO] [stdout] --> src/main.rs:142:47 [INFO] [stdout] | [INFO] [stdout] 139 | Term::func(g) => [INFO] [stdout] | - move occurs because `g` has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] 140 | /* rigid- rigid */ [INFO] [stdout] 141 | if fun_match(f,g) { [INFO] [stdout] | - value moved here [INFO] [stdout] 142 | unify_args(env,f.args,g.args) [INFO] [stdout] | ^^^^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `prolog-target` [INFO] [stderr] [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[E0382]: use of moved value: `env` [INFO] [stdout] --> src/main.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 121 | fn unify(env: Box, t: Box, s: Box) -> Option> { [INFO] [stdout] | --- move occurs because `env` has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] 122 | let t = *enrich(env,t); [INFO] [stdout] | --- value moved here [INFO] [stdout] 123 | let s = *enrich(env,s); [INFO] [stdout] | ^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of partially moved value: `t` [INFO] [stdout] --> src/main.rs:138:48 [INFO] [stdout] | [INFO] [stdout] 134 | Term::func(f) => [INFO] [stdout] | - value partially moved here [INFO] [stdout] ... [INFO] [stdout] 138 | Some(extend(env,y,Box::new(t))), [INFO] [stdout] | ^ value used here after partial move [INFO] [stdout] | [INFO] [stdout] = note: partial move occurs because value has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] help: borrow this field in the pattern to avoid moving `t.0` [INFO] [stdout] | [INFO] [stdout] 134 | Term::func(ref f) => [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `env` [INFO] [stdout] --> src/main.rs:142:36 [INFO] [stdout] | [INFO] [stdout] 121 | fn unify(env: Box, t: Box, s: Box) -> Option> { [INFO] [stdout] | --- move occurs because `env` has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] 122 | let t = *enrich(env,t); [INFO] [stdout] 123 | let s = *enrich(env,s); [INFO] [stdout] | --- value moved here [INFO] [stdout] ... [INFO] [stdout] 142 | unify_args(env,f.args,g.args) [INFO] [stdout] | ^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `f.args` [INFO] [stdout] --> src/main.rs:142:40 [INFO] [stdout] | [INFO] [stdout] 134 | Term::func(f) => [INFO] [stdout] | - move occurs because `f` has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 141 | if fun_match(f,g) { [INFO] [stdout] | - value moved here [INFO] [stdout] 142 | unify_args(env,f.args,g.args) [INFO] [stdout] | ^^^^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `g.args` [INFO] [stdout] --> src/main.rs:142:47 [INFO] [stdout] | [INFO] [stdout] 139 | Term::func(g) => [INFO] [stdout] | - move occurs because `g` has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] 140 | /* rigid- rigid */ [INFO] [stdout] 141 | if fun_match(f,g) { [INFO] [stdout] | - value moved here [INFO] [stdout] 142 | unify_args(env,f.args,g.args) [INFO] [stdout] | ^^^^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fcfb6de7dc031631d80028d889d5f0fe8b3ad2c1b3de26ad1d66dea0689d49f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcfb6de7dc031631d80028d889d5f0fe8b3ad2c1b3de26ad1d66dea0689d49f7", kill_on_drop: false }` [INFO] [stdout] fcfb6de7dc031631d80028d889d5f0fe8b3ad2c1b3de26ad1d66dea0689d49f7