[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#79452e8441468c5568c20bfca2aa1fe75b645b2d for pr-152210 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcleitonaugusto%2Fasync-graphql-dataloader" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cleitonaugusto/async-graphql-dataloader on toolchain 79452e8441468c5568c20bfca2aa1fe75b645b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "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" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "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_meta v2.8.2 [INFO] [stderr] Downloaded async-graphql-derive v5.0.10 [INFO] [stderr] Downloaded pest_derive v2.8.2 [INFO] [stderr] Downloaded async-graphql-value v5.0.10 [INFO] [stderr] Downloaded async-graphql-parser v5.0.10 [INFO] [stderr] Downloaded pest_generator v2.8.2 [INFO] [stderr] Downloaded pest 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 733dfbd469f3523ff7a6b4da22a5232937ef2a10fd9ac542698f6034631dbdd6 [INFO] running `Command { std: "docker" "start" "-a" "733dfbd469f3523ff7a6b4da22a5232937ef2a10fd9ac542698f6034631dbdd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "733dfbd469f3523ff7a6b4da22a5232937ef2a10fd9ac542698f6034631dbdd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "733dfbd469f3523ff7a6b4da22a5232937ef2a10fd9ac542698f6034631dbdd6", kill_on_drop: false }` [INFO] [stdout] 733dfbd469f3523ff7a6b4da22a5232937ef2a10fd9ac542698f6034631dbdd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+79452e8441468c5568c20bfca2aa1fe75b645b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e21efbc11a5e658cad7b464f2bbd21cb6fca10763c8b5fccde79750fd4a6d5ed [INFO] running `Command { std: "docker" "start" "-a" "e21efbc11a5e658cad7b464f2bbd21cb6fca10763c8b5fccde79750fd4a6d5ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [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/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[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] 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] [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[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] [stderr] error: could not compile `async-graphql-dataloader` (bench "performance_comparison") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `async-graphql-dataloader` (bench "benchmark") due to 3 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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 "real_world_benchmark") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "e21efbc11a5e658cad7b464f2bbd21cb6fca10763c8b5fccde79750fd4a6d5ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e21efbc11a5e658cad7b464f2bbd21cb6fca10763c8b5fccde79750fd4a6d5ed", kill_on_drop: false }` [INFO] [stdout] e21efbc11a5e658cad7b464f2bbd21cb6fca10763c8b5fccde79750fd4a6d5ed