[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] testing hakomori64/drbac against master#d7bd9cd469ff6871420007f091ef52fc32d2ca99 for pr-121417 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhakomori64%2Fdrbac" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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 d7bd9cd469ff6871420007f091ef52fc32d2ca99 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "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-7-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "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 names v0.12.0 [INFO] [stderr] Downloaded load-dotenv v0.1.2 [INFO] [stderr] Downloaded command-run v1.0.2 [INFO] [stderr] Downloaded pem v0.8.3 [INFO] [stderr] Downloaded users v0.11.0 [INFO] [stderr] Downloaded docker-command v1.0.1 [INFO] [stderr] Downloaded nix v0.23.0 [INFO] [stderr] Downloaded os_pipe v0.9.2 [INFO] [stderr] Downloaded libsqlite3-sys v0.9.3 [INFO] [stderr] Downloaded libmount v0.1.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d27c7f04664e6e8d19d9f6659b998e87b5d882977621fbc262581ad0720caf0 [INFO] running `Command { std: "docker" "start" "-a" "6d27c7f04664e6e8d19d9f6659b998e87b5d882977621fbc262581ad0720caf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d27c7f04664e6e8d19d9f6659b998e87b5d882977621fbc262581ad0720caf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d27c7f04664e6e8d19d9f6659b998e87b5d882977621fbc262581ad0720caf0", kill_on_drop: false }` [INFO] [stdout] 6d27c7f04664e6e8d19d9f6659b998e87b5d882977621fbc262581ad0720caf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14bd9009b414ff9ff9ce81914e34991d7b9cb1e4fff9bcb72e7e5ab551dd1e36 [INFO] running `Command { std: "docker" "start" "-a" "14bd9009b414ff9ff9ce81914e34991d7b9cb1e4fff9bcb72e7e5ab551dd1e36", 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] Compiling libc v0.2.109 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cpufeatures v0.2.1 [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 pest v2.1.3 [INFO] [stderr] Compiling libsqlite3-sys v0.9.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling names v0.12.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling ed25519 v1.2.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling users v0.11.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling load-dotenv v0.1.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling libmount v0.1.15 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling nix v0.23.0 [INFO] [stderr] Compiling os_pipe v0.9.2 [INFO] [stderr] Compiling command-run v1.0.2 [INFO] [stderr] Compiling shell v0.1.0 (/opt/rustwide/workdir/shell) [INFO] [stderr] Compiling docker-command v1.0.1 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling strum_macros v0.22.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling x25519-dalek v1.1.1 [INFO] [stderr] Compiling strum v0.22.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling handlebars v3.5.5 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling common v0.2.0 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> common/src/encoding.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> common/src/pki.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use base64; [INFO] [stdout] | ^^^^^^ the item `base64` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/entity.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/role.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/delegation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RunQueryDsl` is imported redundantly [INFO] [stdout] --> common/src/db/models/delegation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `RunQueryDsl` is already imported here [INFO] [stdout] 3 | use diesel::RunQueryDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `QueryDsl` is imported redundantly [INFO] [stdout] --> common/src/db/models/delegation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `QueryDsl` is already imported here [INFO] [stdout] 3 | use diesel::RunQueryDsl; [INFO] [stdout] 4 | use diesel::QueryDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/entity_central_relation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> common/src/handlers/server/crypto_channel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use base64; [INFO] [stdout] | ^^^^^^ the item `base64` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> common/src/handlers/client/crypto_channel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use base64; [INFO] [stdout] | ^^^^^^ the item `base64` is already defined here [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] [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] [stderr] Compiling ca v0.1.0 (/opt/rustwide/workdir/ca) [INFO] [stderr] Compiling entity v0.1.0 (/opt/rustwide/workdir/entity) [INFO] [stderr] Compiling central v0.1.0 (/opt/rustwide/workdir/central) [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcPXKhq0/symbols.o" "/opt/rustwide/target/debug/deps/client-6df78999bc56ec30.client.4e44f4dd21b859d0-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/client-6df78999bc56ec30.1w5lrziu3tcu9i3v.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/libsqlite3-sys-6b5ec9aecbd457d2/out" "-L" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libentity-464c6495da6c64e4.rlib" "/opt/rustwide/target/debug/deps/libcommon-4b1211d10cf9ed6a.rlib" "/opt/rustwide/target/debug/deps/liblibmount-2eef3e59efaa61c8.rlib" "/opt/rustwide/target/debug/deps/libquick_error-2d49113a505254dd.rlib" "/opt/rustwide/target/debug/deps/libnix-1740b46e8e7403ec.rlib" "/opt/rustwide/target/debug/deps/libvoid-6ec24f4dc2b90f33.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-c6e6d9912bc66f08.rlib" "/opt/rustwide/target/debug/deps/libhandlebars-aafe905b4ad1bd93.rlib" "/opt/rustwide/target/debug/deps/libpest-fee95d413df82409.rlib" "/opt/rustwide/target/debug/deps/libucd_trie-66fd78e2ce7e5741.rlib" "/opt/rustwide/target/debug/deps/libquick_error-972037c55563ff3d.rlib" "/opt/rustwide/target/debug/deps/libusers-8957ee820a726c8b.rlib" "/opt/rustwide/target/debug/deps/liblog-405bdafa0d875610.rlib" "/opt/rustwide/target/debug/deps/libx25519_dalek-832257f8136b69bf.rlib" "/opt/rustwide/target/debug/deps/libuuid-ed1dfc61db18d388.rlib" "/opt/rustwide/target/debug/deps/libed25519_dalek-068dedf8861fbb36.rlib" "/opt/rustwide/target/debug/deps/libsha2-406f58fe3f6a7fc5.rlib" "/opt/rustwide/target/debug/deps/libblock_buffer-9366c62b9ebfa966.rlib" "/opt/rustwide/target/debug/deps/librand-1f3c03f82af1d837.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-55474b299d66aa37.rlib" "/opt/rustwide/target/debug/deps/libcurve25519_dalek-bfae6e1f5b28dcde.rlib" "/opt/rustwide/target/debug/deps/libzeroize-4b61024bc5b1292f.rlib" "/opt/rustwide/target/debug/deps/libdigest-909857bc7cdede76.rlib" "/opt/rustwide/target/debug/deps/libed25519-0ecd047ac1a60721.rlib" "/opt/rustwide/target/debug/deps/libsignature-dcf6b07e20467cfe.rlib" "/opt/rustwide/target/debug/deps/librand_core-20dc80db71ad4949.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-1984864c8153ee0a.rlib" "/opt/rustwide/target/debug/deps/libpem-5aa49c04ba3b5ff9.rlib" "/opt/rustwide/target/debug/deps/libbase64-70ad20caa2b11358.rlib" "/opt/rustwide/target/debug/deps/libregex-6f7d7ed71cce08ec.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-a5f9e74f9a0a4828.rlib" "/opt/rustwide/target/debug/deps/libmemchr-5bb1e7ca77e59bdd.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-353fbae1a841f85a.rlib" "/opt/rustwide/target/debug/deps/libonce_cell-549db65b1a2041d4.rlib" "/opt/rustwide/target/debug/deps/libaes_gcm-299690e578e57628.rlib" "/opt/rustwide/target/debug/deps/libghash-8a6f65f4f07deb48.rlib" "/opt/rustwide/target/debug/deps/libpolyval-46898570d9c89496.rlib" "/opt/rustwide/target/debug/deps/libuniversal_hash-cbb0cbf69fcf9034.rlib" "/opt/rustwide/target/debug/deps/libsubtle-1e7c9d47d33d073d.rlib" "/opt/rustwide/target/debug/deps/libctr-e2b7b999f4248d52.rlib" "/opt/rustwide/target/debug/deps/libaes-cf539528052de99b.rlib" "/opt/rustwide/target/debug/deps/libcpufeatures-b05051255aac7d90.rlib" "/opt/rustwide/target/debug/deps/libopaque_debug-a639e5b4b501fe11.rlib" "/opt/rustwide/target/debug/deps/libcipher-6ec9d0649d404cbe.rlib" "/opt/rustwide/target/debug/deps/libaead-f05028142a98a5d5.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-3e8c5462a40a08c5.rlib" "/opt/rustwide/target/debug/deps/libtypenum-83889116bb6ffe8a.rlib" "/opt/rustwide/target/debug/deps/libserde_json-d94271d65a840005.rlib" "/opt/rustwide/target/debug/deps/libryu-a9d03167471ca5ef.rlib" "/opt/rustwide/target/debug/deps/libitoa-949b2af86df48b64.rlib" "/opt/rustwide/target/debug/deps/libserde-cefac5ae6081d588.rlib" "/opt/rustwide/target/debug/deps/libanyhow-14498f7f9bf89e88.rlib" "/opt/rustwide/target/debug/deps/libnix-a93c9f72672b956b.rlib" "/opt/rustwide/target/debug/deps/libbitflags-560efdb99b117eef.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-2d5d7f4358e2a6cd.rlib" "/opt/rustwide/target/debug/deps/libtempfile-b94b7b08fe2f0e63.rlib" "/opt/rustwide/target/debug/deps/librand-7c45dd440212c27d.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-0b82d0124b5da637.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-a9b36edfe4d694a8.rlib" "/opt/rustwide/target/debug/deps/librand_core-c43e18d9cbc2cdda.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-3aa202ae455d3a9a.rlib" "/opt/rustwide/target/debug/deps/liblibc-cb30009f67a0b5fd.rlib" "/opt/rustwide/target/debug/deps/libremove_dir_all-bfc75ec09beed3e1.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-0128a598f57c42f0.rlib" "/opt/rustwide/target/debug/deps/libdiesel-2adf0f15a2aac533.rlib" "/opt/rustwide/target/debug/deps/liblibsqlite3_sys-7d721e38d49fd8c5.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-13319a8ad922f345.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-41777efa78699460.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-c112ec61d40d65ca.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-20279e89ddf4a3cc.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-04ebab3d6657d9b7.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-43ee38a2c180d260.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-d8bc9f4e15c9d54f.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e6b80df35ce800f7.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e1bb29bdfec551bd.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-7d60d25f346b95e2.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-f568bda7d014913a.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-a759d15c36457a02.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-dd7d06242b5022a0.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-f4343bfa39e809a4.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-af1cb76e71c5600e.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8c4c4e24ed6290fa.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-58f5eb9eff701be9.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-9686387289eaa322.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-632ae0f28c5e55ff.rlib" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-b7903030bc1640bf.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/d7bd9cd469ff6871420007f091ef52fc32d2ca99/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/client-6df78999bc56ec30" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `entity` (bin "client") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "14bd9009b414ff9ff9ce81914e34991d7b9cb1e4fff9bcb72e7e5ab551dd1e36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14bd9009b414ff9ff9ce81914e34991d7b9cb1e4fff9bcb72e7e5ab551dd1e36", kill_on_drop: false }` [INFO] [stdout] 14bd9009b414ff9ff9ce81914e34991d7b9cb1e4fff9bcb72e7e5ab551dd1e36 [INFO] testing hakomori64/drbac against try#393ef12c970fbc7f294cd96c35cb76f9591bc1d6 for pr-121417 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhakomori64%2Fdrbac" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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 393ef12c970fbc7f294cd96c35cb76f9591bc1d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "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-7-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" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51a411d6c7d1bba8314187612cbb96a2aec42464eb8c885e84d02c0994ca6400 [INFO] running `Command { std: "docker" "start" "-a" "51a411d6c7d1bba8314187612cbb96a2aec42464eb8c885e84d02c0994ca6400", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51a411d6c7d1bba8314187612cbb96a2aec42464eb8c885e84d02c0994ca6400", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a411d6c7d1bba8314187612cbb96a2aec42464eb8c885e84d02c0994ca6400", kill_on_drop: false }` [INFO] [stdout] 51a411d6c7d1bba8314187612cbb96a2aec42464eb8c885e84d02c0994ca6400 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78aa0e02142836719f664dbdd3f63162d70867416d17026848f73c7839abe6b1 [INFO] running `Command { std: "docker" "start" "-a" "78aa0e02142836719f664dbdd3f63162d70867416d17026848f73c7839abe6b1", 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] Compiling libc v0.2.109 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling libsqlite3-sys v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling signature v1.3.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling names v0.12.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ed25519 v1.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling users v0.11.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling libmount v0.1.15 [INFO] [stderr] Compiling load-dotenv v0.1.2 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling nix v0.23.0 [INFO] [stderr] Compiling os_pipe v0.9.2 [INFO] [stderr] Compiling command-run v1.0.2 [INFO] [stderr] Compiling shell v0.1.0 (/opt/rustwide/workdir/shell) [INFO] [stderr] Compiling docker-command v1.0.1 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling strum_macros v0.22.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling strum v0.22.0 [INFO] [stderr] Compiling x25519-dalek v1.1.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling handlebars v3.5.5 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Compiling diesel_migrations v1.4.0 [INFO] [stderr] Compiling common v0.2.0 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> common/src/encoding.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> common/src/pki.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use base64; [INFO] [stdout] | ^^^^^^ the item `base64` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/entity.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/role.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/delegation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RunQueryDsl` is imported redundantly [INFO] [stdout] --> common/src/db/models/delegation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `RunQueryDsl` is already imported here [INFO] [stdout] 3 | use diesel::RunQueryDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `QueryDsl` is imported redundantly [INFO] [stdout] --> common/src/db/models/delegation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `QueryDsl` is already imported here [INFO] [stdout] 3 | use diesel::RunQueryDsl; [INFO] [stdout] 4 | use diesel::QueryDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/entity_central_relation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> common/src/handlers/server/crypto_channel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use base64; [INFO] [stdout] | ^^^^^^ the item `base64` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> common/src/handlers/client/crypto_channel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use base64; [INFO] [stdout] | ^^^^^^ the item `base64` is already defined here [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] [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] [stderr] Compiling ca v0.1.0 (/opt/rustwide/workdir/ca) [INFO] [stderr] Compiling entity v0.1.0 (/opt/rustwide/workdir/entity) [INFO] [stderr] Compiling central v0.1.0 (/opt/rustwide/workdir/central) [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.86s [INFO] running `Command { std: "docker" "inspect" "78aa0e02142836719f664dbdd3f63162d70867416d17026848f73c7839abe6b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78aa0e02142836719f664dbdd3f63162d70867416d17026848f73c7839abe6b1", kill_on_drop: false }` [INFO] [stdout] 78aa0e02142836719f664dbdd3f63162d70867416d17026848f73c7839abe6b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d981cb0d61348629229313e32ed816ab48bf6e630699982cccac282c78816a1 [INFO] running `Command { std: "docker" "start" "-a" "5d981cb0d61348629229313e32ed816ab48bf6e630699982cccac282c78816a1", 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 shell v0.1.0 (/opt/rustwide/workdir/shell) [INFO] [stderr] Compiling common v0.2.0 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> common/src/encoding.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> common/src/pki.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use base64; [INFO] [stdout] | ^^^^^^ the item `base64` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/entity.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/role.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/delegation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RunQueryDsl` is imported redundantly [INFO] [stdout] --> common/src/db/models/delegation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `RunQueryDsl` is already imported here [INFO] [stdout] 3 | use diesel::RunQueryDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `QueryDsl` is imported redundantly [INFO] [stdout] --> common/src/db/models/delegation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `QueryDsl` is already imported here [INFO] [stdout] 3 | use diesel::RunQueryDsl; [INFO] [stdout] 4 | use diesel::QueryDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/entity_central_relation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> common/src/handlers/server/crypto_channel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use base64; [INFO] [stdout] | ^^^^^^ the item `base64` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> common/src/handlers/client/crypto_channel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use base64; [INFO] [stdout] | ^^^^^^ the item `base64` is already defined here [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] [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: the item `serde_json` is imported redundantly [INFO] [stdout] --> common/src/encoding.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> common/src/pki.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use base64; [INFO] [stdout] | ^^^^^^ the item `base64` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/entity.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/role.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/user.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/delegation.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `RunQueryDsl` is imported redundantly [INFO] [stdout] --> common/src/db/models/delegation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `RunQueryDsl` is already imported here [INFO] [stdout] 3 | use diesel::RunQueryDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `QueryDsl` is imported redundantly [INFO] [stdout] --> common/src/db/models/delegation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `QueryDsl` is already imported here [INFO] [stdout] 3 | use diesel::RunQueryDsl; [INFO] [stdout] 4 | use diesel::QueryDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/models/entity_central_relation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SqliteConnection` is imported redundantly [INFO] [stdout] --> common/src/db/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use diesel::sqlite::SqliteConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> common/src/handlers/server/crypto_channel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use base64; [INFO] [stdout] | ^^^^^^ the item `base64` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `base64` is imported redundantly [INFO] [stdout] --> common/src/handlers/client/crypto_channel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use base64; [INFO] [stdout] | ^^^^^^ the item `base64` is already defined here [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] [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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ca v0.1.0 (/opt/rustwide/workdir/ca) [INFO] [stderr] Compiling entity v0.1.0 (/opt/rustwide/workdir/entity) [INFO] [stderr] Compiling central v0.1.0 (/opt/rustwide/workdir/central) [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.55s [INFO] running `Command { std: "docker" "inspect" "5d981cb0d61348629229313e32ed816ab48bf6e630699982cccac282c78816a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d981cb0d61348629229313e32ed816ab48bf6e630699982cccac282c78816a1", kill_on_drop: false }` [INFO] [stdout] 5d981cb0d61348629229313e32ed816ab48bf6e630699982cccac282c78816a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+393ef12c970fbc7f294cd96c35cb76f9591bc1d6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 99e6bfdd8d32df0412d473885c3682a590f293d1d0e55092ce8e52124043e919 [INFO] running `Command { std: "docker" "start" "-a" "99e6bfdd8d32df0412d473885c3682a590f293d1d0e55092ce8e52124043e919", 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 common v0.2.0 (/opt/rustwide/workdir/common) [INFO] [stderr] warning: the item `serde_json` is imported redundantly [INFO] [stderr] --> common/src/encoding.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use serde_json; [INFO] [stderr] | ^^^^^^^^^^ the item `serde_json` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `base64` is imported redundantly [INFO] [stderr] --> common/src/pki.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use base64; [INFO] [stderr] | ^^^^^^ the item `base64` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `SqliteConnection` is imported redundantly [INFO] [stderr] --> common/src/db/models/entity.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 2 | use diesel::prelude::*; [INFO] [stderr] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stderr] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `SqliteConnection` is imported redundantly [INFO] [stderr] --> common/src/db/models/role.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 2 | use diesel::prelude::*; [INFO] [stderr] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stderr] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `SqliteConnection` is imported redundantly [INFO] [stderr] --> common/src/db/models/user.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 2 | use diesel::prelude::*; [INFO] [stderr] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stderr] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `SqliteConnection` is imported redundantly [INFO] [stderr] --> common/src/db/models/delegation.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::sqlite::SqliteConnection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 2 | use diesel::prelude::*; [INFO] [stderr] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `RunQueryDsl` is imported redundantly [INFO] [stderr] --> common/src/db/models/delegation.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 2 | use diesel::prelude::*; [INFO] [stderr] | ------------------ the item `RunQueryDsl` is already imported here [INFO] [stderr] 3 | use diesel::RunQueryDsl; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `QueryDsl` is imported redundantly [INFO] [stderr] --> common/src/db/models/delegation.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 2 | use diesel::prelude::*; [INFO] [stderr] | ------------------ the item `QueryDsl` is already imported here [INFO] [stderr] 3 | use diesel::RunQueryDsl; [INFO] [stderr] 4 | use diesel::QueryDsl; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `SqliteConnection` is imported redundantly [INFO] [stderr] --> common/src/db/models/entity_central_relation.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 2 | use diesel::prelude::*; [INFO] [stderr] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stderr] 3 | use diesel::sqlite::SqliteConnection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `SqliteConnection` is imported redundantly [INFO] [stderr] --> common/src/db/utils.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use diesel::sqlite::SqliteConnection; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 2 | use diesel::prelude::*; [INFO] [stderr] | ------------------ the item `SqliteConnection` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `base64` is imported redundantly [INFO] [stderr] --> common/src/handlers/server/crypto_channel.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use base64; [INFO] [stderr] | ^^^^^^ the item `base64` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `base64` is imported redundantly [INFO] [stderr] --> common/src/handlers/client/crypto_channel.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use base64; [INFO] [stderr] | ^^^^^^ the item `base64` is already defined here [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stderr] --> common/src/jail.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::os::unix::process::CommandExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `get_user_by_name` [INFO] [stderr] --> common/src/jail.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | get_user_by_name, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> common/src/policy.rs:27:37 [INFO] [stderr] | [INFO] [stderr] 27 | mp.insert("role_name", role_name.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> common/src/policy.rs:31:68 [INFO] [stderr] | [INFO] [stderr] 31 | let mut file = File::create(format!("roles/{}/{}.te", role_name.clone(), role_name.clone()))?; [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> common/src/policy.rs:31:87 [INFO] [stderr] | [INFO] [stderr] 31 | let mut file = File::create(format!("roles/{}/{}.te", role_name.clone(), role_name.clone()))?; [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> common/src/policy.rs:45:68 [INFO] [stderr] | [INFO] [stderr] 45 | let mut file = File::create(format!("roles/{}/{}.fc", role_name.clone(), role_name.clone()))?; [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> common/src/policy.rs:45:87 [INFO] [stderr] | [INFO] [stderr] 45 | let mut file = File::create(format!("roles/{}/{}.fc", role_name.clone(), role_name.clone()))?; [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> common/src/policy.rs:51:72 [INFO] [stderr] | [INFO] [stderr] 51 | std::fs::copy("roles/base_binary", format!("roles/{}/{}", role_name.clone(), role_name.clone()))?; [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> common/src/policy.rs:51:91 [INFO] [stderr] | [INFO] [stderr] 51 | std::fs::copy("roles/base_binary", format!("roles/{}/{}", role_name.clone(), role_name.clone()))?; [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> common/src/policy.rs:67:86 [INFO] [stderr] | [INFO] [stderr] 67 | ...role_name.clone(), role_name.clone(), role_name.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> common/src/policy.rs:67:105 [INFO] [stderr] | [INFO] [stderr] 67 | ...role_name.clone(), role_name.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> common/src/policy.rs:67:124 [INFO] [stderr] | [INFO] [stderr] 67 | ...role_name.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> common/src/policy.rs:68:57 [INFO] [stderr] | [INFO] [stderr] 68 | println!("cd {}/roles/{}", path.display(), role_name.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> common/src/policy.rs:71:44 [INFO] [stderr] | [INFO] [stderr] 71 | println!("semodule -i {}.pp", role_name.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] Compiling ca v0.1.0 (/opt/rustwide/workdir/ca) [INFO] [stderr] Compiling entity v0.1.0 (/opt/rustwide/workdir/entity) [INFO] [stderr] Compiling central v0.1.0 (/opt/rustwide/workdir/central) [INFO] [stderr] warning: `common` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] warning: `common` (lib) generated 26 warnings (run `cargo fix --lib -p common` to apply 14 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ca-70d6dfc87f057313) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/generate_keypair_and_csr.rs (/opt/rustwide/target/debug/deps/generate_keypair_and_csr-9b929a3ba49490f7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/save_ca_key.rs (/opt/rustwide/target/debug/deps/save_ca_key-c6203c70641b7062) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/sign.rs (/opt/rustwide/target/debug/deps/sign-65d73bcd074b8595) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/central-a4449d26fcaa6e64) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/server.rs (/opt/rustwide/target/debug/deps/server-781cd539c3ec29e3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/common-60f86b6107affca4) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/db.rs (/opt/rustwide/target/debug/deps/db-7a7b528d8b0c746d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/seed.rs (/opt/rustwide/target/debug/deps/seed-4e395b99248e9d5d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/server_key.rs (/opt/rustwide/target/debug/deps/server_key-2b3efca6bae40f51) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/entity-03feafa35922428a) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/client.rs (/opt/rustwide/target/debug/deps/client-6da44cadb1dd26c5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/listener.rs (/opt/rustwide/target/debug/deps/listener-5259495078011325) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shell-9308f0b3dfaa2531) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/shell.rs (/opt/rustwide/target/debug/deps/shell-1a549a44fa3c6406) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ca [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests central [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests common [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests entity [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests shell [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "99e6bfdd8d32df0412d473885c3682a590f293d1d0e55092ce8e52124043e919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99e6bfdd8d32df0412d473885c3682a590f293d1d0e55092ce8e52124043e919", kill_on_drop: false }` [INFO] [stdout] 99e6bfdd8d32df0412d473885c3682a590f293d1d0e55092ce8e52124043e919