[INFO] fetching crate lambda-appsync 0.6.0... [INFO] checking lambda-appsync-0.6.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate lambda-appsync 0.6.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate lambda-appsync 0.6.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate lambda-appsync 0.6.0 [INFO] tweaked toml for crates.io crate lambda-appsync 0.6.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lambda-appsync 0.6.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--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] Locking 273 packages to latest compatible versions [INFO] [stderr] Adding lambda_runtime v0.12.0 (available: v0.14.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f800eadad45efefc0dbb1853cc9fd8d9e6f350e50dece37e85459addfb1a4101 [INFO] running `Command { std: "docker" "start" "-a" "f800eadad45efefc0dbb1853cc9fd8d9e6f350e50dece37e85459addfb1a4101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f800eadad45efefc0dbb1853cc9fd8d9e6f350e50dece37e85459addfb1a4101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f800eadad45efefc0dbb1853cc9fd8d9e6f350e50dece37e85459addfb1a4101", kill_on_drop: false }` [INFO] [stdout] f800eadad45efefc0dbb1853cc9fd8d9e6f350e50dece37e85459addfb1a4101 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d04bf538ce3f8ca41772d5d1294a78c489d82d5bc5b89792fdbdeaeeb71885dc [INFO] running `Command { std: "docker" "start" "-a" "d04bf538ce3f8ca41772d5d1294a78c489d82d5bc5b89792fdbdeaeeb71885dc", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking aws-smithy-xml v0.60.10 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling aws-types v1.3.7 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling aws-lc-sys v0.29.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling graphql-parser v0.4.1 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling lambda-appsync-proc v0.6.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking aws-smithy-async v1.2.5 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking aws-smithy-types v1.3.2 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking aws-smithy-runtime-api v1.8.1 [INFO] [stderr] Checking aws-smithy-json v0.61.4 [INFO] [stderr] Checking aws-smithy-query v0.60.7 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking http-serde v2.1.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking aws-credential-types v1.2.3 [INFO] [stderr] Checking aws-smithy-http v0.62.1 [INFO] [stderr] Checking aws-smithy-observability v0.1.3 [INFO] [stderr] Checking aws-sigv4 v1.3.3 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking lambda_runtime_api_client v0.11.1 [INFO] [stderr] Checking lambda_runtime v0.12.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking aws-smithy-http-client v1.0.6 [INFO] [stderr] Checking aws-smithy-runtime v1.8.3 [INFO] [stderr] Checking aws-runtime v1.5.8 [INFO] [stderr] Checking aws-sdk-sts v1.75.0 [INFO] [stderr] Checking aws-sdk-sso v1.73.0 [INFO] [stderr] Checking aws-sdk-ssooidc v1.74.0 [INFO] [stderr] Checking aws-sdk-dynamodb v1.80.0 [INFO] [stderr] Checking aws-config v1.8.0 [INFO] [stderr] Checking lambda-appsync v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error: Could not open GraphQL schema file at '/opt/rustwide/workdir/schema.graphql' (No such file or directory (os error 2)) [INFO] [stdout] --> tests/lambda_integration_no_batch.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | "schema.graphql", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not open GraphQL schema file at '/opt/rustwide/workdir/schema.graphql' (No such file or directory (os error 2)) [INFO] [stdout] --> tests/serde_test.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | lambda_appsync::appsync_lambda_main!("schema.graphql", only_appsync_types = true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not open GraphQL schema file at '/opt/rustwide/workdir/schema.graphql' (No such file or directory (os error 2)) [INFO] [stdout] --> tests/rename_test.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | lambda_appsync::appsync_lambda_main!("schema.graphql", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Could not open GraphQL schema file at '/opt/rustwide/workdir/schema.graphql' (No such file or directory (os error 2)) [INFO] [stdout] --> tests/lambda_integration.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | "schema.graphql", [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `__operations` in the crate root [INFO] [stdout] --> tests/lambda_integration_no_batch.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | #[appsync_operation(query(players))] [INFO] [stdout] | ^^^^^^^ could not find `__operations` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `__operations` in the crate root [INFO] [stdout] --> tests/lambda_integration.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | #[appsync_operation(query(players))] [INFO] [stdout] | ^^^^^^^ could not find `__operations` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `__operations` in the crate root [INFO] [stdout] --> tests/lambda_integration_no_batch.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | #[appsync_operation(query(player))] [INFO] [stdout] | ^^^^^^ could not find `__operations` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `__operations` in the crate root [INFO] [stdout] --> tests/lambda_integration.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | #[appsync_operation(query(player))] [INFO] [stdout] | ^^^^^^ could not find `__operations` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `__operations` in the crate root [INFO] [stdout] --> tests/lambda_integration_no_batch.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | #[appsync_operation(mutation(createPlayer))] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `__operations` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `__operations` in the crate root [INFO] [stdout] --> tests/lambda_integration.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | #[appsync_operation(mutation(createPlayer))] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `__operations` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `__operations` in the crate root [INFO] [stdout] --> tests/lambda_integration_no_batch.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | #[appsync_operation(mutation(deletePlayer))] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `__operations` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NewPlayer` in this scope [INFO] [stdout] --> tests/rename_test.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | let player = NewPlayer { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NewPlayer` in this scope [INFO] [stdout] --> tests/rename_test.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let player: NewPlayer = serde_json::from_value(json).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Team` in this scope [INFO] [stdout] --> tests/rename_test.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | let deserialized: Team = serde_json::from_value(json).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WeirdFieldNames` in this scope [INFO] [stdout] --> tests/rename_test.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | let weird: WeirdFieldNames = serde_json::from_value(json.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Team` in this scope [INFO] [stdout] --> tests/rename_test.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | let result: Result = serde_json::from_str("\"SNAKE\""); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 167 | fn test_invalid_deserialization() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Team` in this scope [INFO] [stdout] --> tests/rename_test.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | let result: Result = serde_json::from_str("\"Snake\""); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 167 | fn test_invalid_deserialization() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NewPlayer` in this scope [INFO] [stdout] --> tests/rename_test.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | let result: Result = serde_json::from_value(json!({ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 167 | fn test_invalid_deserialization() { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Team` [INFO] [stdout] --> tests/rename_test.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | team: Team::Snake, [INFO] [stdout] | ^^^^ use of undeclared type `Team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `__operations` in the crate root [INFO] [stdout] --> tests/lambda_integration.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | #[appsync_operation(mutation(deletePlayer))] [INFO] [stdout] | ^^^^^^^^^^^^ could not find `__operations` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Player` in this scope [INFO] [stdout] --> tests/serde_test.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let player = Player { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> tests/serde_test.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let player: Player = serde_json::from_value(json).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Team` in this scope [INFO] [stdout] --> tests/serde_test.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let deserialized: Team = serde_json::from_value(json).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameStatus` in this scope [INFO] [stdout] --> tests/serde_test.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | let deserialized: GameStatus = serde_json::from_value(json).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WeirdFieldNames` in this scope [INFO] [stdout] --> tests/serde_test.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 147 | let weird: WeirdFieldNames = serde_json::from_value(json.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Team` in this scope [INFO] [stdout] --> tests/serde_test.rs:157:24 [INFO] [stdout] | [INFO] [stdout] 157 | let result: Result = serde_json::from_str("\"INVALID\""); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 155 | fn test_invalid_deserialization() { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameStatus` in this scope [INFO] [stdout] --> tests/serde_test.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | let result: Result = serde_json::from_str("\"PAUSED\""); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 155 | fn test_invalid_deserialization() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> tests/serde_test.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | let result: Result = serde_json::from_value(json!({ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 155 | fn test_invalid_deserialization() { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OptionalTeam` in this scope [INFO] [stdout] --> tests/serde_test.rs:180:24 [INFO] [stdout] | [INFO] [stdout] 180 | let optional_team: OptionalTeam = serde_json::from_value(json.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OptionalTeam` in this scope [INFO] [stdout] --> tests/serde_test.rs:188:24 [INFO] [stdout] | [INFO] [stdout] 188 | let optional_team: OptionalTeam = serde_json::from_value(json.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Team` [INFO] [stdout] --> tests/rename_test.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(player.team, Team::Rust); [INFO] [stdout] | ^^^^ use of undeclared type `Team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Team` [INFO] [stdout] --> tests/rename_test.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let teams = vec![Team::Rust, Team::Snake, Team::Js, Team::MultiWordsTeam]; [INFO] [stdout] | ^^^^ use of undeclared type `Team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Team` [INFO] [stdout] --> tests/rename_test.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | let teams = vec![Team::Rust, Team::Snake, Team::Js, Team::MultiWordsTeam]; [INFO] [stdout] | ^^^^ use of undeclared type `Team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Team` [INFO] [stdout] --> tests/rename_test.rs:62:47 [INFO] [stdout] | [INFO] [stdout] 62 | let teams = vec![Team::Rust, Team::Snake, Team::Js, Team::MultiWordsTeam]; [INFO] [stdout] | ^^^^ use of undeclared type `Team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Team` [INFO] [stdout] --> tests/rename_test.rs:62:57 [INFO] [stdout] | [INFO] [stdout] 62 | let teams = vec![Team::Rust, Team::Snake, Team::Js, Team::MultiWordsTeam]; [INFO] [stdout] | ^^^^ use of undeclared type `Team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Team` [INFO] [stdout] --> tests/rename_test.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | assert_eq!(teams, Team::all()); [INFO] [stdout] | ^^^^ use of undeclared type `Team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Team` [INFO] [stdout] --> tests/serde_test.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | team: Team::Rust, [INFO] [stdout] | ^^^^ use of undeclared type `Team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Team` [INFO] [stdout] --> tests/serde_test.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(player.team, Team::Rust); [INFO] [stdout] | ^^^^ use of undeclared type `Team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Team` [INFO] [stdout] --> tests/serde_test.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let teams = vec![Team::Rust, Team::Python, Team::Js, Team::MultiWordsTeam]; [INFO] [stdout] | ^^^^ use of undeclared type `Team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Team` [INFO] [stdout] --> tests/serde_test.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | let teams = vec![Team::Rust, Team::Python, Team::Js, Team::MultiWordsTeam]; [INFO] [stdout] | ^^^^ use of undeclared type `Team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Team` [INFO] [stdout] --> tests/serde_test.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | let teams = vec![Team::Rust, Team::Python, Team::Js, Team::MultiWordsTeam]; [INFO] [stdout] | ^^^^ use of undeclared type `Team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Team` [INFO] [stdout] --> tests/serde_test.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | let teams = vec![Team::Rust, Team::Python, Team::Js, Team::MultiWordsTeam]; [INFO] [stdout] | ^^^^ use of undeclared type `Team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Team` [INFO] [stdout] --> tests/serde_test.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(teams, Team::all()); [INFO] [stdout] | ^^^^ use of undeclared type `Team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameStatus` [INFO] [stdout] --> tests/serde_test.rs:58:25 [INFO] [stdout] | [INFO] [stdout] 58 | let statuses = vec![GameStatus::Started, GameStatus::Stopped]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GameStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameStatus` [INFO] [stdout] --> tests/serde_test.rs:58:46 [INFO] [stdout] | [INFO] [stdout] 58 | let statuses = vec![GameStatus::Started, GameStatus::Stopped]; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GameStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lambda-appsync` (test "rename_test") due to 15 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Team` [INFO] [stdout] --> tests/serde_test.rs:189:41 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(optional_team.team, Some(Team::Rust)); [INFO] [stdout] | ^^^^ use of undeclared type `Team` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> tests/lambda_integration_no_batch.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | struct InnerDatabase(RefCell>); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | struct InnerDatabase(RefCell>); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> tests/lambda_integration_no_batch.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | fn get(&self, id: &ID) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 14 | impl InnerDatabase { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> tests/lambda_integration_no_batch.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | fn insert(&self, id: ID, player: Player) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> tests/lambda_integration_no_batch.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | fn insert(&self, id: ID, player: Player) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 14 | impl InnerDatabase { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> tests/lambda_integration_no_batch.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | fn remove(&self, id: &ID) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 14 | impl InnerDatabase { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> tests/lambda_integration_no_batch.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | fn values(&self) -> Vec { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 14 | impl InnerDatabase { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Operation` in this scope [INFO] [stdout] --> tests/lambda_integration_no_batch.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | async fn verify_request(event: &AppsyncEvent) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/option.rs:591:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Option` defined here [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 59 - async fn verify_request(event: &AppsyncEvent) -> Option { [INFO] [stdout] 59 + async fn verify_request(event: &AppsyncEvent