[INFO] cloning repository https://github.com/leryn1122/opencontainer-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leryn1122/opencontainer-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleryn1122%2Fopencontainer-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleryn1122%2Fopencontainer-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e0a3ac74daf2295b47ba9698473fc1fac88ec562
[INFO] building leryn1122/opencontainer-rs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleryn1122%2Fopencontainer-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/leryn1122/opencontainer-rs
[INFO] finished tweaking git repo https://github.com/leryn1122/opencontainer-rs
[INFO] tweaked toml for git repo https://github.com/leryn1122/opencontainer-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/leryn1122/opencontainer-rs on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/leryn1122/opencontainer-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded tonic-build v0.12.3
[INFO] [stderr] Downloaded opentelemetry-appender-log v0.26.0
[INFO] [stderr] Downloaded macaddr v1.0.1
[INFO] [stderr] Downloaded opentelemetry-stdout v0.26.0
[INFO] [stderr] Downloaded ordered-float v4.4.0
[INFO] [stderr] Downloaded opentelemetry v0.26.0
[INFO] [stderr] Downloaded opentelemetry_sdk v0.26.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98da15ce57af8fd1619db2c1a6b046c3d394afbac986fc3f979bb7ab66e987c5
[INFO] running `Command { std: "docker" "start" "-a" "98da15ce57af8fd1619db2c1a6b046c3d394afbac986fc3f979bb7ab66e987c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98da15ce57af8fd1619db2c1a6b046c3d394afbac986fc3f979bb7ab66e987c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98da15ce57af8fd1619db2c1a6b046c3d394afbac986fc3f979bb7ab66e987c5", kill_on_drop: false }`
[INFO] [stdout] 98da15ce57af8fd1619db2c1a6b046c3d394afbac986fc3f979bb7ab66e987c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9ebce7b1f79319d70d42179e4bae3242b3adde6c88a03c03c8d78bca72df0a42
[INFO] running `Command { std: "docker" "start" "-a" "9ebce7b1f79319d70d42179e4bae3242b3adde6c88a03c03c8d78bca72df0a42", kill_on_drop: false }`
[INFO] [stderr] Compiling syn v2.0.79
[INFO] [stderr] Compiling anyhow v1.0.89
[INFO] [stderr] Compiling serde v1.0.210
[INFO] [stderr] Compiling rustix v0.38.37
[INFO] [stderr] Compiling log v0.4.22
[INFO] [stderr] Compiling bytes v1.7.2
[INFO] [stderr] Compiling prettyplease v0.2.22
[INFO] [stderr] Compiling bitflags v2.6.0
[INFO] [stderr] Compiling linux-raw-sys v0.4.14
[INFO] [stderr] Compiling regex-automata v0.4.8
[INFO] [stderr] Compiling fastrand v2.1.1
[INFO] [stderr] Compiling petgraph v0.6.5
[INFO] [stderr] Compiling indexmap v1.9.3
[INFO] [stderr] Compiling glob v0.3.1
[INFO] [stderr] Compiling clap_builder v4.5.20
[INFO] [stderr] Compiling sha2 v0.10.8
[INFO] [stderr] Compiling chrono v0.4.38
[INFO] [stderr] Compiling ordered-float v4.4.0
[INFO] [stderr] Compiling macaddr v1.0.1
[INFO] [stderr] Compiling liboci v0.1.0 (/opt/rustwide/workdir/crates/liboci)
[INFO] [stderr] Compiling regex v1.11.0
[INFO] [stderr] Compiling tempfile v3.13.0
[INFO] [stderr] Compiling clap v4.5.20
[INFO] [stderr] Compiling futures-macro v0.3.30
[INFO] [stderr] Compiling tokio-macros v2.4.0
[INFO] [stderr] Compiling prost-derive v0.13.3
[INFO] [stderr] Compiling serde_derive v1.0.210
[INFO] [stderr] Compiling zerocopy-derive v0.7.35
[INFO] [stderr] Compiling tracing-attributes v0.1.27
[INFO] [stderr] Compiling async-trait v0.1.83
[INFO] [stderr] Compiling thiserror-impl v1.0.64
[INFO] [stderr] Compiling pin-project-internal v1.1.5
[INFO] [stderr] Compiling async-stream-impl v0.3.6
[INFO] [stderr] Compiling clap_derive v4.5.18
[INFO] [stderr] Compiling async-stream v0.3.6
[INFO] [stderr] Compiling zerocopy v0.7.35
[INFO] [stderr] Compiling tokio v1.40.0
[INFO] [stderr] Compiling futures-util v0.3.30
[INFO] [stderr] Compiling ppv-lite86 v0.2.20
[INFO] [stderr] Compiling thiserror v1.0.64
[INFO] [stderr] Compiling tracing v0.1.40
[INFO] [stderr] Compiling opentelemetry v0.26.0
[INFO] [stderr] Compiling pin-project v1.1.5
[INFO] [stderr] Compiling rand_chacha v0.3.1
[INFO] [stderr] Compiling prost v0.13.3
[INFO] [stderr] Compiling opentelemetry-appender-log v0.26.0
[INFO] [stderr] Compiling rand v0.8.5
[INFO] [stderr] Compiling prost-types v0.13.3
[INFO] [stderr] Compiling prost-build v0.13.3
[INFO] [stderr] Compiling tonic-build v0.12.3
[INFO] [stderr] Compiling http-body-util v0.1.2
[INFO] [stderr] Compiling tower v0.5.1
[INFO] [stderr] Compiling futures-executor v0.3.30
[INFO] [stderr] Compiling axum-core v0.4.5
[INFO] [stderr] Compiling libcsi v0.1.0 (/opt/rustwide/workdir/crates/libcsi)
[INFO] [stderr] Compiling libcri v0.1.0 (/opt/rustwide/workdir/crates/libcri)
[INFO] [stderr] Compiling serde_json v1.0.128
[INFO] [stderr] Compiling ipnetwork v0.20.0
[INFO] [stderr] Compiling tokio-util v0.7.12
[INFO] [stderr] Compiling tokio-stream v0.1.16
[INFO] [stderr] Compiling support v0.1.0-202410 (/opt/rustwide/workdir/crates/support)
[INFO] [stderr] Compiling axum v0.7.7
[INFO] [stderr] Compiling h2 v0.4.6
[INFO] [stderr] Compiling tower v0.4.13
[INFO] [stderr] Compiling libcni v0.1.0-dev (/opt/rustwide/workdir/crates/libcni)
[INFO] [stderr] Compiling opentelemetry_sdk v0.26.0
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout] --> crates/libcni/src/schema/mod.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::fmt::Debug;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout] --> crates/libcni/src/schema/mod.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use std::fmt::Display;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout] --> crates/libcni/src/schema/mod.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::fmt::Formatter;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout] --> crates/libcni/src/api/config.rs:5:23
[INFO] [stdout] |
[INFO] [stdout] 5 | pub fn load_config
(path: P, executable: &str) -> CniResult<()>
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `executable`
[INFO] [stdout] --> crates/libcni/src/api/config.rs:5:32
[INFO] [stdout] |
[INFO] [stdout] 5 | pub fn load_config
(path: P, executable: &str) -> CniResult<()>
[INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executable`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout] --> crates/libcni/src/api/mod.rs:45:9
[INFO] [stdout] |
[INFO] [stdout] 45 | let path = load_env::(CNI_PATH)?.unwrap_or_default();
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout] --> crates/libcni/src/version.rs:3:22
[INFO] [stdout] |
[INFO] [stdout] 3 | pub fn check_version(version: &semver::Version, supported: Vec) -> CniResult<()> {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `supported`
[INFO] [stdout] --> crates/libcni/src/version.rs:3:49
[INFO] [stdout] |
[INFO] [stdout] 3 | pub fn check_version(version: &semver::Version, supported: Vec) -> CniResult<()> {
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_supported`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout] --> crates/libcni/src/lib.rs:32:82
[INFO] [stdout] |
[INFO] [stdout] 32 | plugin_main_entrypoint_with_error(plugin, plugin_info, build_version).map_err(|e| {});
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `netns`
[INFO] [stdout] --> crates/libcni/src/lib.rs:61:16
[INFO] [stdout] |
[INFO] [stdout] 61 | fn check_netns(netns: NetNS) -> CniResult<()> {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_netns`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `check_netns` is never used
[INFO] [stdout] --> crates/libcni/src/lib.rs:61:4
[INFO] [stdout] |
[INFO] [stdout] 61 | fn check_netns(netns: NetNS) -> CniResult<()> {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant `Status` is never constructed
[INFO] [stdout] --> crates/libcni/src/api/mod.rs:38:3
[INFO] [stdout] |
[INFO] [stdout] 34 | pub(crate) enum CniExecution {
[INFO] [stdout] | ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 38 | Status,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `exec` is never used
[INFO] [stdout] --> crates/libcni/src/api/mod.rs:82:10
[INFO] [stdout] |
[INFO] [stdout] 43 | impl CniExecution {
[INFO] [stdout] | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 | pub fn exec(&self) -> CniResult<()> {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> crates/libcni/src/lib.rs:32:3
[INFO] [stdout] |
[INFO] [stdout] 32 | plugin_main_entrypoint_with_error(plugin, plugin_info, build_version).map_err(|e| {});
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 32 | let _ = plugin_main_entrypoint_with_error(plugin, plugin_info, build_version).map_err(|e| {});
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout] --> crates/libcni/src/schema/mod.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::fmt::Debug;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout] --> crates/libcni/src/schema/mod.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use std::fmt::Display;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout] --> crates/libcni/src/schema/mod.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::fmt::Formatter;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout] --> crates/libcni/src/cnitool.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | use std::borrow::Cow;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `libcni::schema::error::CniError`
[INFO] [stdout] --> crates/libcni/src/cnitool.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 15 | use libcni::schema::error::CniError;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout] --> crates/libcni/src/api/config.rs:5:23
[INFO] [stdout] |
[INFO] [stdout] 5 | pub fn load_config(path: P, executable: &str) -> CniResult<()>
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `executable`
[INFO] [stdout] --> crates/libcni/src/api/config.rs:5:32
[INFO] [stdout] |
[INFO] [stdout] 5 | pub fn load_config
(path: P, executable: &str) -> CniResult<()>
[INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executable`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout] --> crates/libcni/src/api/mod.rs:45:9
[INFO] [stdout] |
[INFO] [stdout] 45 | let path = load_env::(CNI_PATH)?.unwrap_or_default();
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `rt`
[INFO] [stdout] --> crates/libcni/src/cnitool.rs:62:7
[INFO] [stdout] |
[INFO] [stdout] 62 | let rt = RuntimeConfig {
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: enum `CniExecution` is never used
[INFO] [stdout] --> crates/libcni/src/api/mod.rs:34:17
[INFO] [stdout] |
[INFO] [stdout] 34 | pub(crate) enum CniExecution {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `load_args_from_env` and `exec` are never used
[INFO] [stdout] --> crates/libcni/src/api/mod.rs:44:10
[INFO] [stdout] |
[INFO] [stdout] 43 | impl CniExecution {
[INFO] [stdout] | ----------------- associated items in this implementation
[INFO] [stdout] 44 | pub fn load_args_from_env() -> CniResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 | pub fn exec(&self) -> CniResult<()> {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling opentelemetry-stdout v0.26.0
[INFO] [stderr] Compiling hyper v1.4.1
[INFO] [stderr] Compiling hyper-util v0.1.9
[INFO] [stderr] Compiling hyper-timeout v0.5.1
[INFO] [stderr] Compiling tonic v0.12.3
[INFO] [stderr] Compiling local-dir-csi v0.1.0 (/opt/rustwide/workdir/examples/local-dir-csi)
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/controller.rs:76:44
[INFO] [stdout] |
[INFO] [stdout] 76 | fn validate_create_volume_request(&self, request: &CreateVolumeRequest) -> Result<(), Status> {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `volume_id`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/controller.rs:112:9
[INFO] [stdout] |
[INFO] [stdout] 112 | let volume_id = request.volume_id;
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_volume_id`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/controller.rs:160:9
[INFO] [stdout] |
[INFO] [stdout] 160 | let start = starting_token
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/node.rs:61:5
[INFO] [stdout] |
[INFO] [stdout] 61 | request: Request,
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/node.rs:68:5
[INFO] [stdout] |
[INFO] [stdout] 68 | request: Request,
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/node.rs:75:5
[INFO] [stdout] |
[INFO] [stdout] 75 | request: Request,
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/node.rs:82:5
[INFO] [stdout] |
[INFO] [stdout] 82 | request: Request,
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/node.rs:89:5
[INFO] [stdout] |
[INFO] [stdout] 89 | request: Request,
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/node.rs:109:15
[INFO] [stdout] |
[INFO] [stdout] 109 | .map(|c| NodeServiceCapability {
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout] --> examples/local-dir-csi/src/main.rs:101:19
[INFO] [stdout] |
[INFO] [stdout] 101 | .map_err(|e| clap::Error::new(clap::error::ErrorKind::InvalidUtf8).with_cmd(cmd))
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout] --> examples/local-dir-csi/src/driver/controller.rs:38:3
[INFO] [stdout] |
[INFO] [stdout] 37 | pub struct ControllerServerImpl {
[INFO] [stdout] | -------------------- field in this struct
[INFO] [stdout] 38 | name: String,
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `validate_create_volume_request` is never used
[INFO] [stdout] --> examples/local-dir-csi/src/driver/controller.rs:76:6
[INFO] [stdout] |
[INFO] [stdout] 41 | impl ControllerServerImpl {
[INFO] [stdout] | ------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 | fn validate_create_volume_request(&self, request: &CreateVolumeRequest) -> Result<(), Status> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `validate_node_service_capabilities` is never used
[INFO] [stdout] --> examples/local-dir-csi/src/driver/node.rs:41:6
[INFO] [stdout] |
[INFO] [stdout] 27 | impl NodeServerImpl {
[INFO] [stdout] | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 | fn validate_node_service_capabilities(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s
[INFO] running `Command { std: "docker" "inspect" "9ebce7b1f79319d70d42179e4bae3242b3adde6c88a03c03c8d78bca72df0a42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ebce7b1f79319d70d42179e4bae3242b3adde6c88a03c03c8d78bca72df0a42", kill_on_drop: false }`
[INFO] [stdout] 9ebce7b1f79319d70d42179e4bae3242b3adde6c88a03c03c8d78bca72df0a42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 07c2fda236c8b8d3cc8bde5af07bd2f0a7e12988177dd26b6a46330dbe144ad2
[INFO] running `Command { std: "docker" "start" "-a" "07c2fda236c8b8d3cc8bde5af07bd2f0a7e12988177dd26b6a46330dbe144ad2", kill_on_drop: false }`
[INFO] [stderr] Compiling support v0.1.0-202410 (/opt/rustwide/workdir/crates/support)
[INFO] [stderr] Compiling liboci v0.1.0 (/opt/rustwide/workdir/crates/liboci)
[INFO] [stderr] Compiling libcsi v0.1.0 (/opt/rustwide/workdir/crates/libcsi)
[INFO] [stderr] Compiling libcri v0.1.0 (/opt/rustwide/workdir/crates/libcri)
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout] --> crates/libcni/src/schema/mod.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::fmt::Debug;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout] --> crates/libcni/src/schema/mod.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use std::fmt::Display;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling libcni v0.1.0-dev (/opt/rustwide/workdir/crates/libcni)
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout] --> crates/libcni/src/schema/mod.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::fmt::Formatter;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling local-dir-csi v0.1.0 (/opt/rustwide/workdir/examples/local-dir-csi)
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout] --> crates/libcni/src/api/config.rs:5:23
[INFO] [stdout] |
[INFO] [stdout] 5 | pub fn load_config(path: P, executable: &str) -> CniResult<()>
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `executable`
[INFO] [stdout] --> crates/libcni/src/api/config.rs:5:32
[INFO] [stdout] |
[INFO] [stdout] 5 | pub fn load_config
(path: P, executable: &str) -> CniResult<()>
[INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executable`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout] --> crates/libcni/src/api/mod.rs:45:9
[INFO] [stdout] |
[INFO] [stdout] 45 | let path = load_env::(CNI_PATH)?.unwrap_or_default();
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout] --> crates/libcni/src/version.rs:3:22
[INFO] [stdout] |
[INFO] [stdout] 3 | pub fn check_version(version: &semver::Version, supported: Vec) -> CniResult<()> {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `supported`
[INFO] [stdout] --> crates/libcni/src/version.rs:3:49
[INFO] [stdout] |
[INFO] [stdout] 3 | pub fn check_version(version: &semver::Version, supported: Vec) -> CniResult<()> {
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_supported`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout] --> crates/libcni/src/lib.rs:32:82
[INFO] [stdout] |
[INFO] [stdout] 32 | plugin_main_entrypoint_with_error(plugin, plugin_info, build_version).map_err(|e| {});
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `netns`
[INFO] [stdout] --> crates/libcni/src/lib.rs:61:16
[INFO] [stdout] |
[INFO] [stdout] 61 | fn check_netns(netns: NetNS) -> CniResult<()> {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_netns`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `check_netns` is never used
[INFO] [stdout] --> crates/libcni/src/lib.rs:61:4
[INFO] [stdout] |
[INFO] [stdout] 61 | fn check_netns(netns: NetNS) -> CniResult<()> {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant `Status` is never constructed
[INFO] [stdout] --> crates/libcni/src/api/mod.rs:38:3
[INFO] [stdout] |
[INFO] [stdout] 34 | pub(crate) enum CniExecution {
[INFO] [stdout] | ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 38 | Status,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `exec` is never used
[INFO] [stdout] --> crates/libcni/src/api/mod.rs:82:10
[INFO] [stdout] |
[INFO] [stdout] 43 | impl CniExecution {
[INFO] [stdout] | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 | pub fn exec(&self) -> CniResult<()> {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> crates/libcni/src/lib.rs:32:3
[INFO] [stdout] |
[INFO] [stdout] 32 | plugin_main_entrypoint_with_error(plugin, plugin_info, build_version).map_err(|e| {});
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 32 | let _ = plugin_main_entrypoint_with_error(plugin, plugin_info, build_version).map_err(|e| {});
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout] --> crates/libcni/src/schema/mod.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::fmt::Debug;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout] --> crates/libcni/src/schema/mod.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use std::fmt::Display;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout] --> crates/libcni/src/schema/mod.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::fmt::Formatter;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout] --> crates/libcni/src/api/config.rs:5:23
[INFO] [stdout] |
[INFO] [stdout] 5 | pub fn load_config(path: P, executable: &str) -> CniResult<()>
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `executable`
[INFO] [stdout] --> crates/libcni/src/api/config.rs:5:32
[INFO] [stdout] |
[INFO] [stdout] 5 | pub fn load_config
(path: P, executable: &str) -> CniResult<()>
[INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executable`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout] --> crates/libcni/src/api/mod.rs:45:9
[INFO] [stdout] |
[INFO] [stdout] 45 | let path = load_env::(CNI_PATH)?.unwrap_or_default();
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/controller.rs:76:44
[INFO] [stdout] |
[INFO] [stdout] 76 | fn validate_create_volume_request(&self, request: &CreateVolumeRequest) -> Result<(), Status> {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `volume_id`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/controller.rs:112:9
[INFO] [stdout] |
[INFO] [stdout] 112 | let volume_id = request.volume_id;
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_volume_id`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/controller.rs:160:9
[INFO] [stdout] |
[INFO] [stdout] 160 | let start = starting_token
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/node.rs:61:5
[INFO] [stdout] |
[INFO] [stdout] 61 | request: Request,
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/node.rs:68:5
[INFO] [stdout] |
[INFO] [stdout] 68 | request: Request,
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/node.rs:75:5
[INFO] [stdout] |
[INFO] [stdout] 75 | request: Request,
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/node.rs:82:5
[INFO] [stdout] |
[INFO] [stdout] 82 | request: Request,
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/node.rs:89:5
[INFO] [stdout] |
[INFO] [stdout] 89 | request: Request,
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout] --> examples/local-dir-csi/src/driver/node.rs:109:15
[INFO] [stdout] |
[INFO] [stdout] 109 | .map(|c| NodeServiceCapability {
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout] --> examples/local-dir-csi/src/main.rs:101:19
[INFO] [stdout] |
[INFO] [stdout] 101 | .map_err(|e| clap::Error::new(clap::error::ErrorKind::InvalidUtf8).with_cmd(cmd))
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout] --> examples/local-dir-csi/src/driver/controller.rs:38:3
[INFO] [stdout] |
[INFO] [stdout] 37 | pub struct ControllerServerImpl {
[INFO] [stdout] | -------------------- field in this struct
[INFO] [stdout] 38 | name: String,
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `validate_create_volume_request` is never used
[INFO] [stdout] --> examples/local-dir-csi/src/driver/controller.rs:76:6
[INFO] [stdout] |
[INFO] [stdout] 41 | impl ControllerServerImpl {
[INFO] [stdout] | ------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 76 | fn validate_create_volume_request(&self, request: &CreateVolumeRequest) -> Result<(), Status> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `validate_node_service_capabilities` is never used
[INFO] [stdout] --> examples/local-dir-csi/src/driver/node.rs:41:6
[INFO] [stdout] |
[INFO] [stdout] 27 | impl NodeServerImpl {
[INFO] [stdout] | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 | fn validate_node_service_capabilities(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fmt::Debug`
[INFO] [stdout] --> crates/libcni/src/schema/mod.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::fmt::Debug;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fmt::Display`
[INFO] [stdout] --> crates/libcni/src/schema/mod.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use std::fmt::Display;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::fmt::Formatter`
[INFO] [stdout] --> crates/libcni/src/schema/mod.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::fmt::Formatter;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::borrow::Cow`
[INFO] [stdout] --> crates/libcni/src/cnitool.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | use std::borrow::Cow;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `libcni::schema::error::CniError`
[INFO] [stdout] --> crates/libcni/src/cnitool.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 15 | use libcni::schema::error::CniError;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout] --> crates/libcni/src/version.rs:3:22
[INFO] [stdout] |
[INFO] [stdout] 3 | pub fn check_version(version: &semver::Version, supported: Vec) -> CniResult<()> {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `supported`
[INFO] [stdout] --> crates/libcni/src/version.rs:3:49
[INFO] [stdout] |
[INFO] [stdout] 3 | pub fn check_version(version: &semver::Version, supported: Vec) -> CniResult<()> {
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_supported`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout] --> crates/libcni/src/lib.rs:32:82
[INFO] [stdout] |
[INFO] [stdout] 32 | plugin_main_entrypoint_with_error(plugin, plugin_info, build_version).map_err(|e| {});
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `netns`
[INFO] [stdout] --> crates/libcni/src/lib.rs:61:16
[INFO] [stdout] |
[INFO] [stdout] 61 | fn check_netns(netns: NetNS) -> CniResult<()> {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_netns`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `check_netns` is never used
[INFO] [stdout] --> crates/libcni/src/lib.rs:61:4
[INFO] [stdout] |
[INFO] [stdout] 61 | fn check_netns(netns: NetNS) -> CniResult<()> {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant `Status` is never constructed
[INFO] [stdout] --> crates/libcni/src/api/mod.rs:38:3
[INFO] [stdout] |
[INFO] [stdout] 34 | pub(crate) enum CniExecution {
[INFO] [stdout] | ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 38 | Status,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `exec` is never used
[INFO] [stdout] --> crates/libcni/src/api/mod.rs:82:10
[INFO] [stdout] |
[INFO] [stdout] 43 | impl CniExecution {
[INFO] [stdout] | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 82 | pub fn exec(&self) -> CniResult<()> {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout] --> crates/libcni/src/lib.rs:32:3
[INFO] [stdout] |
[INFO] [stdout] 32 | plugin_main_entrypoint_with_error(plugin, plugin_info, build_version).map_err(|e| {});
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 32 | let _ = plugin_main_entrypoint_with_error(plugin, plugin_info, build_version).map_err(|e| {});
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout] --> crates/libcni/src/api/config.rs:5:23
[INFO] [stdout] |
[INFO] [stdout] 5 | pub fn load_config(path: P, executable: &str) -> CniResult<()>
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `executable`
[INFO] [stdout] --> crates/libcni/src/api/config.rs:5:32
[INFO] [stdout] |
[INFO] [stdout] 5 | pub fn load_config
(path: P, executable: &str) -> CniResult<()>
[INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executable`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout] --> crates/libcni/src/api/mod.rs:45:9
[INFO] [stdout] |
[INFO] [stdout] 45 | let path = load_env::(CNI_PATH)?.unwrap_or_default();
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `rt`
[INFO] [stdout] --> crates/libcni/src/cnitool.rs:62:7
[INFO] [stdout] |
[INFO] [stdout] 62 | let rt = RuntimeConfig {
[INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: enum `CniExecution` is never used
[INFO] [stdout] --> crates/libcni/src/api/mod.rs:34:17
[INFO] [stdout] |
[INFO] [stdout] 34 | pub(crate) enum CniExecution {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `load_args_from_env` and `exec` are never used
[INFO] [stdout] --> crates/libcni/src/api/mod.rs:44:10
[INFO] [stdout] |
[INFO] [stdout] 43 | impl CniExecution {
[INFO] [stdout] | ----------------- associated items in this implementation
[INFO] [stdout] 44 | pub fn load_args_from_env() -> CniResult {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 | pub fn exec(&self) -> CniResult<()> {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.52s
[INFO] running `Command { std: "docker" "inspect" "07c2fda236c8b8d3cc8bde5af07bd2f0a7e12988177dd26b6a46330dbe144ad2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07c2fda236c8b8d3cc8bde5af07bd2f0a7e12988177dd26b6a46330dbe144ad2", kill_on_drop: false }`
[INFO] [stdout] 07c2fda236c8b8d3cc8bde5af07bd2f0a7e12988177dd26b6a46330dbe144ad2