[INFO] cloning repository https://github.com/lukaspustina/ifconfig-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukaspustina/ifconfig-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukaspustina%2Fifconfig-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukaspustina%2Fifconfig-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8647fd5e927b8b5feff7fbf494c267465a807948 [INFO] checking lukaspustina/ifconfig-rs against try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukaspustina%2Fifconfig-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lukaspustina/ifconfig-rs on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lukaspustina/ifconfig-rs [INFO] finished tweaking git repo https://github.com/lukaspustina/ifconfig-rs [INFO] tweaked toml for git repo https://github.com/lukaspustina/ifconfig-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lukaspustina/ifconfig-rs 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" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12dbcc9fee73125224383ba72d6f329f473ef8765305a899f95aedfa9f50e3bd [INFO] running `Command { std: "docker" "start" "-a" "12dbcc9fee73125224383ba72d6f329f473ef8765305a899f95aedfa9f50e3bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12dbcc9fee73125224383ba72d6f329f473ef8765305a899f95aedfa9f50e3bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12dbcc9fee73125224383ba72d6f329f473ef8765305a899f95aedfa9f50e3bd", kill_on_drop: false }` [INFO] [stdout] 12dbcc9fee73125224383ba72d6f329f473ef8765305a899f95aedfa9f50e3bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f87877f470305c479d2fa111125f3aa6270ed42e04671589fa74bbed19c58a2 [INFO] running `Command { std: "docker" "start" "-a" "9f87877f470305c479d2fa111125f3aa6270ed42e04671589fa74bbed19c58a2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking winnow v0.6.6 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling figment v0.10.18 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling pest v2.7.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling pest_meta v2.7.9 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling pest_generator v2.7.9 [INFO] [stderr] Checking normpath v1.2.0 [INFO] [stderr] Checking dns-lookup v2.0.4 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling pest_derive v2.7.9 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Checking maxminddb v0.24.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking handlebars v4.5.0 [INFO] [stderr] Checking uaparser v0.6.3 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking rocket_http v0.5.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Checking rocket_dyn_templates v0.1.0 [INFO] [stderr] Checking ifconfig-rs v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 16 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 17 | | .get("/") [INFO] [stdout] 18 | | .remote("192.168.0.101:8000".parse().unwrap()) [INFO] [stdout] 19 | | .header(Accept::Any) [INFO] [stdout] 20 | | .header(Header::new(USER_AGENT.as_str(), "curl/7.54.0")) [INFO] [stdout] | |_____________________________^^^^^^^^^^_________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 21 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 45 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 46 | | .get("/") [INFO] [stdout] 47 | | .remote("192.168.0.101:8000".parse().unwrap()) [INFO] [stdout] 48 | | .header(Accept::JSON) [INFO] [stdout] 49 | | .header(Header::new( [INFO] [stdout] 50 | | USER_AGENT.as_str(), [INFO] [stdout] | | ^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 51 | | "Some browser that will ultimately win the war.", [INFO] [stdout] 52 | | )) [INFO] [stdout] | |__________- argument requires that borrow lasts for `'static` [INFO] [stdout] 53 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 100 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 101 | | .get("/json") [INFO] [stdout] 102 | | .remote("192.168.0.101:8000".parse().unwrap()) [INFO] [stdout] 103 | | .header(Header::new( [INFO] [stdout] 104 | | USER_AGENT.as_str(), [INFO] [stdout] | | ^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 105 | | "Some browser that will ultimately win the war.", [INFO] [stdout] 106 | | )) [INFO] [stdout] | |__________- argument requires that borrow lasts for `'static` [INFO] [stdout] 107 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 140 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 141 | | .get("/ip") [INFO] [stdout] 142 | | .remote("192.168.0.101:8000".parse().unwrap()) [INFO] [stdout] 143 | | .header(Accept::Any) [INFO] [stdout] 144 | | .header(Header::new(USER_AGENT.as_str(), "curl/7.54.0")) [INFO] [stdout] | |_____________________________^^^^^^^^^^_________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 145 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 169 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 170 | | .get("/ip") [INFO] [stdout] 171 | | .remote("192.168.0.101:8000".parse().unwrap()) [INFO] [stdout] 172 | | .header(Accept::JSON) [INFO] [stdout] 173 | | .header(Header::new( [INFO] [stdout] 174 | | USER_AGENT.as_str(), [INFO] [stdout] | | ^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 175 | | "Some browser that will ultimately win the war.", [INFO] [stdout] 176 | | )) [INFO] [stdout] | |__________- argument requires that borrow lasts for `'static` [INFO] [stdout] 177 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 188 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 189 | | .get("/ip/json") [INFO] [stdout] 190 | | .remote("192.168.0.101:8000".parse().unwrap()) [INFO] [stdout] 191 | | .header(Header::new( [INFO] [stdout] 192 | | USER_AGENT.as_str(), [INFO] [stdout] | | ^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 193 | | "Some browser that will ultimately win the war.", [INFO] [stdout] 194 | | )) [INFO] [stdout] | |__________- argument requires that borrow lasts for `'static` [INFO] [stdout] 195 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:210:29 [INFO] [stdout] | [INFO] [stdout] 206 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 207 | | .get("/tcp") [INFO] [stdout] 208 | | .remote("192.168.0.101:8000".parse().unwrap()) [INFO] [stdout] 209 | | .header(Accept::Any) [INFO] [stdout] 210 | | .header(Header::new(USER_AGENT.as_str(), "curl/7.54.0")) [INFO] [stdout] | |_____________________________^^^^^^^^^^_________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 211 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 235 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 236 | | .get("/tcp") [INFO] [stdout] 237 | | .remote("192.168.0.101:8000".parse().unwrap()) [INFO] [stdout] 238 | | .header(Accept::JSON) [INFO] [stdout] 239 | | .header(Header::new( [INFO] [stdout] 240 | | USER_AGENT.as_str(), [INFO] [stdout] | | ^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 241 | | "Some browser that will ultimately win the war.", [INFO] [stdout] 242 | | )) [INFO] [stdout] | |__________- argument requires that borrow lasts for `'static` [INFO] [stdout] 243 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 254 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 255 | | .get("/tcp/json") [INFO] [stdout] 256 | | .remote("192.168.0.101:8000".parse().unwrap()) [INFO] [stdout] 257 | | .header(Header::new( [INFO] [stdout] 258 | | USER_AGENT.as_str(), [INFO] [stdout] | | ^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 259 | | "Some browser that will ultimately win the war.", [INFO] [stdout] 260 | | )) [INFO] [stdout] | |__________- argument requires that borrow lasts for `'static` [INFO] [stdout] 261 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 272 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 273 | | .get("/host") [INFO] [stdout] 274 | | .remote("8.8.8.8:8000".parse().unwrap()) [INFO] [stdout] 275 | | .header(Accept::Any) [INFO] [stdout] 276 | | .header(Header::new(USER_AGENT.as_str(), "curl/7.54.0")) [INFO] [stdout] | |_____________________________^^^^^^^^^^_________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 277 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:291:29 [INFO] [stdout] | [INFO] [stdout] 287 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 288 | | .get("/host") [INFO] [stdout] 289 | | .remote("8.8.8.8:8000".parse().unwrap()) [INFO] [stdout] 290 | | .header(Accept::Any) [INFO] [stdout] 291 | | .header(Header::new(USER_AGENT.as_str(), "HTTPie/0.9.9")) [INFO] [stdout] | |_____________________________^^^^^^^^^^__________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 292 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:306:29 [INFO] [stdout] | [INFO] [stdout] 302 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 303 | | .get("/host") [INFO] [stdout] 304 | | .remote("8.8.8.8:8000".parse().unwrap()) [INFO] [stdout] 305 | | .header(Accept::Any) [INFO] [stdout] 306 | | .header(Header::new(USER_AGENT.as_str(), "Wget/1.19.5 (darwin17.5.0)")) [INFO] [stdout] | |_____________________________^^^^^^^^^^________________________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 307 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 331 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 332 | | .get("/host") [INFO] [stdout] 333 | | .remote("8.8.8.8:8000".parse().unwrap()) [INFO] [stdout] 334 | | .header(Accept::JSON) [INFO] [stdout] 335 | | .header(Header::new( [INFO] [stdout] 336 | | USER_AGENT.as_str(), [INFO] [stdout] | | ^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 337 | | "Some browser that will ultimately win the war.", [INFO] [stdout] 338 | | )) [INFO] [stdout] | |__________- argument requires that borrow lasts for `'static` [INFO] [stdout] 339 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 350 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 351 | | .get("/host/json") [INFO] [stdout] 352 | | .remote("8.8.8.8:8000".parse().unwrap()) [INFO] [stdout] 353 | | .header(Header::new( [INFO] [stdout] 354 | | USER_AGENT.as_str(), [INFO] [stdout] | | ^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 355 | | "Some browser that will ultimately win the war.", [INFO] [stdout] 356 | | )) [INFO] [stdout] | |__________- argument requires that borrow lasts for `'static` [INFO] [stdout] 357 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:372:29 [INFO] [stdout] | [INFO] [stdout] 368 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 369 | | .get("/isp") [INFO] [stdout] 370 | | .remote("8.8.8.8:8000".parse().unwrap()) [INFO] [stdout] 371 | | .header(Accept::Any) [INFO] [stdout] 372 | | .header(Header::new(USER_AGENT.as_str(), "curl/7.54.0")) [INFO] [stdout] | |_____________________________^^^^^^^^^^_________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 373 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 397 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 398 | | .get("/isp") [INFO] [stdout] 399 | | .remote("8.8.8.8:8000".parse().unwrap()) [INFO] [stdout] 400 | | .header(Accept::JSON) [INFO] [stdout] 401 | | .header(Header::new( [INFO] [stdout] 402 | | USER_AGENT.as_str(), [INFO] [stdout] | | ^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 403 | | "Some browser that will ultimately win the war.", [INFO] [stdout] 404 | | )) [INFO] [stdout] | |__________- argument requires that borrow lasts for `'static` [INFO] [stdout] 405 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:420:13 [INFO] [stdout] | [INFO] [stdout] 416 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 417 | | .get("/isp/json") [INFO] [stdout] 418 | | .remote("8.8.8.8:8000".parse().unwrap()) [INFO] [stdout] 419 | | .header(Header::new( [INFO] [stdout] 420 | | USER_AGENT.as_str(), [INFO] [stdout] | | ^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 421 | | "Some browser that will ultimately win the war.", [INFO] [stdout] 422 | | )) [INFO] [stdout] | |__________- argument requires that borrow lasts for `'static` [INFO] [stdout] 423 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:438:29 [INFO] [stdout] | [INFO] [stdout] 434 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 435 | | .get("/location") [INFO] [stdout] 436 | | .remote("93.184.216.34:8000".parse().unwrap()) [INFO] [stdout] 437 | | .header(Accept::Any) [INFO] [stdout] 438 | | .header(Header::new(USER_AGENT.as_str(), "curl/7.54.0")) [INFO] [stdout] | |_____________________________^^^^^^^^^^_________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 439 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 463 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 464 | | .get("/location") [INFO] [stdout] 465 | | .remote("93.184.216.34:8000".parse().unwrap()) [INFO] [stdout] 466 | | .header(Accept::JSON) [INFO] [stdout] 467 | | .header(Header::new( [INFO] [stdout] 468 | | USER_AGENT.as_str(), [INFO] [stdout] | | ^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 469 | | "Some browser that will ultimately win the war.", [INFO] [stdout] 470 | | )) [INFO] [stdout] | |__________- argument requires that borrow lasts for `'static` [INFO] [stdout] 471 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:486:13 [INFO] [stdout] | [INFO] [stdout] 482 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 483 | | .get("/location/json") [INFO] [stdout] 484 | | .remote("93.184.216.34:8000".parse().unwrap()) [INFO] [stdout] 485 | | .header(Header::new( [INFO] [stdout] 486 | | USER_AGENT.as_str(), [INFO] [stdout] | | ^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 487 | | "Some browser that will ultimately win the war.", [INFO] [stdout] 488 | | )) [INFO] [stdout] | |__________- argument requires that borrow lasts for `'static` [INFO] [stdout] 489 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:504:29 [INFO] [stdout] | [INFO] [stdout] 500 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 501 | | .get("/user_agent") [INFO] [stdout] 502 | | .remote("192.168.0.101:8000".parse().unwrap()) [INFO] [stdout] 503 | | .header(Accept::Any) [INFO] [stdout] 504 | | .header(Header::new(USER_AGENT.as_str(), "Wget/1.19.5 (darwin17.5.0)")) [INFO] [stdout] | |_____________________________^^^^^^^^^^________________________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 505 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:519:29 [INFO] [stdout] | [INFO] [stdout] 515 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 516 | | .get("/user_agent") [INFO] [stdout] 517 | | .remote("192.168.0.101:8000".parse().unwrap()) [INFO] [stdout] 518 | | .header(Accept::Plain) [INFO] [stdout] 519 | | .header(Header::new(USER_AGENT.as_str(),"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8")) [INFO] [stdout] | |_____________________________^^^^^^^^^^__________________________________________________________________________________________________________________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 520 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:537:29 [INFO] [stdout] | [INFO] [stdout] 533 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 534 | | .get("/user_agent") [INFO] [stdout] 535 | | .remote("192.168.0.101:8000".parse().unwrap()) [INFO] [stdout] 536 | | .header(Accept::JSON) [INFO] [stdout] 537 | | .header(Header::new(USER_AGENT.as_str(),"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8")) [INFO] [stdout] | |_____________________________^^^^^^^^^^__________________________________________________________________________________________________________________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 538 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> tests/ok_handlers.rs:552:29 [INFO] [stdout] | [INFO] [stdout] 549 | let response = client [INFO] [stdout] | ____________________- [INFO] [stdout] 550 | | .get("/user_agent/json") [INFO] [stdout] 551 | | .remote("192.168.0.101:8000".parse().unwrap()) [INFO] [stdout] 552 | | .header(Header::new(USER_AGENT.as_str(),"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8")) [INFO] [stdout] | |_____________________________^^^^^^^^^^__________________________________________________________________________________________________________________________________- argument requires that borrow lasts for `'static` [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 553 | .dispatch(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ifconfig-rs` (test "ok_handlers") due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "9f87877f470305c479d2fa111125f3aa6270ed42e04671589fa74bbed19c58a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f87877f470305c479d2fa111125f3aa6270ed42e04671589fa74bbed19c58a2", kill_on_drop: false }` [INFO] [stdout] 9f87877f470305c479d2fa111125f3aa6270ed42e04671589fa74bbed19c58a2