[INFO] cloning repository https://github.com/wackazong/concordium-state-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wackazong/concordium-state-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwackazong%2Fconcordium-state-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwackazong%2Fconcordium-state-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60ddf06a71923e201adee34baeb9941917983160 [INFO] testing wackazong/concordium-state-example against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwackazong%2Fconcordium-state-example" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wackazong/concordium-state-example [INFO] finished tweaking git repo https://github.com/wackazong/concordium-state-example [INFO] tweaked toml for git repo https://github.com/wackazong/concordium-state-example written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wackazong/concordium-state-example on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wackazong/concordium-state-example 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 932540e915c65409f33286a2e85e0aee859967121c00b607ed58e04624604d97 [INFO] running `Command { std: "docker" "start" "-a" "932540e915c65409f33286a2e85e0aee859967121c00b607ed58e04624604d97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "932540e915c65409f33286a2e85e0aee859967121c00b607ed58e04624604d97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "932540e915c65409f33286a2e85e0aee859967121c00b607ed58e04624604d97", kill_on_drop: false }` [INFO] [stdout] 932540e915c65409f33286a2e85e0aee859967121c00b607ed58e04624604d97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 984dd572b792c3a19453ecdc1405c08f25f25528b7c360258f6cad3e5c2e6301 [INFO] running `Command { std: "docker" "start" "-a" "984dd572b792c3a19453ecdc1405c08f25f25528b7c360258f6cad3e5c2e6301", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling concordium-contracts-common-derive v3.0.0 [INFO] [stderr] Compiling concordium-contracts-common v7.0.0 [INFO] [stderr] Compiling concordium-std v7.0.0 [INFO] [stderr] Compiling concordium-contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `collection` [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Box::new(Iter::new(collection.deref().clone())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `collection` is borrowed here [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] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `concordium-contract` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "984dd572b792c3a19453ecdc1405c08f25f25528b7c360258f6cad3e5c2e6301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "984dd572b792c3a19453ecdc1405c08f25f25528b7c360258f6cad3e5c2e6301", kill_on_drop: false }` [INFO] [stdout] 984dd572b792c3a19453ecdc1405c08f25f25528b7c360258f6cad3e5c2e6301