[INFO] cloning repository https://github.com/cleitonaugusto/async-graphql-dataloader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cleitonaugusto/async-graphql-dataloader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcleitonaugusto%2Fasync-graphql-dataloader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcleitonaugusto%2Fasync-graphql-dataloader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3ef75c6d1977d2305d72ddd90f7229458373240 [INFO] checking cleitonaugusto/async-graphql-dataloader against try#446cb600aa4837dd6c513f14fa0d25a909b177d7 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcleitonaugusto%2Fasync-graphql-dataloader" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cleitonaugusto/async-graphql-dataloader [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/cleitonaugusto/async-graphql-dataloader [INFO] tweaked toml for git repo https://github.com/cleitonaugusto/async-graphql-dataloader written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cleitonaugusto/async-graphql-dataloader on toolchain 446cb600aa4837dd6c513f14fa0d25a909b177d7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cleitonaugusto/async-graphql-dataloader 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" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "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 pest_derive v2.8.2 [INFO] [stderr] Downloaded ascii_utils v0.9.3 [INFO] [stderr] Downloaded async-graphql-parser v5.0.10 [INFO] [stderr] Downloaded async-graphql-value v5.0.10 [INFO] [stderr] Downloaded fast_chemail v0.9.6 [INFO] [stderr] Downloaded async-graphql-derive v5.0.10 [INFO] [stderr] Downloaded handlebars v4.5.0 [INFO] [stderr] Downloaded pest_generator v2.8.2 [INFO] [stderr] Downloaded pest_meta v2.8.2 [INFO] [stderr] Downloaded async-graphql v5.0.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce88178f5a291a3cef675cad0790e062b8715b1b911094a47d5c615d9cdb46f0 [INFO] running `Command { std: "docker" "start" "-a" "ce88178f5a291a3cef675cad0790e062b8715b1b911094a47d5c615d9cdb46f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce88178f5a291a3cef675cad0790e062b8715b1b911094a47d5c615d9cdb46f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce88178f5a291a3cef675cad0790e062b8715b1b911094a47d5c615d9cdb46f0", kill_on_drop: false }` [INFO] [stdout] ce88178f5a291a3cef675cad0790e062b8715b1b911094a47d5c615d9cdb46f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+446cb600aa4837dd6c513f14fa0d25a909b177d7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9144a27b28b7b7a84b1c77fbc6f14474d0bae1610c287ab08c597a31a924bfc4 [INFO] running `Command { std: "docker" "start" "-a" "9144a27b28b7b7a84b1c77fbc6f14474d0bae1610c287ab08c597a31a924bfc4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking async-graphql-dataloader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/benchmark.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/performance_comparison.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> benches/real_world_benchmark.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/benchmark.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | c.bench_function("simple_load", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 37 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 36 | c.bench_function("simple_load", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `criterion` [INFO] [stdout] --> benches/benchmark.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | criterion::black_box(result); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-graphql-dataloader` (bench "benchmark") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/performance_comparison.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | |b, &size| { [INFO] [stdout] | ^ [INFO] [stdout] 56 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 55 | |b: /* Type */, &size| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `criterion` [INFO] [stdout] --> benches/performance_comparison.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | criterion::black_box(results); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/performance_comparison.rs:79:56 [INFO] [stdout] | [INFO] [stdout] 79 | group.bench_function("multiple_sequential_loads", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 80 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 79 | group.bench_function("multiple_sequential_loads", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `criterion` [INFO] [stdout] --> benches/performance_comparison.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | criterion::black_box(results); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/performance_comparison.rs:95:57 [INFO] [stdout] | [INFO] [stdout] 95 | group.bench_function("parallel_loads_with_clones", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 96 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 95 | group.bench_function("parallel_loads_with_clones", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `criterion` [INFO] [stdout] --> benches/performance_comparison.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | criterion::black_box(results); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/real_world_benchmark.rs:55:55 [INFO] [stdout] | [INFO] [stdout] 55 | group.bench_function("10_requests_50ms_latency", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 56 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 55 | group.bench_function("10_requests_50ms_latency", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `criterion` [INFO] [stdout] --> benches/real_world_benchmark.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | criterion::black_box(results); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/real_world_benchmark.rs:68:56 [INFO] [stdout] | [INFO] [stdout] 68 | group.bench_function("1000_requests_5ms_latency", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 69 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 68 | group.bench_function("1000_requests_5ms_latency", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `criterion` [INFO] [stdout] --> benches/real_world_benchmark.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | criterion::black_box(results); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/real_world_benchmark.rs:83:60 [INFO] [stdout] | [INFO] [stdout] 83 | group.bench_function("cache_performance_100_repeats", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 84 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 83 | group.bench_function("cache_performance_100_repeats", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `criterion` [INFO] [stdout] --> benches/real_world_benchmark.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | criterion::black_box(first_load); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `criterion` [INFO] [stdout] --> benches/real_world_benchmark.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | criterion::black_box(result); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/real_world_benchmark.rs:110:59 [INFO] [stdout] | [INFO] [stdout] 110 | group.bench_function("without_dataloader_100_items", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 111 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 110 | group.bench_function("without_dataloader_100_items", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `criterion` [INFO] [stdout] --> benches/real_world_benchmark.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | criterion::black_box(&results); // Use borrow do vetor [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> benches/real_world_benchmark.rs:126:56 [INFO] [stdout] | [INFO] [stdout] 126 | group.bench_function("with_dataloader_100_items", |b| { [INFO] [stdout] | ^ [INFO] [stdout] 127 | b.iter(|| { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 126 | group.bench_function("with_dataloader_100_items", |b: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `criterion` [INFO] [stdout] --> benches/real_world_benchmark.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | criterion::black_box(results); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `criterion` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `criterion`, use `cargo add criterion` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-graphql-dataloader` (bench "performance_comparison") due to 7 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-graphql-dataloader` (bench "real_world_benchmark") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "9144a27b28b7b7a84b1c77fbc6f14474d0bae1610c287ab08c597a31a924bfc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9144a27b28b7b7a84b1c77fbc6f14474d0bae1610c287ab08c597a31a924bfc4", kill_on_drop: false }` [INFO] [stdout] 9144a27b28b7b7a84b1c77fbc6f14474d0bae1610c287ab08c597a31a924bfc4