[INFO] cloning repository https://github.com/davedray/gatekeeper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davedray/gatekeeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavedray%2Fgatekeeper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavedray%2Fgatekeeper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0292c33941ec08da2f6e5514b70b9c80fd74ea47 [INFO] testing davedray/gatekeeper/0292c33941ec08da2f6e5514b70b9c80fd74ea47 against 1.81.0 for beta-1.82-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavedray%2Fgatekeeper" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davedray/gatekeeper on toolchain 1.81.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.81.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/davedray/gatekeeper [INFO] finished tweaking git repo https://github.com/davedray/gatekeeper [INFO] tweaked toml for git repo https://github.com/davedray/gatekeeper written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/davedray/gatekeeper 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" "+1.81.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded headers v0.3.1 [INFO] [stderr] Downloaded bigdecimal v0.1.0 [INFO] [stderr] Downloaded ipnetwork v0.15.1 [INFO] [stderr] Downloaded warp v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4144520fa7548ffb73204c695c5f5905d5155441bc334699f560c1539234d808 [INFO] running `Command { std: "docker" "start" "-a" "4144520fa7548ffb73204c695c5f5905d5155441bc334699f560c1539234d808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4144520fa7548ffb73204c695c5f5905d5155441bc334699f560c1539234d808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4144520fa7548ffb73204c695c5f5905d5155441bc334699f560c1539234d808", kill_on_drop: false }` [INFO] [stdout] 4144520fa7548ffb73204c695c5f5905d5155441bc334699f560c1539234d808 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 570bb9e85b593bbff8b186334465436e21a66ce38ba36dcea55a6ee8f5ae7afd [INFO] running `Command { std: "docker" "start" "-a" "570bb9e85b593bbff8b186334465436e21a66ce38ba36dcea55a6ee8f5ae7afd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.3 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling bigdecimal v0.1.0 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling ucd-util v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling thiserror v1.0.11 [INFO] [stderr] Compiling tungstenite v0.9.2 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling headers v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling data-encoding v2.2.0 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling urlencoding v1.0.0 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling dotenv v0.9.0 [INFO] [stderr] Compiling hyper v0.13.2 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling ipnetwork v0.15.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling domain v0.1.0 (/opt/rustwide/workdir/domain) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> domain/src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use realms::*; [INFO] [stdout] | ^^^^^^^^^ the name `model` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 7 | pub use permissions::*; [INFO] [stdout] | -------------- but the name `model` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling diesel v1.4.3 [INFO] [stderr] Compiling warp v0.2.1 [INFO] [stderr] Compiling db v0.1.0 (/opt/rustwide/workdir/db) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> db/src/repository.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | let name = realm.borrow().name.clone(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `NewRealm` does not implement `Borrow`, so calling `borrow` on `&NewRealm` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 30 - let name = realm.borrow().name.clone(); [INFO] [stdout] 30 + let name = realm.name.clone(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `NewRealm`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/domain/src/realms/model.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Clone)] [INFO] [stdout] 14 | pub struct NewRealm { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> db/src/repository.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | let username = user.borrow().username.clone(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `AddRealmUser` does not implement `Borrow`, so calling `borrow` on `&AddRealmUser` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 59 - let username = user.borrow().username.clone(); [INFO] [stdout] 59 + let username = user.username.clone(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `AddRealmUser`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/domain/src/realms/model.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(Clone)] [INFO] [stdout] 27 | pub struct AddRealmUser { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> db/src/repository.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | let name = user.borrow().username.clone(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `domain::UpdateUser` does not implement `Borrow`, so calling `borrow` on `&domain::UpdateUser` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 97 - let name = user.borrow().username.clone(); [INFO] [stdout] 97 + let name = user.username.clone(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `domain::UpdateUser`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/domain/src/users/model.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(Clone)] [INFO] [stdout] 27 | pub struct UpdateUser { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http v0.1.0 (/opt/rustwide/workdir/http) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gatekeeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.16.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "570bb9e85b593bbff8b186334465436e21a66ce38ba36dcea55a6ee8f5ae7afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "570bb9e85b593bbff8b186334465436e21a66ce38ba36dcea55a6ee8f5ae7afd", kill_on_drop: false }` [INFO] [stdout] 570bb9e85b593bbff8b186334465436e21a66ce38ba36dcea55a6ee8f5ae7afd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42e82829b328c15335f6d057df97c9e784d3cbfa3213ef3492f70b97967aadad [INFO] running `Command { std: "docker" "start" "-a" "42e82829b328c15335f6d057df97c9e784d3cbfa3213ef3492f70b97967aadad", kill_on_drop: false }` [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> domain/src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use realms::*; [INFO] [stdout] | ^^^^^^^^^ the name `model` in the type namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 7 | pub use permissions::*; [INFO] [stdout] | -------------- but the name `model` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> db/src/repository.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | let name = realm.borrow().name.clone(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `NewRealm` does not implement `Borrow`, so calling `borrow` on `&NewRealm` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 30 - let name = realm.borrow().name.clone(); [INFO] [stdout] 30 + let name = realm.name.clone(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `NewRealm`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/domain/src/realms/model.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Clone)] [INFO] [stdout] 14 | pub struct NewRealm { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> db/src/repository.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | let username = user.borrow().username.clone(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `AddRealmUser` does not implement `Borrow`, so calling `borrow` on `&AddRealmUser` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 59 - let username = user.borrow().username.clone(); [INFO] [stdout] 59 + let username = user.username.clone(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `AddRealmUser`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/domain/src/realms/model.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(Clone)] [INFO] [stdout] 27 | pub struct AddRealmUser { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> db/src/repository.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | let name = user.borrow().username.clone(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `domain::UpdateUser` does not implement `Borrow`, so calling `borrow` on `&domain::UpdateUser` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 97 - let name = user.borrow().username.clone(); [INFO] [stdout] 97 + let name = user.username.clone(); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `domain::UpdateUser`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/workdir/domain/src/users/model.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(Clone)] [INFO] [stdout] 27 | pub struct UpdateUser { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gatekeeper v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.16.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "42e82829b328c15335f6d057df97c9e784d3cbfa3213ef3492f70b97967aadad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42e82829b328c15335f6d057df97c9e784d3cbfa3213ef3492f70b97967aadad", kill_on_drop: false }` [INFO] [stdout] 42e82829b328c15335f6d057df97c9e784d3cbfa3213ef3492f70b97967aadad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 00a5d0067e9f76465c39160c52bf890d3205316b481752c7c1921d6b7264c1e8 [INFO] running `Command { std: "docker" "start" "-a" "00a5d0067e9f76465c39160c52bf890d3205316b481752c7c1921d6b7264c1e8", kill_on_drop: false }` [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> domain/src/lib.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub use realms::*; [INFO] [stderr] | ^^^^^^^^^ the name `model` in the type namespace is first re-exported here [INFO] [stderr] ... [INFO] [stderr] 7 | pub use permissions::*; [INFO] [stderr] | -------------- but the name `model` in the type namespace is also re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `domain` (lib) generated 1 warning [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> db/src/repository.rs:30:25 [INFO] [stderr] | [INFO] [stderr] 30 | let name = realm.borrow().name.clone(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `NewRealm` does not implement `Borrow`, so calling `borrow` on `&NewRealm` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 30 - let name = realm.borrow().name.clone(); [INFO] [stderr] 30 + let name = realm.name.clone(); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `NewRealm`, implement `Clone` for it [INFO] [stderr] --> /opt/rustwide/workdir/domain/src/realms/model.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 + #[derive(Clone)] [INFO] [stderr] 14 | pub struct NewRealm { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> db/src/repository.rs:59:28 [INFO] [stderr] | [INFO] [stderr] 59 | let username = user.borrow().username.clone(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `AddRealmUser` does not implement `Borrow`, so calling `borrow` on `&AddRealmUser` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 59 - let username = user.borrow().username.clone(); [INFO] [stderr] 59 + let username = user.username.clone(); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `AddRealmUser`, implement `Clone` for it [INFO] [stderr] --> /opt/rustwide/workdir/domain/src/realms/model.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 + #[derive(Clone)] [INFO] [stderr] 27 | pub struct AddRealmUser { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> db/src/repository.rs:97:24 [INFO] [stderr] | [INFO] [stderr] 97 | let name = user.borrow().username.clone(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `domain::UpdateUser` does not implement `Borrow`, so calling `borrow` on `&domain::UpdateUser` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 97 - let name = user.borrow().username.clone(); [INFO] [stderr] 97 + let name = user.username.clone(); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `domain::UpdateUser`, implement `Clone` for it [INFO] [stderr] --> /opt/rustwide/workdir/domain/src/users/model.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 + #[derive(Clone)] [INFO] [stderr] 27 | pub struct UpdateUser { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `db` (lib) generated 3 warnings (run `cargo fix --lib -p db` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.16.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gatekeeper-f9edfdb1cf4cc749) [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" "00a5d0067e9f76465c39160c52bf890d3205316b481752c7c1921d6b7264c1e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00a5d0067e9f76465c39160c52bf890d3205316b481752c7c1921d6b7264c1e8", kill_on_drop: false }` [INFO] [stdout] 00a5d0067e9f76465c39160c52bf890d3205316b481752c7c1921d6b7264c1e8