[INFO] cloning repository https://github.com/winguse/udp-prepend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/winguse/udp-prepend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwinguse%2Fudp-prepend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwinguse%2Fudp-prepend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb012c7555eba6b01b2add2dffb95219dd3bd006 [INFO] checking winguse/udp-prepend against try#9c1dcf141bc0875407c4eb36972857bd3db713e2 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwinguse%2Fudp-prepend" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/winguse/udp-prepend on toolchain 9c1dcf141bc0875407c4eb36972857bd3db713e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/winguse/udp-prepend [INFO] finished tweaking git repo https://github.com/winguse/udp-prepend [INFO] tweaked toml for git repo https://github.com/winguse/udp-prepend written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/winguse/udp-prepend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6671e540d6fddf8206563953f704d5a3ffd470f1135dc958cca3a8b8e1f21a99 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6671e540d6fddf8206563953f704d5a3ffd470f1135dc958cca3a8b8e1f21a99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6671e540d6fddf8206563953f704d5a3ffd470f1135dc958cca3a8b8e1f21a99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6671e540d6fddf8206563953f704d5a3ffd470f1135dc958cca3a8b8e1f21a99", kill_on_drop: false }` [INFO] [stdout] 6671e540d6fddf8206563953f704d5a3ffd470f1135dc958cca3a8b8e1f21a99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9c1dcf141bc0875407c4eb36972857bd3db713e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7f7d8d91aaa90caafa985e9e58baba5967ad97c98fcbf04d7a5015c80d0c4b47 [INFO] running `Command { std: "docker" "start" "-a" "7f7d8d91aaa90caafa985e9e58baba5967ad97c98fcbf04d7a5015c80d0c4b47", kill_on_drop: false }` [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.3.0 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking udp-prepend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `warn` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{error, info, LevelFilter, warn, debug}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::sync::Arc` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use async_std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToSocketAddrs` [INFO] [stdout] --> src/main.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | use async_std::net::{UdpSocket, SocketAddr, ToSocketAddrs}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `warn` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{error, info, LevelFilter, warn, debug}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::sync::Arc` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use async_std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToSocketAddrs` [INFO] [stdout] --> src/main.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | use async_std::net::{UdpSocket, SocketAddr, ToSocketAddrs}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `info` does not live long enough [INFO] [stdout] --> src/main.rs:84:57 [INFO] [stdout] | [INFO] [stdout] 84 | let b_info: &'static UpstreamInfo = &info; [INFO] [stdout] | --------------------- ^^^^^ borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] | type annotation requires that `info` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 90 | } [INFO] [stdout] | - `info` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `info` because it is borrowed [INFO] [stdout] --> src/main.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 84 | let b_info: &'static UpstreamInfo = &info; [INFO] [stdout] | --------------------- ----- borrow of `info` occurs here [INFO] [stdout] | | [INFO] [stdout] | type annotation requires that `info` is borrowed for `'static` [INFO] [stdout] 85 | self.upstream_infos.push(info); [INFO] [stdout] | ^^^^ move out of `info` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `udp-prepend` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0597]: `info` does not live long enough [INFO] [stdout] --> src/main.rs:84:57 [INFO] [stdout] | [INFO] [stdout] 84 | let b_info: &'static UpstreamInfo = &info; [INFO] [stdout] | --------------------- ^^^^^ borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] | type annotation requires that `info` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 90 | } [INFO] [stdout] | - `info` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `info` because it is borrowed [INFO] [stdout] --> src/main.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 84 | let b_info: &'static UpstreamInfo = &info; [INFO] [stdout] | --------------------- ----- borrow of `info` occurs here [INFO] [stdout] | | [INFO] [stdout] | type annotation requires that `info` is borrowed for `'static` [INFO] [stdout] 85 | self.upstream_infos.push(info); [INFO] [stdout] | ^^^^ move out of `info` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7f7d8d91aaa90caafa985e9e58baba5967ad97c98fcbf04d7a5015c80d0c4b47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f7d8d91aaa90caafa985e9e58baba5967ad97c98fcbf04d7a5015c80d0c4b47", kill_on_drop: false }` [INFO] [stdout] 7f7d8d91aaa90caafa985e9e58baba5967ad97c98fcbf04d7a5015c80d0c4b47