[INFO] cloning repository https://github.com/andreivasiliu/demimud [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andreivasiliu/demimud" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreivasiliu%2Fdemimud", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreivasiliu%2Fdemimud'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 537b899a3c9a6a874e9041fe0c912bf3b74d000c [INFO] checking andreivasiliu/demimud against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreivasiliu%2Fdemimud" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andreivasiliu/demimud on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andreivasiliu/demimud [INFO] finished tweaking git repo https://github.com/andreivasiliu/demimud [INFO] tweaked toml for git repo https://github.com/andreivasiliu/demimud written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/andreivasiliu/demimud 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34cad72ded7d02a6814d94f8a68f1d31cd7056d764f388f15d0ec0040f26d53c [INFO] running `Command { std: "docker" "start" "-a" "34cad72ded7d02a6814d94f8a68f1d31cd7056d764f388f15d0ec0040f26d53c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34cad72ded7d02a6814d94f8a68f1d31cd7056d764f388f15d0ec0040f26d53c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34cad72ded7d02a6814d94f8a68f1d31cd7056d764f388f15d0ec0040f26d53c", kill_on_drop: false }` [INFO] [stdout] 34cad72ded7d02a6814d94f8a68f1d31cd7056d764f388f15d0ec0040f26d53c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cbf4f763e3f51524201082498dfcc6b526bcacea2b6807bb30518f43fe371fe [INFO] running `Command { std: "docker" "start" "-a" "6cbf4f763e3f51524201082498dfcc6b526bcacea2b6807bb30518f43fe371fe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking libtelnet-rs v1.1.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking wasi v0.10.2+wasi-snapshot-preview1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking netcore v0.1.0 (/opt/rustwide/workdir/netcore) [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Checking string-interner v0.12.2 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Checking mudlib v0.1.0 (/opt/rustwide/workdir/mudlib) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `entity` [INFO] [stdout] --> mudlib/src/entity.rs:584:13 [INFO] [stdout] | [INFO] [stdout] 584 | entity.extra_descriptions().chain(Some(entity)) [INFO] [stdout] | ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `entity` is borrowed here [INFO] [stdout] | [INFO] [stdout] = help: use `.collect()` to allocate the iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `entity` because it is borrowed [INFO] [stdout] --> mudlib/src/entity.rs:584:52 [INFO] [stdout] | [INFO] [stdout] 582 | let entity = entity_world.entity_info_raw(*entity_id); [INFO] [stdout] | ------ binding `entity` declared here [INFO] [stdout] 583 | [INFO] [stdout] 584 | entity.extra_descriptions().chain(Some(entity)) [INFO] [stdout] | ------ ----- ^^^^^^ move out of `entity` occurs here [INFO] [stdout] | | | [INFO] [stdout] | | borrow later used by call [INFO] [stdout] | borrow of `entity` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `room` [INFO] [stdout] --> mudlib/src/entity.rs:621:9 [INFO] [stdout] | [INFO] [stdout] 619 | .chain(room.contained_entities_with_descriptions()); [INFO] [stdout] | ---- `room` is borrowed here [INFO] [stdout] 620 | [INFO] [stdout] 621 | / inventory_and_room.filter(move |entity| { [INFO] [stdout] 622 | | if is_myself && entity.entity_id() == myself_id { [INFO] [stdout] 623 | | true [INFO] [stdout] 624 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 630 | | } [INFO] [stdout] 631 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = help: use `.collect()` to allocate the iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `entity` [INFO] [stdout] --> mudlib/src/entity.rs:584:13 [INFO] [stdout] | [INFO] [stdout] 584 | entity.extra_descriptions().chain(Some(entity)) [INFO] [stdout] | ------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | `entity` is borrowed here [INFO] [stdout] | [INFO] [stdout] = help: use `.collect()` to allocate the iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `entity` because it is borrowed [INFO] [stdout] --> mudlib/src/entity.rs:584:52 [INFO] [stdout] | [INFO] [stdout] 582 | let entity = entity_world.entity_info_raw(*entity_id); [INFO] [stdout] | ------ binding `entity` declared here [INFO] [stdout] 583 | [INFO] [stdout] 584 | entity.extra_descriptions().chain(Some(entity)) [INFO] [stdout] | ------ ----- ^^^^^^ move out of `entity` occurs here [INFO] [stdout] | | | [INFO] [stdout] | | borrow later used by call [INFO] [stdout] | borrow of `entity` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `room` [INFO] [stdout] --> mudlib/src/entity.rs:621:9 [INFO] [stdout] | [INFO] [stdout] 619 | .chain(room.contained_entities_with_descriptions()); [INFO] [stdout] | ---- `room` is borrowed here [INFO] [stdout] 620 | [INFO] [stdout] 621 | / inventory_and_room.filter(move |entity| { [INFO] [stdout] 622 | | if is_myself && entity.entity_id() == myself_id { [INFO] [stdout] 623 | | true [INFO] [stdout] 624 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 630 | | } [INFO] [stdout] 631 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [INFO] [stdout] | [INFO] [stdout] = help: use `.collect()` to allocate the iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mudlib` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mudlib` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "6cbf4f763e3f51524201082498dfcc6b526bcacea2b6807bb30518f43fe371fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cbf4f763e3f51524201082498dfcc6b526bcacea2b6807bb30518f43fe371fe", kill_on_drop: false }` [INFO] [stdout] 6cbf4f763e3f51524201082498dfcc6b526bcacea2b6807bb30518f43fe371fe