[INFO] cloning repository https://github.com/edmugabi/limi-prolog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edmugabi/limi-prolog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedmugabi%2Flimi-prolog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedmugabi%2Flimi-prolog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9581d2d8e5324a22427c7268c7152d31b7d16e20 [INFO] building edmugabi/limi-prolog against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedmugabi%2Flimi-prolog" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edmugabi/limi-prolog on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/edmugabi/limi-prolog [INFO] finished tweaking git repo https://github.com/edmugabi/limi-prolog [INFO] tweaked toml for git repo https://github.com/edmugabi/limi-prolog written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/edmugabi/limi-prolog already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9075447f5cf38025497200621ead6b161adc0ae677083656183b90fa6af2ab85 [INFO] running `Command { std: "docker" "start" "-a" "9075447f5cf38025497200621ead6b161adc0ae677083656183b90fa6af2ab85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9075447f5cf38025497200621ead6b161adc0ae677083656183b90fa6af2ab85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9075447f5cf38025497200621ead6b161adc0ae677083656183b90fa6af2ab85", kill_on_drop: false }` [INFO] [stdout] 9075447f5cf38025497200621ead6b161adc0ae677083656183b90fa6af2ab85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4eeabedf366aa55eee0bdc8b0afc1fd308b3ca0c7d6a3b8f81753812c213b41a [INFO] running `Command { std: "docker" "start" "-a" "4eeabedf366aa55eee0bdc8b0afc1fd308b3ca0c7d6a3b8f81753812c213b41a", kill_on_drop: false }` [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling bitvec v0.19.6 [INFO] [stderr] Compiling limi-prolog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `alphanumeric1` [INFO] [stdout] --> src/parser.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::character::complete::{alphanumeric0, alphanumeric1, satisfy, space0}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value` [INFO] [stdout] --> src/parser.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::combinator::{all_consuming, map, recognize, value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `many0` [INFO] [stdout] --> src/parser.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::multi::{many0, many_m_n, separated_list0, separated_list1}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/term.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashSet, BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pgoals` [INFO] [stdout] --> src/main.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::parser::{pprogram, pgoals}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 28 | / loop { [INFO] [stdout] 29 | | { [INFO] [stdout] 30 | | let mut handle = stdout.lock(); [INFO] [stdout] 31 | | handle.write_all(b":- ")?; [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 78 | [INFO] [stdout] 79 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `clauses` is never read [INFO] [stdout] --> src/main.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | clauses = cls; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Cyclic` is never used [INFO] [stdout] --> src/term.rs:141:6 [INFO] [stdout] | [INFO] [stdout] 141 | enum Cyclic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/clause.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Clause { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 16 | pub(super) fn new(conds: Vec, conseqt: Term) -> Clause { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BFS` and `DLS` are never constructed [INFO] [stdout] --> src/sld.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Strategy { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 15 | BFS, [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | DFS, [INFO] [stdout] 17 | DLS(usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Strategy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backchain_iddfs` is never used [INFO] [stdout] --> src/sld.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'b> CPoint<'b> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | fn backchain_iddfs(self) -> impl Iterator + 'b where Self: 'b { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/sld.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 158 | impl Env { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 159 | [INFO] [stdout] 160 | pub fn empty() -> Env { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.91s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4eeabedf366aa55eee0bdc8b0afc1fd308b3ca0c7d6a3b8f81753812c213b41a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eeabedf366aa55eee0bdc8b0afc1fd308b3ca0c7d6a3b8f81753812c213b41a", kill_on_drop: false }` [INFO] [stdout] 4eeabedf366aa55eee0bdc8b0afc1fd308b3ca0c7d6a3b8f81753812c213b41a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d034cdad5176777def98e7be47f262937d78d4672c5869665a9e4bdb981b1e7 [INFO] running `Command { std: "docker" "start" "-a" "8d034cdad5176777def98e7be47f262937d78d4672c5869665a9e4bdb981b1e7", kill_on_drop: false }` [INFO] [stderr] Compiling limi-prolog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `alphanumeric1` [INFO] [stdout] --> src/parser.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::character::complete::{alphanumeric0, alphanumeric1, satisfy, space0}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `value` [INFO] [stdout] --> src/parser.rs:6:54 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::combinator::{all_consuming, map, recognize, value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `many0` [INFO] [stdout] --> src/parser.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::multi::{many0, many_m_n, separated_list0, separated_list1}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/term.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{HashSet, BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 28 | / loop { [INFO] [stdout] 29 | | { [INFO] [stdout] 30 | | let mut handle = stdout.lock(); [INFO] [stdout] 31 | | handle.write_all(b":- ")?; [INFO] [stdout] ... | [INFO] [stdout] 77 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 78 | [INFO] [stdout] 79 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/term.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | let result = t1.unify_baader(&t2, &mut env); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `clauses` is never read [INFO] [stdout] --> src/main.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | clauses = cls; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Cyclic` is never used [INFO] [stdout] --> src/term.rs:141:6 [INFO] [stdout] | [INFO] [stdout] 141 | enum Cyclic { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/clause.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Clause { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 16 | pub(super) fn new(conds: Vec, conseqt: Term) -> Clause { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DLS` is never constructed [INFO] [stdout] --> src/sld.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Strategy { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | DLS(usize), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Strategy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backchain_iddfs` is never used [INFO] [stdout] --> src/sld.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'b> CPoint<'b> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | fn backchain_iddfs(self) -> impl Iterator + 'b where Self: 'b { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/sld.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 158 | impl Env { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 159 | [INFO] [stdout] 160 | pub fn empty() -> Env { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8d034cdad5176777def98e7be47f262937d78d4672c5869665a9e4bdb981b1e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d034cdad5176777def98e7be47f262937d78d4672c5869665a9e4bdb981b1e7", kill_on_drop: false }` [INFO] [stdout] 8d034cdad5176777def98e7be47f262937d78d4672c5869665a9e4bdb981b1e7