[INFO] cloning repository https://github.com/alienzj/learn-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alienzj/learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falienzj%2Flearn-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falienzj%2Flearn-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e70bfa14d6bd1d884228f49df27e39ed64d51c7 [INFO] testing alienzj/learn-rust against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falienzj%2Flearn-rust" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alienzj/learn-rust on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alienzj/learn-rust [INFO] finished tweaking git repo https://github.com/alienzj/learn-rust [INFO] tweaked toml for git repo https://github.com/alienzj/learn-rust written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/alienzj/learn-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-12/source/rust-book/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-12/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-12/source/rust-bio/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-12/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac6706c60151cd3e53c995c4990ded02b834c1b374adc3a940e9dfdd3cfac820 [INFO] running `Command { std: "docker" "start" "-a" "ac6706c60151cd3e53c995c4990ded02b834c1b374adc3a940e9dfdd3cfac820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac6706c60151cd3e53c995c4990ded02b834c1b374adc3a940e9dfdd3cfac820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac6706c60151cd3e53c995c4990ded02b834c1b374adc3a940e9dfdd3cfac820", kill_on_drop: false }` [INFO] [stdout] ac6706c60151cd3e53c995c4990ded02b834c1b374adc3a940e9dfdd3cfac820 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0c2bdce03aa100ec9ad08ca188d7ec2252f5d8ff86e204d525e8783f400ea69 [INFO] running `Command { std: "docker" "start" "-a" "c0c2bdce03aa100ec9ad08ca188d7ec2252f5d8ff86e204d525e8783f400ea69", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/rust-book/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/rust-bio/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling bio v0.32.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling array-macro v1.0.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling triple_accel v0.3.4 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling learn-rust-std v0.1.0 (/opt/rustwide/workdir/rust-std) [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stdout] error[E0432]: unresolved import `criterion` [INFO] [stdout] --> rust-std/src/io.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `criterion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_main` [INFO] [stdout] --> rust-std/src/io.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | criterion_main!(benches); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `criterion_group` [INFO] [stdout] --> rust-std/src/io.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | criterion_group!(benches, bench); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `io_test` [INFO] [stdout] --> rust-std/src/io.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use criterion::{criterion_group, criterion_main, Criterion}; [INFO] [stdout] 2 | | use std::io::prelude::*; [INFO] [stdout] 3 | | use std::io::BufWriter; [INFO] [stdout] 4 | | use std::net::TcpStream; [INFO] [stdout] ... | [INFO] [stdout] 31 | | criterion_group!(benches, bench); [INFO] [stdout] 32 | | criterion_main!(benches); [INFO] [stdout] | |_________________________^ consider adding a `main` function to `rust-std/src/io.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `learn-rust-std` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c0c2bdce03aa100ec9ad08ca188d7ec2252f5d8ff86e204d525e8783f400ea69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0c2bdce03aa100ec9ad08ca188d7ec2252f5d8ff86e204d525e8783f400ea69", kill_on_drop: false }` [INFO] [stdout] c0c2bdce03aa100ec9ad08ca188d7ec2252f5d8ff86e204d525e8783f400ea69