[INFO] cloning repository https://github.com/Lucretiel/advent2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lucretiel/advent2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucretiel%2Fadvent2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucretiel%2Fadvent2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f1a0a408bfd1a0d3197631bfea5552daed8e157b [INFO] checking Lucretiel/advent2018 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucretiel%2Fadvent2018" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lucretiel/advent2018 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/Lucretiel/advent2018 [INFO] finished tweaking git repo https://github.com/Lucretiel/advent2018 [INFO] tweaked toml for git repo https://github.com/Lucretiel/advent2018 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lucretiel/advent2018 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1101023304e795745e5d89a513fcc707160bb729a31712554b95f43f98af26a4 [INFO] running `Command { std: "docker" "start" "-a" "1101023304e795745e5d89a513fcc707160bb729a31712554b95f43f98af26a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1101023304e795745e5d89a513fcc707160bb729a31712554b95f43f98af26a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1101023304e795745e5d89a513fcc707160bb729a31712554b95f43f98af26a4", kill_on_drop: false }` [INFO] [stdout] 1101023304e795745e5d89a513fcc707160bb729a31712554b95f43f98af26a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 1dc38af5aebaba5626d60b92051b43558a5264ece7dcb70fe5c52d0d4a3a443d [INFO] running `Command { std: "docker" "start" "-a" "1dc38af5aebaba5626d60b92051b43558a5264ece7dcb70fe5c52d0d4a3a443d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling fs_extra v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking gridly v0.5.2 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking generations v1.0.1 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.8 [INFO] [stderr] Checking lazy_format v1.7.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking joinery v1.2.2 [INFO] [stderr] Checking regex-syntax v0.6.3 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking gridly_grids v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling jemalloc-sys v0.3.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking jemallocator v0.3.2 [INFO] [stderr] Checking advent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing local data `input` [INFO] [stdout] --> src/main.rs:54:50 [INFO] [stdout] | [INFO] [stdout] 54 | let (solution, duration) = timed(move || solve(&input)); [INFO] [stdout] | ^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | `input` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `input` [INFO] [stdout] --> src/main.rs:54:50 [INFO] [stdout] | [INFO] [stdout] 54 | let (solution, duration) = timed(move || solve(&input)); [INFO] [stdout] | ^^^^^^------^ [INFO] [stdout] | | | [INFO] [stdout] | | `input` is borrowed here [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent` (bin "advent") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `advent` (bin "advent" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "1dc38af5aebaba5626d60b92051b43558a5264ece7dcb70fe5c52d0d4a3a443d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dc38af5aebaba5626d60b92051b43558a5264ece7dcb70fe5c52d0d4a3a443d", kill_on_drop: false }` [INFO] [stdout] 1dc38af5aebaba5626d60b92051b43558a5264ece7dcb70fe5c52d0d4a3a443d