[INFO] cloning repository https://github.com/Huanli-Gong/Max-Stock-Profit-With-Logging-And-Tracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Huanli-Gong/Max-Stock-Profit-With-Logging-And-Tracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuanli-Gong%2FMax-Stock-Profit-With-Logging-And-Tracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuanli-Gong%2FMax-Stock-Profit-With-Logging-And-Tracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa0f9a2363f684546ab6f138d67b639408dfdca8 [INFO] building Huanli-Gong/Max-Stock-Profit-With-Logging-And-Tracing against try#334963c956d25708feab489a3816ae63f639355d for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuanli-Gong%2FMax-Stock-Profit-With-Logging-And-Tracing" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Huanli-Gong/Max-Stock-Profit-With-Logging-And-Tracing on toolchain 334963c956d25708feab489a3816ae63f639355d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Huanli-Gong/Max-Stock-Profit-With-Logging-And-Tracing [INFO] finished tweaking git repo https://github.com/Huanli-Gong/Max-Stock-Profit-With-Logging-And-Tracing [INFO] tweaked toml for git repo https://github.com/Huanli-Gong/Max-Stock-Profit-With-Logging-And-Tracing written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Huanli-Gong/Max-Stock-Profit-With-Logging-And-Tracing 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lambda_http v0.10.0 [INFO] [stderr] Downloaded lambda_runtime v0.10.0 [INFO] [stderr] Downloaded lambda_runtime_api_client v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92294a7ecf732515b4bd3b718baefae7d527b72229b85753b3214b5d12e87ec3 [INFO] running `Command { std: "docker" "start" "-a" "92294a7ecf732515b4bd3b718baefae7d527b72229b85753b3214b5d12e87ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92294a7ecf732515b4bd3b718baefae7d527b72229b85753b3214b5d12e87ec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92294a7ecf732515b4bd3b718baefae7d527b72229b85753b3214b5d12e87ec3", kill_on_drop: false }` [INFO] [stdout] 92294a7ecf732515b4bd3b718baefae7d527b72229b85753b3214b5d12e87ec3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41980bef73b3c723fd95160957d282dd706cb47509eed1812350937490e2e7bb [INFO] running `Command { std: "docker" "start" "-a" "41980bef73b3c723fd95160957d282dd706cb47509eed1812350937490e2e7bb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.15 [INFO] [stderr] Compiling query_map v0.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling http-serde v2.0.0 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling aws_lambda_events v0.15.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling lambda_runtime_api_client v0.10.0 [INFO] [stderr] Compiling lambda_runtime v0.10.0 [INFO] [stderr] Compiling lambda_http v0.10.0 [INFO] [stderr] Compiling max_stock_profit_with_logging_and_tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.40s [INFO] running `Command { std: "docker" "inspect" "41980bef73b3c723fd95160957d282dd706cb47509eed1812350937490e2e7bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41980bef73b3c723fd95160957d282dd706cb47509eed1812350937490e2e7bb", kill_on_drop: false }` [INFO] [stdout] 41980bef73b3c723fd95160957d282dd706cb47509eed1812350937490e2e7bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 029bcb6e996bc1924ce76fdd7bb0515ca1941a8b81ed8eb0aff02a1ee1a027e1 [INFO] running `Command { std: "docker" "start" "-a" "029bcb6e996bc1924ce76fdd7bb0515ca1941a8b81ed8eb0aff02a1ee1a027e1", kill_on_drop: false }` [INFO] [stderr] Compiling max_stock_profit_with_logging_and_tracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Context` [INFO] [stdout] --> src/main.rs:66:23 [INFO] [stdout] | [INFO] [stdout] 66 | let context = Context::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Context` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 58 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] 58 + use lambda_http::Context; [INFO] [stdout] | [INFO] [stdout] 58 + use lambda_runtime::Context; [INFO] [stdout] | [INFO] [stdout] 58 + use tracing_subscriber::layer::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `max_stock_profit_with_logging_and_tracing` (bin "max_stock_profit_with_logging_and_tracing" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "029bcb6e996bc1924ce76fdd7bb0515ca1941a8b81ed8eb0aff02a1ee1a027e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "029bcb6e996bc1924ce76fdd7bb0515ca1941a8b81ed8eb0aff02a1ee1a027e1", kill_on_drop: false }` [INFO] [stdout] 029bcb6e996bc1924ce76fdd7bb0515ca1941a8b81ed8eb0aff02a1ee1a027e1