[INFO] cloning repository https://github.com/adetante/deconz-sp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adetante/deconz-sp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadetante%2Fdeconz-sp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadetante%2Fdeconz-sp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 530226b2a032fedd463e055efe33dca6d186f37e [INFO] checking adetante/deconz-sp against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadetante%2Fdeconz-sp" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adetante/deconz-sp 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/adetante/deconz-sp [INFO] finished tweaking git repo https://github.com/adetante/deconz-sp [INFO] tweaked toml for git repo https://github.com/adetante/deconz-sp written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/adetante/deconz-sp 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] aaa823488b5b0348b501e928478b3d982a463c8b161f04aabafb537abd4ef39c [INFO] running `Command { std: "docker" "start" "-a" "aaa823488b5b0348b501e928478b3d982a463c8b161f04aabafb537abd4ef39c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaa823488b5b0348b501e928478b3d982a463c8b161f04aabafb537abd4ef39c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaa823488b5b0348b501e928478b3d982a463c8b161f04aabafb537abd4ef39c", kill_on_drop: false }` [INFO] [stdout] aaa823488b5b0348b501e928478b3d982a463c8b161f04aabafb537abd4ef39c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 170098f373158ba065444ebce6ba4780b86fbd2bf83430a724b60f2cd0f48b88 [INFO] running `Command { std: "docker" "start" "-a" "170098f373158ba065444ebce6ba4780b86fbd2bf83430a724b60f2cd0f48b88", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking futures v0.1.26 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling syn v0.15.30 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling cc v1.0.34 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking tokio-executor v0.1.7 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking tokio-sync v0.1.4 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking tokio-threadpool v0.1.13 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-timer v0.2.10 [INFO] [stderr] Checking tokio-trace-core v0.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.5 [INFO] [stderr] Checking regex-syntax v0.6.6 [INFO] [stderr] Checking aho-corasick v0.7.3 [INFO] [stderr] Checking tokio v0.1.18 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking serial-line-ip v0.4.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking serialport v3.2.0 [INFO] [stderr] Checking mio-serial v3.2.0 [INFO] [stderr] Checking tokio-serial v3.2.0 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking deconz-sp v0.1.0 (/opt/rustwide/workdir/deconz-sp) [INFO] [stderr] Checking env_logger v0.6.1 [INFO] [stderr] Checking example v0.1.0 (/opt/rustwide/workdir/example) [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> example/src/main.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | } if apsde_data_indication => Either::A( [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 24 | |/ client [INFO] [stdout] 25 | || .clone() [INFO] [stdout] | ||____________________________- temporary value created here [INFO] [stdout] 26 | | .aps_data_indication() [INFO] [stdout] ... | [INFO] [stdout] 34 | | }), [INFO] [stdout] 35 | | ), [INFO] [stdout] | |______________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> example/src/main.rs:23:43 [INFO] [stdout] | [INFO] [stdout] 23 | } if apsde_data_indication => Either::A( [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 24 | |/ client [INFO] [stdout] 25 | || .clone() [INFO] [stdout] | ||____________________________- temporary value created here [INFO] [stdout] 26 | | .aps_data_indication() [INFO] [stdout] ... | [INFO] [stdout] 34 | | }), [INFO] [stdout] 35 | | ), [INFO] [stdout] | |______________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `client` because it is borrowed [INFO] [stdout] --> example/src/main.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 7 | tokio::run(futures::lazy(|| { [INFO] [stdout] | - return type of closure `futures::Then, ForEach, [closure@example/src/main.rs:18:59: 18:71], Either, Failed<(), deconz_sp::Error>, [closure@example/src/main.rs:27:31: 27:37]>, [closure@example/src/main.rs:31:30: 31:35]>, Failed<(), ()>>>, [closure@example/src/main.rs:40:32: 40:40]>` contains a lifetime `'1` [INFO] [stdout] ... [INFO] [stdout] 11 | let client = std::sync::Arc::new(client); [INFO] [stdout] | ------ binding `client` declared here [INFO] [stdout] 12 | [INFO] [stdout] 13 | let set_security_mode = client.write_parameter( [INFO] [stdout] | ------ borrow of `client` occurs here [INFO] [stdout] ... [INFO] [stdout] 18 | let handle_notifications = notifications.for_each(move |notif| match notif { [INFO] [stdout] | ^^^^^^^^^^^^ move out of `client` occurs here [INFO] [stdout] ... [INFO] [stdout] 24 | client [INFO] [stdout] | ------ move occurs due to use in closure [INFO] [stdout] ... [INFO] [stdout] 40 | / set_security_mode.then(|result| { [INFO] [stdout] 41 | | match result { [INFO] [stdout] 42 | | Err(error) => println!("Cannot change security mode: {}", error), [INFO] [stdout] 43 | | Ok(_) => println!("SecurityMode changed"), [INFO] [stdout] 44 | | }; [INFO] [stdout] 45 | | handle_notifications [INFO] [stdout] 46 | | }) [INFO] [stdout] | |__________- returning this value requires that `client` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `client` because it is borrowed [INFO] [stdout] --> example/src/main.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 7 | tokio::run(futures::lazy(|| { [INFO] [stdout] | - return type of closure `futures::Then, ForEach, [closure@example/src/main.rs:18:59: 18:71], Either, Failed<(), deconz_sp::Error>, [closure@example/src/main.rs:27:31: 27:37]>, [closure@example/src/main.rs:31:30: 31:35]>, Failed<(), ()>>>, [closure@example/src/main.rs:40:32: 40:40]>` contains a lifetime `'1` [INFO] [stdout] ... [INFO] [stdout] 11 | let client = std::sync::Arc::new(client); [INFO] [stdout] | ------ binding `client` declared here [INFO] [stdout] 12 | [INFO] [stdout] 13 | let set_security_mode = client.write_parameter( [INFO] [stdout] | ------ borrow of `client` occurs here [INFO] [stdout] ... [INFO] [stdout] 18 | let handle_notifications = notifications.for_each(move |notif| match notif { [INFO] [stdout] | ^^^^^^^^^^^^ move out of `client` occurs here [INFO] [stdout] ... [INFO] [stdout] 24 | client [INFO] [stdout] | ------ move occurs due to use in closure [INFO] [stdout] ... [INFO] [stdout] 40 | / set_security_mode.then(|result| { [INFO] [stdout] 41 | | match result { [INFO] [stdout] 42 | | Err(error) => println!("Cannot change security mode: {}", error), [INFO] [stdout] 43 | | Ok(_) => println!("SecurityMode changed"), [INFO] [stdout] 44 | | }; [INFO] [stdout] 45 | | handle_notifications [INFO] [stdout] 46 | | }) [INFO] [stdout] | |__________- returning this value requires that `client` is borrowed for `'1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `client` [INFO] [stdout] --> example/src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 13 | let set_security_mode = client.write_parameter( [INFO] [stdout] | ------ `client` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 40 | / set_security_mode.then(|result| { [INFO] [stdout] 41 | | match result { [INFO] [stdout] 42 | | Err(error) => println!("Cannot change security mode: {}", error), [INFO] [stdout] 43 | | Ok(_) => println!("SecurityMode changed"), [INFO] [stdout] 44 | | }; [INFO] [stdout] 45 | | handle_notifications [INFO] [stdout] 46 | | }) [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] --> example/src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 13 | let set_security_mode = client.write_parameter( [INFO] [stdout] | ------ `client` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 40 | / set_security_mode.then(|result| { [INFO] [stdout] 41 | | match result { [INFO] [stdout] 42 | | Err(error) => println!("Cannot change security mode: {}", error), [INFO] [stdout] 43 | | Ok(_) => println!("SecurityMode changed"), [INFO] [stdout] 44 | | }; [INFO] [stdout] 45 | | handle_notifications [INFO] [stdout] 46 | | }) [INFO] [stdout] | |__________^ returns a value referencing data owned by the current function [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] [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 `example` (bin "example") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `example` (bin "example" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "170098f373158ba065444ebce6ba4780b86fbd2bf83430a724b60f2cd0f48b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "170098f373158ba065444ebce6ba4780b86fbd2bf83430a724b60f2cd0f48b88", kill_on_drop: false }` [INFO] [stdout] 170098f373158ba065444ebce6ba4780b86fbd2bf83430a724b60f2cd0f48b88