[INFO] cloning repository https://github.com/bnavetta/sparkler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bnavetta/sparkler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbnavetta%2Fsparkler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbnavetta%2Fsparkler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a9f255854ed5ec20cf564970a35d053618e8508 [INFO] testing bnavetta/sparkler against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbnavetta%2Fsparkler" "/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/bnavetta/sparkler on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/bnavetta/sparkler [INFO] finished tweaking git repo https://github.com/bnavetta/sparkler [INFO] tweaked toml for git repo https://github.com/bnavetta/sparkler written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bnavetta/sparkler 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c66312caa1607bd1e5b48b13a00db4d816ab6570de074dedad170566181df033 [INFO] running `Command { std: "docker" "start" "-a" "c66312caa1607bd1e5b48b13a00db4d816ab6570de074dedad170566181df033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c66312caa1607bd1e5b48b13a00db4d816ab6570de074dedad170566181df033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c66312caa1607bd1e5b48b13a00db4d816ab6570de074dedad170566181df033", kill_on_drop: false }` [INFO] [stdout] c66312caa1607bd1e5b48b13a00db4d816ab6570de074dedad170566181df033 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 176cd5eab78a7abc27c0c8f2d4cccab1260d892f707bbc05074d5321237ffd38 [INFO] running `Command { std: "docker" "start" "-a" "176cd5eab78a7abc27c0c8f2d4cccab1260d892f707bbc05074d5321237ffd38", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.83 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling unshare v0.6.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling pin-project v1.0.4 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling hyper v0.14.2 [INFO] [stderr] Compiling hyperlocal v0.8.0 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling tracing-subscriber v0.2.15 [INFO] [stderr] Compiling sparkler v0.1.0 (/opt/rustwide/workdir/sparkler) [INFO] [stdout] warning: unused imports: `RateLimiter` and `TokenBucket` [INFO] [stdout] --> sparkler/src/firecracker/api.rs:14:68 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::model::{ActionType, BootSource, Drive, InstanceInfo, RateLimiter, TokenBucket}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> sparkler/src/util.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> FileLock<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 25 | /// Take an exclusive lock on `file`, returning a `FileLock` guard. [INFO] [stdout] 26 | pub fn new(file: &'a File) -> Result { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FlushMetrics` and `SendCtrlAltDel` are never constructed [INFO] [stdout] --> sparkler/src/firecracker/api.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 198 | pub enum ActionType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 199 | FlushMetrics, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 200 | InstanceStart, [INFO] [stdout] 201 | SendCtrlAltDel, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> sparkler/src/firecracker/jailer.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl<'a> Config<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn new(id: &'a str, user: Uid, group: Gid) -> Config<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `interfaces`, `ips`, `routes`, and `dns` are never read [INFO] [stdout] --> sparkler/src/network/cni/schema.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct PluginResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 138 | interfaces: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | ips: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | routes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | dns: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `mac`, and `sandbox` are never read [INFO] [stdout] --> sparkler/src/network/cni/schema.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Interface { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 153 | /// Network interface name. [INFO] [stdout] 154 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | mac: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | sandbox: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interface` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `gateway`, and `interface` are never read [INFO] [stdout] --> sparkler/src/network/cni/schema.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct IpConfiguration { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 171 | /// IP address range in CIDR notation [INFO] [stdout] 172 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | gateway: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | interface: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `destination` and `gateway` are never read [INFO] [stdout] --> sparkler/src/network/cni/schema.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct RouteConfiguration { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 192 | destination: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | gateway: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ips`, `routes`, and `dns` are never read [INFO] [stdout] --> sparkler/src/network/cni/schema.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct IpamResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 205 | /// IP configuration [INFO] [stdout] 206 | ips: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | routes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | dns: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpamResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address` and `gateway` are never read [INFO] [stdout] --> sparkler/src/network/cni/schema.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct IpamIpConfiguration { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 219 | /// IP address range in CIDR notation [INFO] [stdout] 220 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | gateway: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpamIpConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.44s [INFO] running `Command { std: "docker" "inspect" "176cd5eab78a7abc27c0c8f2d4cccab1260d892f707bbc05074d5321237ffd38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "176cd5eab78a7abc27c0c8f2d4cccab1260d892f707bbc05074d5321237ffd38", kill_on_drop: false }` [INFO] [stdout] 176cd5eab78a7abc27c0c8f2d4cccab1260d892f707bbc05074d5321237ffd38 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3fbd6c667dfce2ee994f4a2a35cd95a148941a479beabf6be0538b2f80adc07 [INFO] running `Command { std: "docker" "start" "-a" "c3fbd6c667dfce2ee994f4a2a35cd95a148941a479beabf6be0538b2f80adc07", kill_on_drop: false }` [INFO] [stderr] Compiling sparkler v0.1.0 (/opt/rustwide/workdir/sparkler) [INFO] [stdout] warning: unused imports: `RateLimiter` and `TokenBucket` [INFO] [stdout] --> sparkler/src/firecracker/api.rs:14:68 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::model::{ActionType, BootSource, Drive, InstanceInfo, RateLimiter, TokenBucket}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> sparkler/src/util.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 24 | impl<'a> FileLock<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 25 | /// Take an exclusive lock on `file`, returning a `FileLock` guard. [INFO] [stdout] 26 | pub fn new(file: &'a File) -> Result { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FlushMetrics` and `SendCtrlAltDel` are never constructed [INFO] [stdout] --> sparkler/src/firecracker/api.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 198 | pub enum ActionType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 199 | FlushMetrics, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 200 | InstanceStart, [INFO] [stdout] 201 | SendCtrlAltDel, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> sparkler/src/firecracker/jailer.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl<'a> Config<'a> { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn new(id: &'a str, user: Uid, group: Gid) -> Config<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `interfaces`, `ips`, `routes`, and `dns` are never read [INFO] [stdout] --> sparkler/src/network/cni/schema.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct PluginResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 138 | interfaces: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | ips: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | routes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | dns: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `mac`, and `sandbox` are never read [INFO] [stdout] --> sparkler/src/network/cni/schema.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct Interface { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 153 | /// Network interface name. [INFO] [stdout] 154 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | mac: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | sandbox: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Interface` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `gateway`, and `interface` are never read [INFO] [stdout] --> sparkler/src/network/cni/schema.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct IpConfiguration { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 171 | /// IP address range in CIDR notation [INFO] [stdout] 172 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | gateway: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | interface: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `destination` and `gateway` are never read [INFO] [stdout] --> sparkler/src/network/cni/schema.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct RouteConfiguration { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 192 | destination: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | gateway: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ips`, `routes`, and `dns` are never read [INFO] [stdout] --> sparkler/src/network/cni/schema.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct IpamResult { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 205 | /// IP configuration [INFO] [stdout] 206 | ips: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | routes: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | dns: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpamResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address` and `gateway` are never read [INFO] [stdout] --> sparkler/src/network/cni/schema.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct IpamIpConfiguration { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 219 | /// IP address range in CIDR notation [INFO] [stdout] 220 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | gateway: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IpamIpConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.07s [INFO] running `Command { std: "docker" "inspect" "c3fbd6c667dfce2ee994f4a2a35cd95a148941a479beabf6be0538b2f80adc07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3fbd6c667dfce2ee994f4a2a35cd95a148941a479beabf6be0538b2f80adc07", kill_on_drop: false }` [INFO] [stdout] c3fbd6c667dfce2ee994f4a2a35cd95a148941a479beabf6be0538b2f80adc07 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9e4315f6c5b8d11cf62446d92da08ea087473c67135d33464a1e0ab85e7c8450 [INFO] running `Command { std: "docker" "start" "-a" "9e4315f6c5b8d11cf62446d92da08ea087473c67135d33464a1e0ab85e7c8450", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `RateLimiter` and `TokenBucket` [INFO] [stderr] --> sparkler/src/firecracker/api.rs:14:68 [INFO] [stderr] | [INFO] [stderr] 14 | pub use self::model::{ActionType, BootSource, Drive, InstanceInfo, RateLimiter, TokenBucket}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> sparkler/src/util.rs:26:42 [INFO] [stderr] | [INFO] [stderr] 24 | impl<'a> FileLock<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 25 | /// Take an exclusive lock on `file`, returning a `FileLock` guard. [INFO] [stderr] 26 | pub fn new(file: &'a File) -> Result { [INFO] [stderr] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `FlushMetrics` and `SendCtrlAltDel` are never constructed [INFO] [stderr] --> sparkler/src/firecracker/api.rs:199:9 [INFO] [stderr] | [INFO] [stderr] 198 | pub enum ActionType { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] 199 | FlushMetrics, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 200 | InstanceStart, [INFO] [stderr] 201 | SendCtrlAltDel, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ActionType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> sparkler/src/firecracker/jailer.rs:61:8 [INFO] [stderr] | [INFO] [stderr] 58 | impl<'a> Config<'a> { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 61 | fn new(id: &'a str, user: Uid, group: Gid) -> Config<'a> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `interfaces`, `ips`, `routes`, and `dns` are never read [INFO] [stderr] --> sparkler/src/network/cni/schema.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 134 | pub struct PluginResult { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 138 | interfaces: Vec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 141 | ips: Vec, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 144 | routes: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 147 | dns: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PluginResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `mac`, and `sandbox` are never read [INFO] [stderr] --> sparkler/src/network/cni/schema.rs:154:5 [INFO] [stderr] | [INFO] [stderr] 152 | pub struct Interface { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 153 | /// Network interface name. [INFO] [stderr] 154 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 158 | mac: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 163 | sandbox: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Interface` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `address`, `gateway`, and `interface` are never read [INFO] [stderr] --> sparkler/src/network/cni/schema.rs:172:5 [INFO] [stderr] | [INFO] [stderr] 170 | pub struct IpConfiguration { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 171 | /// IP address range in CIDR notation [INFO] [stderr] 172 | address: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 178 | gateway: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 182 | interface: usize, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IpConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `destination` and `gateway` are never read [INFO] [stderr] --> sparkler/src/network/cni/schema.rs:192:5 [INFO] [stderr] | [INFO] [stderr] 189 | pub struct RouteConfiguration { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 192 | destination: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 197 | gateway: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RouteConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `ips`, `routes`, and `dns` are never read [INFO] [stderr] --> sparkler/src/network/cni/schema.rs:206:5 [INFO] [stderr] | [INFO] [stderr] 204 | pub struct IpamResult { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 205 | /// IP configuration [INFO] [stderr] 206 | ips: Vec, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 210 | routes: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 213 | dns: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IpamResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `address` and `gateway` are never read [INFO] [stderr] --> sparkler/src/network/cni/schema.rs:220:5 [INFO] [stderr] | [INFO] [stderr] 218 | pub struct IpamIpConfiguration { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 219 | /// IP address range in CIDR notation [INFO] [stderr] 220 | address: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 226 | gateway: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IpamIpConfiguration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `sparkler` (bin "sparkler" test) generated 10 warnings (run `cargo fix --bin "sparkler" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sparkler-994502a13d384c00) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test network::cni::schema::tests::test_plugin_list ... ok [INFO] [stdout] test network::cni::schema::tests::test_single_plugin ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9e4315f6c5b8d11cf62446d92da08ea087473c67135d33464a1e0ab85e7c8450", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e4315f6c5b8d11cf62446d92da08ea087473c67135d33464a1e0ab85e7c8450", kill_on_drop: false }` [INFO] [stdout] 9e4315f6c5b8d11cf62446d92da08ea087473c67135d33464a1e0ab85e7c8450