[INFO] fetching crate xrl 0.0.9... [INFO] checking xrl-0.0.9 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate xrl 0.0.9 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate xrl 0.0.9 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 crates.io crate xrl 0.0.9 [INFO] finished tweaking crates.io crate xrl 0.0.9 [INFO] tweaked toml for crates.io crate xrl 0.0.9 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate xrl 0.0.9 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] 7acaaeb88b4607d4d85db57532bab95d2169c2667b4e9edfd8ff5bc37aaeb394 [INFO] running `Command { std: "docker" "start" "-a" "7acaaeb88b4607d4d85db57532bab95d2169c2667b4e9edfd8ff5bc37aaeb394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7acaaeb88b4607d4d85db57532bab95d2169c2667b4e9edfd8ff5bc37aaeb394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7acaaeb88b4607d4d85db57532bab95d2169c2667b4e9edfd8ff5bc37aaeb394", kill_on_drop: false }` [INFO] [stdout] 7acaaeb88b4607d4d85db57532bab95d2169c2667b4e9edfd8ff5bc37aaeb394 [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] dc34e0c6f134a78db58fabd6f8a9975c8a92d273e6896e4f9b6428cabb495cf5 [INFO] running `Command { std: "docker" "start" "-a" "dc34e0c6f134a78db58fabd6f8a9975c8a92d273e6896e4f9b6428cabb495cf5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-signal v0.2.9 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-process v0.2.5 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking plist v0.4.2 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking syntect v3.3.0 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking xrl v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `client` [INFO] [stdout] --> examples/it_works.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | client [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | _________________`client` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 103 | | .new_view(None) [INFO] [stdout] 104 | | .map(|view_name| println!("opened new view: {}", view_name)) [INFO] [stdout] 105 | | .map_err(|e| eprintln!("failed to open a new view: {:?}", e)) [INFO] [stdout] ... | [INFO] [stdout] 113 | | Ok(()) [INFO] [stdout] 114 | | }) [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 variable `client` [INFO] [stdout] --> examples/it_works.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | client [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | _________`client` is borrowed here [INFO] [stdout] | | [INFO] [stdout] 96 | | // Xi core expects the first notification to be [INFO] [stdout] 97 | | // "client_started" [INFO] [stdout] 98 | | .client_started(None, None) [INFO] [stdout] ... | [INFO] [stdout] 114 | | }) [INFO] [stdout] 115 | | }) [INFO] [stdout] | |______________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xrl` (example "it_works") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "dc34e0c6f134a78db58fabd6f8a9975c8a92d273e6896e4f9b6428cabb495cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc34e0c6f134a78db58fabd6f8a9975c8a92d273e6896e4f9b6428cabb495cf5", kill_on_drop: false }` [INFO] [stdout] dc34e0c6f134a78db58fabd6f8a9975c8a92d273e6896e4f9b6428cabb495cf5