[INFO] cloning repository https://github.com/DeividAlmeida/poc_permissions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DeividAlmeida/poc_permissions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeividAlmeida%2Fpoc_permissions", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeividAlmeida%2Fpoc_permissions'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee354674a44d9e408210ad1537e6a4e424255d77 [INFO] building DeividAlmeida/poc_permissions against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeividAlmeida%2Fpoc_permissions" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DeividAlmeida/poc_permissions [INFO] finished tweaking git repo https://github.com/DeividAlmeida/poc_permissions [INFO] tweaked toml for git repo https://github.com/DeividAlmeida/poc_permissions written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DeividAlmeida/poc_permissions on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DeividAlmeida/poc_permissions already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mongodb-internal-macros v3.1.0 [INFO] [stderr] Downloaded hyper-util v0.1.7 [INFO] [stderr] Downloaded hickory-resolver v0.24.1 [INFO] [stderr] Downloaded redis v0.26.1 [INFO] [stderr] Downloaded syn v2.0.75 [INFO] [stderr] Downloaded hickory-proto v0.24.1 [INFO] [stderr] Downloaded mongodb v3.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 912b486a5fbaece0d65a53e05b0ab08eb4bd7b9e2b015c73ab30b8916e8ac8b5 [INFO] running `Command { std: "docker" "start" "-a" "912b486a5fbaece0d65a53e05b0ab08eb4bd7b9e2b015c73ab30b8916e8ac8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "912b486a5fbaece0d65a53e05b0ab08eb4bd7b9e2b015c73ab30b8916e8ac8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "912b486a5fbaece0d65a53e05b0ab08eb4bd7b9e2b015c73ab30b8916e8ac8b5", kill_on_drop: false }` [INFO] [stdout] 912b486a5fbaece0d65a53e05b0ab08eb4bd7b9e2b015c73ab30b8916e8ac8b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbaccb5a325317ecbfcbea56dba5ed1629b9c36fec728b5a542229c11992b01e [INFO] running `Command { std: "docker" "start" "-a" "bbaccb5a325317ecbfcbea56dba5ed1629b9c36fec728b5a542229c11992b01e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling mongodb-internal-macros v3.1.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling redis v0.26.1 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_with v3.9.0 [INFO] [stderr] Compiling hickory-proto v0.24.1 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling bson v2.11.0 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling hickory-resolver v0.24.1 [INFO] [stderr] Compiling mongodb v3.1.0 [INFO] [stderr] Compiling permissions v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Body` and `to_bytes` [INFO] [stdout] --> src/controllers/mod.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | body::{to_bytes, Body}, extract::Request, response::Response, Json [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::E` [INFO] [stdout] --> src/serializers/timelines.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `body::Body` [INFO] [stdout] --> src/serializers/timelines.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::{body::Body, http::{Error, StatusCode}, response::Json}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodb::bson::doc` [INFO] [stdout] --> src/serializers/tests.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | use mongodb::bson::doc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::serializers::Queries` [INFO] [stdout] --> src/serializers/tests.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::serializers::Queries; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/controllers/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn list_settings(request:Request) -> Response { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/controllers/mod.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn menus(request:Request) -> Response { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc` [INFO] [stdout] --> src/serializers/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | Ok(doc) => Ok(doc! {"success": true}), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "bbaccb5a325317ecbfcbea56dba5ed1629b9c36fec728b5a542229c11992b01e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbaccb5a325317ecbfcbea56dba5ed1629b9c36fec728b5a542229c11992b01e", kill_on_drop: false }` [INFO] [stdout] bbaccb5a325317ecbfcbea56dba5ed1629b9c36fec728b5a542229c11992b01e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a278aed08af19bb1a99079719af85d482eff84a759fd8b40a50a948b84101b8a [INFO] running `Command { std: "docker" "start" "-a" "a278aed08af19bb1a99079719af85d482eff84a759fd8b40a50a948b84101b8a", kill_on_drop: false }` [INFO] [stderr] Compiling permissions v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Body` and `to_bytes` [INFO] [stdout] --> src/controllers/mod.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | body::{to_bytes, Body}, extract::Request, response::Response, Json [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::E` [INFO] [stdout] --> src/serializers/timelines.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f32::consts::E; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `body::Body` [INFO] [stdout] --> src/serializers/timelines.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::{body::Body, http::{Error, StatusCode}, response::Json}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/controllers/mod.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn list_settings(request:Request) -> Response { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/controllers/mod.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn menus(request:Request) -> Response { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc` [INFO] [stdout] --> src/serializers/mod.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | Ok(doc) => Ok(doc! {"success": true}), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.10s [INFO] running `Command { std: "docker" "inspect" "a278aed08af19bb1a99079719af85d482eff84a759fd8b40a50a948b84101b8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a278aed08af19bb1a99079719af85d482eff84a759fd8b40a50a948b84101b8a", kill_on_drop: false }` [INFO] [stdout] a278aed08af19bb1a99079719af85d482eff84a759fd8b40a50a948b84101b8a