[INFO] cloning repository https://github.com/hakomori64/drbac [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hakomori64/drbac" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhakomori64%2Fdrbac", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhakomori64%2Fdrbac'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d0eba5d89d153569ab7f30912d459b2a2dff3b5 [INFO] checking hakomori64/drbac against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhakomori64%2Fdrbac" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 63% (682/1074) Updating files: 64% (688/1074) Updating files: 65% (699/1074) Updating files: 66% (709/1074) Updating files: 67% (720/1074) Updating files: 68% (731/1074) Updating files: 69% (742/1074) Updating files: 70% (752/1074) Updating files: 71% (763/1074) Updating files: 72% (774/1074) Updating files: 73% (785/1074) Updating files: 74% (795/1074) Updating files: 75% (806/1074) Updating files: 76% (817/1074) Updating files: 77% (827/1074) Updating files: 78% (838/1074) Updating files: 79% (849/1074) Updating files: 80% (860/1074) Updating files: 81% (870/1074) Updating files: 82% (881/1074) Updating files: 83% (892/1074) Updating files: 84% (903/1074) Updating files: 85% (913/1074) Updating files: 86% (924/1074) Updating files: 87% (935/1074) Updating files: 88% (946/1074) Updating files: 89% (956/1074) Updating files: 90% (967/1074) Updating files: 91% (978/1074) Updating files: 92% (989/1074) Updating files: 93% (999/1074) Updating files: 94% (1010/1074) Updating files: 95% (1021/1074) Updating files: 96% (1032/1074) Updating files: 97% (1042/1074) Updating files: 97% (1046/1074) Updating files: 98% (1053/1074) Updating files: 99% (1064/1074) Updating files: 100% (1074/1074) Updating files: 100% (1074/1074), done. [INFO] validating manifest of git repo https://github.com/hakomori64/drbac on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hakomori64/drbac [INFO] finished tweaking git repo https://github.com/hakomori64/drbac [INFO] tweaked toml for git repo https://github.com/hakomori64/drbac written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hakomori64/drbac 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded command-run v1.0.2 [INFO] [stderr] Downloaded libmount v0.1.15 [INFO] [stderr] Downloaded docker-command v1.0.1 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d6a329286ebb8c91ac217d5612108ed10066108f7ae2a532dc8ab228dc2f62b [INFO] running `Command { std: "docker" "start" "-a" "0d6a329286ebb8c91ac217d5612108ed10066108f7ae2a532dc8ab228dc2f62b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d6a329286ebb8c91ac217d5612108ed10066108f7ae2a532dc8ab228dc2f62b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d6a329286ebb8c91ac217d5612108ed10066108f7ae2a532dc8ab228dc2f62b", kill_on_drop: false }` [INFO] [stdout] 0d6a329286ebb8c91ac217d5612108ed10066108f7ae2a532dc8ab228dc2f62b [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c403f615f1e1a88885ed91ec3eae7c810fb6d21d49e3a0afa74635c4a34bbeb [INFO] running `Command { std: "docker" "start" "-a" "1c403f615f1e1a88885ed91ec3eae7c810fb6d21d49e3a0afa74635c4a34bbeb", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling libsqlite3-sys v0.9.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling names v0.12.0 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ed25519 v1.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking ghash v0.4.4 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking aes-gcm v0.9.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking nix v0.23.0 [INFO] [stderr] Compiling load-dotenv v0.1.2 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Checking command-run v1.0.2 [INFO] [stderr] Checking shell v0.1.0 (/opt/rustwide/workdir/shell) [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking docker-command v1.0.1 [INFO] [stderr] Checking libmount v0.1.15 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling strum_macros v0.22.0 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking strum v0.22.0 [INFO] [stderr] Checking x25519-dalek v1.1.1 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking handlebars v3.5.5 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking common v0.2.0 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> common/src/jail.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_user_by_name` [INFO] [stdout] --> common/src/jail.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | get_user_by_name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> common/src/jail.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_user_by_name` [INFO] [stdout] --> common/src/jail.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | get_user_by_name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | mp.insert("role_name", role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:31:68 [INFO] [stdout] | [INFO] [stdout] 31 | let mut file = File::create(format!("roles/{}/{}.te", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:31:87 [INFO] [stdout] | [INFO] [stdout] 31 | let mut file = File::create(format!("roles/{}/{}.te", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:45:68 [INFO] [stdout] | [INFO] [stdout] 45 | let mut file = File::create(format!("roles/{}/{}.fc", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:45:87 [INFO] [stdout] | [INFO] [stdout] 45 | let mut file = File::create(format!("roles/{}/{}.fc", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:51:72 [INFO] [stdout] | [INFO] [stdout] 51 | std::fs::copy("roles/base_binary", format!("roles/{}/{}", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:51:91 [INFO] [stdout] | [INFO] [stdout] 51 | std::fs::copy("roles/base_binary", format!("roles/{}/{}", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:86 [INFO] [stdout] | [INFO] [stdout] 67 | ...role_name.clone(), role_name.clone(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:105 [INFO] [stdout] | [INFO] [stdout] 67 | ...role_name.clone(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:124 [INFO] [stdout] | [INFO] [stdout] 67 | ...role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:68:57 [INFO] [stdout] | [INFO] [stdout] 68 | println!("cd {}/roles/{}", path.display(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | println!("semodule -i {}.pp", role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | mp.insert("role_name", role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:31:68 [INFO] [stdout] | [INFO] [stdout] 31 | let mut file = File::create(format!("roles/{}/{}.te", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:31:87 [INFO] [stdout] | [INFO] [stdout] 31 | let mut file = File::create(format!("roles/{}/{}.te", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:45:68 [INFO] [stdout] | [INFO] [stdout] 45 | let mut file = File::create(format!("roles/{}/{}.fc", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:45:87 [INFO] [stdout] | [INFO] [stdout] 45 | let mut file = File::create(format!("roles/{}/{}.fc", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:51:72 [INFO] [stdout] | [INFO] [stdout] 51 | std::fs::copy("roles/base_binary", format!("roles/{}/{}", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:51:91 [INFO] [stdout] | [INFO] [stdout] 51 | std::fs::copy("roles/base_binary", format!("roles/{}/{}", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:86 [INFO] [stdout] | [INFO] [stdout] 67 | ...role_name.clone(), role_name.clone(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:105 [INFO] [stdout] | [INFO] [stdout] 67 | ...role_name.clone(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:124 [INFO] [stdout] | [INFO] [stdout] 67 | ...role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:68:57 [INFO] [stdout] | [INFO] [stdout] 68 | println!("cd {}/roles/{}", path.display(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | println!("semodule -i {}.pp", role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ca v0.1.0 (/opt/rustwide/workdir/ca) [INFO] [stderr] Checking entity v0.1.0 (/opt/rustwide/workdir/entity) [INFO] [stderr] Checking central v0.1.0 (/opt/rustwide/workdir/central) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.90s [INFO] running `Command { std: "docker" "inspect" "1c403f615f1e1a88885ed91ec3eae7c810fb6d21d49e3a0afa74635c4a34bbeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c403f615f1e1a88885ed91ec3eae7c810fb6d21d49e3a0afa74635c4a34bbeb", kill_on_drop: false }` [INFO] [stdout] 1c403f615f1e1a88885ed91ec3eae7c810fb6d21d49e3a0afa74635c4a34bbeb [INFO] checking hakomori64/drbac against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhakomori64%2Fdrbac" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 96% (1038/1074) Updating files: 97% (1042/1074) Updating files: 98% (1053/1074) Updating files: 99% (1064/1074) Updating files: 100% (1074/1074) Updating files: 100% (1074/1074), done. [INFO] validating manifest of git repo https://github.com/hakomori64/drbac on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hakomori64/drbac [INFO] finished tweaking git repo https://github.com/hakomori64/drbac [INFO] tweaked toml for git repo https://github.com/hakomori64/drbac written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hakomori64/drbac 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c6ddf62f515284908d0d009b5630300bdea9e35bc5dd12dce7131144752c182 [INFO] running `Command { std: "docker" "start" "-a" "2c6ddf62f515284908d0d009b5630300bdea9e35bc5dd12dce7131144752c182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c6ddf62f515284908d0d009b5630300bdea9e35bc5dd12dce7131144752c182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c6ddf62f515284908d0d009b5630300bdea9e35bc5dd12dce7131144752c182", kill_on_drop: false }` [INFO] [stdout] 2c6ddf62f515284908d0d009b5630300bdea9e35bc5dd12dce7131144752c182 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15e6fa464af9b281e3218ab2d29d2ee8c30fa1809270c9f089c71ef0e7b07d1c [INFO] running `Command { std: "docker" "start" "-a" "15e6fa464af9b281e3218ab2d29d2ee8c30fa1809270c9f089c71ef0e7b07d1c", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libsqlite3-sys v0.9.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling names v0.12.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Checking ed25519 v1.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking ghash v0.4.4 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking aes-gcm v0.9.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking nix v0.23.0 [INFO] [stderr] Compiling load-dotenv v0.1.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Checking command-run v1.0.2 [INFO] [stderr] Checking docker-command v1.0.1 [INFO] [stderr] Checking shell v0.1.0 (/opt/rustwide/workdir/shell) [INFO] [stderr] Checking libmount v0.1.15 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling strum_macros v0.22.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking strum v0.22.0 [INFO] [stderr] Checking x25519-dalek v1.1.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking handlebars v3.5.5 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking common v0.2.0 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> common/src/jail.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_user_by_name` [INFO] [stdout] --> common/src/jail.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | get_user_by_name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> common/src/jail.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_user_by_name` [INFO] [stdout] --> common/src/jail.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | get_user_by_name, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/encoding.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn struct_to_vec(data: T) -> Result> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | match serde_json::to_string(&data) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/messages.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/messages.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/messages.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/pki.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | public_key.verify(message, &signature).map_err(|_| anyhow!("verification failed")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/pki.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | Deserialize, [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/db/models/actor.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/encoding.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn struct_to_vec(data: T) -> Result> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | match serde_json::to_string(&data) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/messages.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/messages.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/thread_pool.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 78 | fn new(id: usize, receiver: Arc>>) -> Worker { [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | let thread = thread::spawn(move || loop { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | thread: Some(thread), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/policy.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | let handlebars = Handlebars::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | handlebars.render_template(include_str!("templates/te.hbs"), data) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/messages.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Debug, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/policy.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | let handlebars = Handlebars::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | handlebars.render_template(include_str!("templates/fc.hbs"), data) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | mp.insert("role_name", role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:31:68 [INFO] [stdout] | [INFO] [stdout] 31 | let mut file = File::create(format!("roles/{}/{}.te", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:31:87 [INFO] [stdout] | [INFO] [stdout] 31 | let mut file = File::create(format!("roles/{}/{}.te", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:45:68 [INFO] [stdout] | [INFO] [stdout] 45 | let mut file = File::create(format!("roles/{}/{}.fc", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:45:87 [INFO] [stdout] | [INFO] [stdout] 45 | let mut file = File::create(format!("roles/{}/{}.fc", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/pki.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | public_key.verify(message, &signature).map_err(|_| anyhow!("verification failed")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:51:72 [INFO] [stdout] | [INFO] [stdout] 51 | std::fs::copy("roles/base_binary", format!("roles/{}/{}", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:51:91 [INFO] [stdout] | [INFO] [stdout] 51 | std::fs::copy("roles/base_binary", format!("roles/{}/{}", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/pki.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | Deserialize, [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:86 [INFO] [stdout] | [INFO] [stdout] 67 | ...role_name.clone(), role_name.clone(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:105 [INFO] [stdout] | [INFO] [stdout] 67 | ...role_name.clone(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:124 [INFO] [stdout] | [INFO] [stdout] 67 | ...role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:68:57 [INFO] [stdout] | [INFO] [stdout] 68 | println!("cd {}/roles/{}", path.display(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | println!("semodule -i {}.pp", role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/db/models/actor.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/thread_pool.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 78 | fn new(id: usize, receiver: Arc>>) -> Worker { [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | let thread = thread::spawn(move || loop { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | thread: Some(thread), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/policy.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | let handlebars = Handlebars::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | handlebars.render_template(include_str!("templates/te.hbs"), data) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> common/src/policy.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | let handlebars = Handlebars::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | handlebars.render_template(include_str!("templates/fc.hbs"), data) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | mp.insert("role_name", role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:31:68 [INFO] [stdout] | [INFO] [stdout] 31 | let mut file = File::create(format!("roles/{}/{}.te", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:31:87 [INFO] [stdout] | [INFO] [stdout] 31 | let mut file = File::create(format!("roles/{}/{}.te", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:45:68 [INFO] [stdout] | [INFO] [stdout] 45 | let mut file = File::create(format!("roles/{}/{}.fc", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:45:87 [INFO] [stdout] | [INFO] [stdout] 45 | let mut file = File::create(format!("roles/{}/{}.fc", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:51:72 [INFO] [stdout] | [INFO] [stdout] 51 | std::fs::copy("roles/base_binary", format!("roles/{}/{}", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:51:91 [INFO] [stdout] | [INFO] [stdout] 51 | std::fs::copy("roles/base_binary", format!("roles/{}/{}", role_name.clone(), role_name.clone()))?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:86 [INFO] [stdout] | [INFO] [stdout] 67 | ...role_name.clone(), role_name.clone(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:105 [INFO] [stdout] | [INFO] [stdout] 67 | ...role_name.clone(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:67:124 [INFO] [stdout] | [INFO] [stdout] 67 | ...role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:68:57 [INFO] [stdout] | [INFO] [stdout] 68 | println!("cd {}/roles/{}", path.display(), role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> common/src/policy.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | println!("semodule -i {}.pp", role_name.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `common` (lib test) due to 11 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `common` (lib) due to 11 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "15e6fa464af9b281e3218ab2d29d2ee8c30fa1809270c9f089c71ef0e7b07d1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15e6fa464af9b281e3218ab2d29d2ee8c30fa1809270c9f089c71ef0e7b07d1c", kill_on_drop: false }` [INFO] [stdout] 15e6fa464af9b281e3218ab2d29d2ee8c30fa1809270c9f089c71ef0e7b07d1c