[INFO] cloning repository https://github.com/paul-asvb/session-axum-redis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paul-asvb/session-axum-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaul-asvb%2Fsession-axum-redis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaul-asvb%2Fsession-axum-redis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fcfd1d669f0e5980da9c99fa534cf0260ee6f69d [INFO] building paul-asvb/session-axum-redis against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaul-asvb%2Fsession-axum-redis" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/paul-asvb/session-axum-redis [INFO] finished tweaking git repo https://github.com/paul-asvb/session-axum-redis [INFO] tweaked toml for git repo https://github.com/paul-asvb/session-axum-redis written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/paul-asvb/session-axum-redis 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/paul-asvb/session-axum-redis 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 redox_syscall v0.2.13 [INFO] [stderr] Downloaded serde_derive v1.0.137 [INFO] [stderr] Downloaded tower-layer v0.3.1 [INFO] [stderr] Downloaded once_cell v1.12.0 [INFO] [stderr] Downloaded axum-core v0.2.5 [INFO] [stderr] Downloaded matchit v0.5.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.39 [INFO] [stderr] Downloaded fastrand v1.7.0 [INFO] [stderr] Downloaded serde v1.0.137 [INFO] [stderr] Downloaded tracing-core v0.1.27 [INFO] [stderr] Downloaded handlebars v4.3.1 [INFO] [stderr] Downloaded tower v0.4.12 [INFO] [stderr] Downloaded axum v0.5.7 [INFO] [stderr] Downloaded combine v4.6.4 [INFO] [stderr] Downloaded redis v0.21.5 [INFO] [stderr] Downloaded hyper v0.14.19 [INFO] [stderr] Downloaded openssl v0.10.40 [INFO] [stderr] Downloaded syn v1.0.96 [INFO] [stderr] Downloaded mio v0.8.3 [INFO] [stderr] Downloaded openssl-sys v0.9.74 [INFO] [stderr] Downloaded unicode-ident v1.0.0 [INFO] [stderr] Downloaded tokio v1.19.2 [INFO] [stderr] Downloaded tower-http v0.3.4 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5dd95dd0769414f8348092885674f3ae8d3d9bfb719109079316d1d7981533d1 [INFO] running `Command { std: "docker" "start" "-a" "5dd95dd0769414f8348092885674f3ae8d3d9bfb719109079316d1d7981533d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dd95dd0769414f8348092885674f3ae8d3d9bfb719109079316d1d7981533d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dd95dd0769414f8348092885674f3ae8d3d9bfb719109079316d1d7981533d1", kill_on_drop: false }` [INFO] [stdout] 5dd95dd0769414f8348092885674f3ae8d3d9bfb719109079316d1d7981533d1 [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=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] 0fbefef07ddd7997bd355dd7442d6f4f190ec81f85b703dc246a103b52feabc0 [INFO] running `Command { std: "docker" "start" "-a" "0fbefef07ddd7997bd355dd7442d6f4f190ec81f85b703dc246a103b52feabc0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling tracing-core v0.1.27 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling combine v4.6.4 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling axum-core v0.2.5 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling redis v0.21.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling handlebars v4.3.1 [INFO] [stderr] Compiling axum v0.5.7 [INFO] [stderr] Compiling session-axum-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected value, found struct `RedisSessionRepo` [INFO] [stdout] --> src/main.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | let session_repo = Arc::new(RedisSessionRepo) as DynSessionRepo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `RedisSessionRepo { client: val }` [INFO] [stdout] | [INFO] [stdout] ::: src/repo.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / pub struct RedisSessionRepo { [INFO] [stdout] 42 | | client: Arc, [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- `RedisSessionRepo` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html`, `Request`, and `Response` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | http::{Request, Response, StatusCode}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] 6 | response::{Html, IntoResponse}, [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 variable: `session_id` [INFO] [stdout] --> src/repo.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | async fn find(&self, session_id: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/repo.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | async fn create(&self, session: Session) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `session-axum-redis` (bin "session-axum-redis") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0fbefef07ddd7997bd355dd7442d6f4f190ec81f85b703dc246a103b52feabc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fbefef07ddd7997bd355dd7442d6f4f190ec81f85b703dc246a103b52feabc0", kill_on_drop: false }` [INFO] [stdout] 0fbefef07ddd7997bd355dd7442d6f4f190ec81f85b703dc246a103b52feabc0