[INFO] fetching crate actix-web-middleware-oso 0.1.0... [INFO] testing actix-web-middleware-oso-0.1.0 against 1.77.0 for beta-1.78-1 [INFO] extracting crate actix-web-middleware-oso 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate actix-web-middleware-oso 0.1.0 on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate actix-web-middleware-oso 0.1.0 [INFO] finished tweaking crates.io crate actix-web-middleware-oso 0.1.0 [INFO] tweaked toml for crates.io crate actix-web-middleware-oso 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate actix-web-middleware-oso 0.1.0 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.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread_local v1.1.4 [INFO] [stderr] Downloaded valuable v0.1.0 [INFO] [stderr] Downloaded tracing-attributes v0.1.19 [INFO] [stderr] Downloaded oso-derive v0.26.0 [INFO] [stderr] Downloaded sharded-slab v0.1.4 [INFO] [stderr] Downloaded local-waker v0.1.2 [INFO] [stderr] Downloaded num_threads v0.1.3 [INFO] [stderr] Downloaded impl-trait-for-tuples v0.2.2 [INFO] [stderr] Downloaded local-channel v0.1.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.16 [INFO] [stderr] Downloaded paste v1.0.6 [INFO] [stderr] Downloaded tokio-util v0.7.0 [INFO] [stderr] Downloaded actix-http v3.0.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.32.0 [INFO] [stderr] Downloaded windows-sys v0.32.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.32.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.32.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.32.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.32.0 [INFO] [stderr] Downloaded tokio v1.17.0 [INFO] [stderr] Downloaded actix-web v4.0.1 [INFO] [stderr] Downloaded libc v0.2.119 [INFO] [stderr] Downloaded lalrpop v0.19.7 [INFO] [stderr] Downloaded actix-codec v0.5.0 [INFO] [stderr] Downloaded rand_core v0.6.3 [INFO] [stderr] Downloaded cpufeatures v0.2.1 [INFO] [stderr] Downloaded block-buffer v0.10.2 [INFO] [stderr] Downloaded generic-array v0.14.5 [INFO] [stderr] Downloaded crypto-common v0.1.3 [INFO] [stderr] Downloaded digest v0.10.3 [INFO] [stderr] Downloaded sha-1 v0.10.0 [INFO] [stderr] Downloaded actix-macros v0.2.3 [INFO] [stderr] Downloaded actix-rt v2.6.0 [INFO] [stderr] Downloaded mio v0.8.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.1 [INFO] [stderr] Downloaded parking_lot v0.12.0 [INFO] [stderr] Downloaded signal-hook-registry v1.4.0 [INFO] [stderr] Downloaded actix-server v2.0.0 [INFO] [stderr] Downloaded actix-utils v3.0.0 [INFO] [stderr] Downloaded actix-router v0.5.0 [INFO] [stderr] Downloaded time v0.3.7 [INFO] [stderr] Downloaded env_logger v0.9.0 [INFO] [stderr] Downloaded petgraph v0.5.1 [INFO] [stderr] Downloaded redox_syscall v0.2.10 [INFO] [stderr] Downloaded actix-web-codegen v4.0.0 [INFO] [stderr] Downloaded ena v0.14.0 [INFO] [stderr] Downloaded firestorm v0.5.0 [INFO] [stderr] Downloaded ahash v0.7.6 [INFO] [stderr] Downloaded semver v1.0.6 [INFO] [stderr] Downloaded unindent v0.1.8 [INFO] [stderr] Downloaded indoc v1.0.4 [INFO] [stderr] Downloaded bit-vec v0.6.3 [INFO] [stderr] Downloaded bit-set v0.5.2 [INFO] [stderr] Downloaded smallvec v1.8.0 [INFO] [stderr] Downloaded parking_lot_core v0.8.5 [INFO] [stderr] Downloaded parking_lot v0.11.2 [INFO] [stderr] Downloaded siphasher v0.3.9 [INFO] [stderr] Downloaded string_cache v0.8.3 [INFO] [stderr] Downloaded getrandom v0.2.5 [INFO] [stderr] Downloaded dirs-sys-next v0.1.2 [INFO] [stderr] Downloaded dirs-next v2.0.0 [INFO] [stderr] Downloaded rustversion v1.0.6 [INFO] [stderr] Downloaded polar-core v0.26.0 [INFO] [stderr] Downloaded tracing-subscriber v0.3.9 [INFO] [stderr] Downloaded ascii-canvas v3.0.0 [INFO] [stderr] Downloaded fixedbitset v0.2.0 [INFO] [stderr] Downloaded lock_api v0.4.6 [INFO] [stderr] Downloaded redox_users v0.4.0 [INFO] [stderr] Downloaded term v0.7.0 [INFO] [stderr] Downloaded tiny-keccak v2.0.2 [INFO] [stderr] Downloaded lalrpop-util v0.19.7 [INFO] [stderr] Downloaded heck v0.3.3 [INFO] [stderr] Downloaded strum_macros v0.23.1 [INFO] [stderr] Downloaded tracing v0.1.31 [INFO] [stderr] Downloaded oso v0.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33d162d01153addd3700670c7191e04454ea0081461ac87dfad22533208858bd [INFO] running `Command { std: "docker" "start" "-a" "33d162d01153addd3700670c7191e04454ea0081461ac87dfad22533208858bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33d162d01153addd3700670c7191e04454ea0081461ac87dfad22533208858bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33d162d01153addd3700670c7191e04454ea0081461ac87dfad22533208858bd", kill_on_drop: false }` [INFO] [stdout] 33d162d01153addd3700670c7191e04454ea0081461ac87dfad22533208858bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88605df2df2fe4e7dbc7d1b49d01579f349003de1fa64ceeb52c6a64e396f2a8 [INFO] running `Command { std: "docker" "start" "-a" "88605df2df2fe4e7dbc7d1b49d01579f349003de1fa64ceeb52c6a64e396f2a8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling lalrpop-util v0.19.7 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling string_cache v0.8.3 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling unindent v0.1.8 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling indoc v1.0.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lalrpop v0.19.7 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.9 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling actix-server v2.0.0 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling oso-derive v0.26.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling polar-core v0.26.0 [INFO] [stderr] Compiling actix-http v3.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling oso v0.26.0 [INFO] [stderr] Compiling actix-web-middleware-oso v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/extractor.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | ready(Ok(oso.borrow().clone())) [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `ExtractedOso` does not implement `Borrow`, so calling `borrow` on `&ExtractedOso` 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.7 [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" "88605df2df2fe4e7dbc7d1b49d01579f349003de1fa64ceeb52c6a64e396f2a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88605df2df2fe4e7dbc7d1b49d01579f349003de1fa64ceeb52c6a64e396f2a8", kill_on_drop: false }` [INFO] [stdout] 88605df2df2fe4e7dbc7d1b49d01579f349003de1fa64ceeb52c6a64e396f2a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a0da7f6a9f6403e7989dfef0b828e50242f017566eaf74a55b0d3dc91352e76 [INFO] running `Command { std: "docker" "start" "-a" "6a0da7f6a9f6403e7989dfef0b828e50242f017566eaf74a55b0d3dc91352e76", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling lalrpop v0.19.7 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling actix-server v2.0.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling polar-core v0.26.0 [INFO] [stderr] Compiling actix-http v3.0.0 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling oso v0.26.0 [INFO] [stderr] Compiling actix-web-middleware-oso v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/extractor.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | ready(Ok(oso.borrow().clone())) [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `ExtractedOso` does not implement `Borrow`, so calling `borrow` on `&ExtractedOso` 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/extractor.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | ready(Ok(oso.borrow().clone())) [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `ExtractedOso` does not implement `Borrow`, so calling `borrow` on `&ExtractedOso` 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 35.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.7 [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" "6a0da7f6a9f6403e7989dfef0b828e50242f017566eaf74a55b0d3dc91352e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a0da7f6a9f6403e7989dfef0b828e50242f017566eaf74a55b0d3dc91352e76", kill_on_drop: false }` [INFO] [stdout] 6a0da7f6a9f6403e7989dfef0b828e50242f017566eaf74a55b0d3dc91352e76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 10214d0dda484e6eab1cbf2fbf70035fe0511ab2d4420ad815b9dc7e066027a7 [INFO] running `Command { std: "docker" "start" "-a" "10214d0dda484e6eab1cbf2fbf70035fe0511ab2d4420ad815b9dc7e066027a7", kill_on_drop: false }` [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/extractor.rs:56:25 [INFO] [stderr] | [INFO] [stderr] 56 | ready(Ok(oso.borrow().clone())) [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `ExtractedOso` does not implement `Borrow`, so calling `borrow` on `&ExtractedOso` 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: `actix-web-middleware-oso` (lib) generated 1 warning (run `cargo fix --lib -p actix-web-middleware-oso` to apply 1 suggestion) [INFO] [stderr] warning: `actix-web-middleware-oso` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.7 [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/lib.rs (/opt/rustwide/target/debug/deps/actix_web_middleware_oso-96b3c3ea0ee273a6) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test middleware::tests::test_oso_middleware_is_not_ok ... ok [INFO] [stdout] test middleware::tests::test_oso_middleware_is_ok ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/common.rs (/opt/rustwide/target/debug/deps/common-e4061d158af2d2a9) [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 tests/test_oso_authz.rs (/opt/rustwide/target/debug/deps/test_oso_authz-1520222cdfab964e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_oso_authz_success ... ok [INFO] [stdout] test test_oso_authz_failure - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/test_oso_extractor.rs (/opt/rustwide/target/debug/deps/test_oso_extractor-d94c3d56eb1496cb) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_oso_extractor_success ... ok [INFO] [stdout] test test_oso_extractor_no_oso - should panic ... ok [INFO] [stdout] test test_oso_extractor_failure - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests actix_web_middleware_oso [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/extractor.rs - extractor::ExtractedOso (line 14) - compile ... ok [INFO] [stdout] test src/middleware.rs - middleware::OsoMiddleware::new (line 30) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "10214d0dda484e6eab1cbf2fbf70035fe0511ab2d4420ad815b9dc7e066027a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10214d0dda484e6eab1cbf2fbf70035fe0511ab2d4420ad815b9dc7e066027a7", kill_on_drop: false }` [INFO] [stdout] 10214d0dda484e6eab1cbf2fbf70035fe0511ab2d4420ad815b9dc7e066027a7