[INFO] cloning repository https://github.com/chikof/gqlrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chikof/gqlrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchikof%2Fgqlrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchikof%2Fgqlrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 080f34bdec292ba5b346c32705e9c8514d591875 [INFO] testing chikof/gqlrs against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchikof%2Fgqlrs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chikof/gqlrs [INFO] finished tweaking git repo https://github.com/chikof/gqlrs [INFO] tweaked toml for git repo https://github.com/chikof/gqlrs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chikof/gqlrs on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chikof/gqlrs 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded handlebars v6.4.0 [INFO] [stderr] Downloaded async-graphql-value v7.2.1 [INFO] [stderr] Downloaded async-graphql-derive v7.2.1 [INFO] [stderr] Downloaded async-graphql v7.2.1 [INFO] [stderr] Downloaded async-graphql-parser v7.2.1 [INFO] [stderr] Downloaded async-graphql-actix-web v7.2.1 [INFO] [stderr] Downloaded actix-web-actors v4.3.1+deprecated [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b005767fbc16044d863fb0b8f5124a387777d0b10a1bc3c45502900c168480b9 [INFO] running `Command { std: "docker" "start" "-a" "b005767fbc16044d863fb0b8f5124a387777d0b10a1bc3c45502900c168480b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b005767fbc16044d863fb0b8f5124a387777d0b10a1bc3c45502900c168480b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b005767fbc16044d863fb0b8f5124a387777d0b10a1bc3c45502900c168480b9", kill_on_drop: false }` [INFO] [stdout] b005767fbc16044d863fb0b8f5124a387777d0b10a1bc3c45502900c168480b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ce6c0d47c5fc8929c3c968b6c66d8b50587804ccb95c35d2aedf3aec12fe603 [INFO] running `Command { std: "docker" "start" "-a" "2ce6c0d47c5fc8929c3c968b6c66d8b50587804ccb95c35d2aedf3aec12fe603", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling num-modular v0.6.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling num-order v1.2.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling asynk-strim v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling async-graphql-value v7.2.1 [INFO] [stderr] Compiling toml_edit v0.25.4+spec-1.1.0 [INFO] [stderr] Compiling actix-router v0.5.4 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling async-graphql-parser v7.2.1 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling static_assertions_next v1.1.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling env_filter v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling handlebars v6.4.0 [INFO] [stderr] Compiling env_logger v0.11.9 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling gqlrs-macros v0.1.0 (/opt/rustwide/workdir/gqlrs-macros) [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling async-graphql-derive v7.2.1 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling async-graphql v7.2.1 [INFO] [stderr] Compiling actix-http v3.12.0 [INFO] [stderr] Compiling actix-web v4.13.0 [INFO] [stderr] Compiling gqlrs v0.1.0 (/opt/rustwide/workdir/gqlrs) [INFO] [stderr] Compiling actix-web-actors v4.3.1+deprecated [INFO] [stderr] Compiling async-graphql-actix-web v7.2.1 [INFO] [stderr] Compiling example v0.1.0 (/opt/rustwide/workdir/example) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "2ce6c0d47c5fc8929c3c968b6c66d8b50587804ccb95c35d2aedf3aec12fe603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ce6c0d47c5fc8929c3c968b6c66d8b50587804ccb95c35d2aedf3aec12fe603", kill_on_drop: false }` [INFO] [stdout] 2ce6c0d47c5fc8929c3c968b6c66d8b50587804ccb95c35d2aedf3aec12fe603 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4b6b0a8e7d49de2fd23d12f69d32be2729e8c383e67d7c5c8ee8840bd997975 [INFO] running `Command { std: "docker" "start" "-a" "c4b6b0a8e7d49de2fd23d12f69d32be2729e8c383e67d7c5c8ee8840bd997975", kill_on_drop: false }` [INFO] [stderr] Compiling gqlrs-macros v0.1.0 (/opt/rustwide/workdir/gqlrs-macros) [INFO] [stderr] Compiling gqlrs v0.1.0 (/opt/rustwide/workdir/gqlrs) [INFO] [stderr] Compiling example v0.1.0 (/opt/rustwide/workdir/example) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.85s [INFO] running `Command { std: "docker" "inspect" "c4b6b0a8e7d49de2fd23d12f69d32be2729e8c383e67d7c5c8ee8840bd997975", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4b6b0a8e7d49de2fd23d12f69d32be2729e8c383e67d7c5c8ee8840bd997975", kill_on_drop: false }` [INFO] [stdout] c4b6b0a8e7d49de2fd23d12f69d32be2729e8c383e67d7c5c8ee8840bd997975 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 25814b9033a25f249e8300ff74e3160d01614c0a42e0790029f246fb485e9598 [INFO] running `Command { std: "docker" "start" "-a" "25814b9033a25f249e8300ff74e3160d01614c0a42e0790029f246fb485e9598", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/example-89bb2d98d0b31f8d) [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/gqlrs-2be55c1a7b7b76b0) [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gqlrs_macros-dfe74ccfb294846e) [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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests gqlrs [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test gqlrs/src/lib.rs - ModuleContext (line 84) ... FAILED [INFO] [stdout] test gqlrs/src/lib.rs - ModuleContextBuilder (line 150) ... FAILED [INFO] [stdout] test gqlrs/src/lib.rs - (line 13) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- gqlrs/src/lib.rs - ModuleContext (line 84) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ModuleContext` in this scope [INFO] [stdout] --> gqlrs/src/lib.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | let mut ctx = ModuleContext::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ModuleContext` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 84 + use gqlrs::ModuleContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> gqlrs/src/lib.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | ctx.provide(Arc::new(UserService::new(db_pool.clone()))); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 84 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db_pool` in this scope [INFO] [stdout] --> gqlrs/src/lib.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | ctx.provide(Arc::new(UserService::new(db_pool.clone()))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> gqlrs/src/lib.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | ctx.provide(Arc::new(PostService::new(db_pool.clone()))); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 84 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db_pool` in this scope [INFO] [stdout] --> gqlrs/src/lib.rs:87:39 [INFO] [stdout] | [INFO] [stdout] 87 | ctx.provide(Arc::new(PostService::new(db_pool.clone()))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `UserService` in this scope [INFO] [stdout] --> gqlrs/src/lib.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | ctx.provide(Arc::new(UserService::new(db_pool.clone()))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UserService` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `PostService` in this scope [INFO] [stdout] --> gqlrs/src/lib.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | ctx.provide(Arc::new(PostService::new(db_pool.clone()))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PostService` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppModule` in this scope [INFO] [stdout] --> gqlrs/src/lib.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | let schema = AppModule::build(&ctx); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppModule` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- gqlrs/src/lib.rs - ModuleContextBuilder (line 150) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ModuleContextBuilder` in this scope [INFO] [stdout] --> gqlrs/src/lib.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | let ctx = ModuleContextBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ModuleContextBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 150 + use gqlrs::ModuleContextBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> gqlrs/src/lib.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | .provide(Arc::new(UserService::new())) [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 150 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> gqlrs/src/lib.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 153 | .provide(Arc::new(PostService::new())) [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 150 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `UserService` in this scope [INFO] [stdout] --> gqlrs/src/lib.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | .provide(Arc::new(UserService::new())) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `UserService` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `PostService` in this scope [INFO] [stdout] --> gqlrs/src/lib.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | .provide(Arc::new(PostService::new())) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `PostService` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AppModule` in this scope [INFO] [stdout] --> gqlrs/src/lib.rs:156:14 [INFO] [stdout] | [INFO] [stdout] 156 | let schema = AppModule::build(&ctx); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `AppModule` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] gqlrs/src/lib.rs - ModuleContext (line 84) [INFO] [stdout] gqlrs/src/lib.rs - ModuleContextBuilder (line 150) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.58s; merged doctests compilation took 0.20s [INFO] [stderr] error: doctest failed, to rerun pass `-p gqlrs --doc` [INFO] running `Command { std: "docker" "inspect" "25814b9033a25f249e8300ff74e3160d01614c0a42e0790029f246fb485e9598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25814b9033a25f249e8300ff74e3160d01614c0a42e0790029f246fb485e9598", kill_on_drop: false }` [INFO] [stdout] 25814b9033a25f249e8300ff74e3160d01614c0a42e0790029f246fb485e9598