[INFO] cloning repository https://github.com/xianwill/kafka-player-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xianwill/kafka-player-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxianwill%2Fkafka-player-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxianwill%2Fkafka-player-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2a942e94c5470b8355fa91b358b8cb536ca48ff [INFO] checking xianwill/kafka-player-rs against master#f5f33ec0e0455eefa72fc5567eb1280a4d5ee206 for pr-83312 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxianwill%2Fkafka-player-rs" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xianwill/kafka-player-rs on toolchain f5f33ec0e0455eefa72fc5567eb1280a4d5ee206 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xianwill/kafka-player-rs [INFO] finished tweaking git repo https://github.com/xianwill/kafka-player-rs [INFO] tweaked toml for git repo https://github.com/xianwill/kafka-player-rs written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/xianwill/kafka-player-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 180bac7a7892f0a0199935387924bcda24d1da164b6c26f3e2ffd20dbb73ee96 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "180bac7a7892f0a0199935387924bcda24d1da164b6c26f3e2ffd20dbb73ee96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "180bac7a7892f0a0199935387924bcda24d1da164b6c26f3e2ffd20dbb73ee96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "180bac7a7892f0a0199935387924bcda24d1da164b6c26f3e2ffd20dbb73ee96", kill_on_drop: false }` [INFO] [stdout] 180bac7a7892f0a0199935387924bcda24d1da164b6c26f3e2ffd20dbb73ee96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e499bf8a937cf61bcaebfbd575b540c7daaace18782d0653a62aeff39f4ff18 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7e499bf8a937cf61bcaebfbd575b540c7daaace18782d0653a62aeff39f4ff18", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling openssl v0.10.31 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking nonzero_ext v0.2.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Compiling rdkafka-sys v1.3.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling openssl-sys v0.9.59 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking parking_lot_core v0.8.1 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking quanta v0.4.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking async-global-executor v1.4.3 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking const-random v0.1.13 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking dashmap v3.11.10 [INFO] [stderr] Checking no-std-compat v0.4.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Checking async-std v1.6.5 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking governor v0.3.1 [INFO] [stderr] Checking serde_json v1.0.60 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_yaml v0.8.14 [INFO] [stderr] Checking config v0.10.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling num_enum_derive v0.4.3 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking num_enum v0.4.3 [INFO] [stderr] Checking rdkafka v0.23.1 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking jsonschema v0.3.1 [INFO] [stderr] Checking kplay v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:243:28 [INFO] [stdout] | [INFO] [stdout] 243 | let buf = file_buf(&opt_path_buf); [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `std::path::PathBuf`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::path::PathBuf` [INFO] [stdout] found reference `&Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_some` found for struct `std::io::BufReader` in the current scope [INFO] [stdout] --> src/main.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | assert!(buf.is_some()); [INFO] [stdout] | ^^^^^^^ method not found in `std::io::BufReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | let buf = file_buf(&opt_path_buf); [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `std::path::PathBuf`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&std::path::PathBuf` [INFO] [stdout] found reference `&Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_none` found for struct `std::io::BufReader` in the current scope [INFO] [stdout] --> src/main.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | assert!(buf.is_none()); [INFO] [stdout] | ^^^^^^^ method not found in `std::io::BufReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/main.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | let f = read_iter( [INFO] [stdout] | ^^^^^^^^^ expected 5 arguments [INFO] [stdout] 270 | 1, [INFO] [stdout] | - [INFO] [stdout] 271 | 3, [INFO] [stdout] | - [INFO] [stdout] 272 | / |send_count, line| { [INFO] [stdout] 273 | | assert_eq!(test_count, send_count); [INFO] [stdout] 274 | | assert_eq!(message_slice[test_count as usize].clone().unwrap(), line); [INFO] [stdout] 275 | | [INFO] [stdout] 276 | | test_count += 1; [INFO] [stdout] 277 | | }, [INFO] [stdout] | |_____________- [INFO] [stdout] 278 | message_iter, [INFO] [stdout] | ------------ supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | async fn read_iter( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 147 | message_rate: u32, [INFO] [stdout] | ----------------- [INFO] [stdout] 148 | message_count: u32, [INFO] [stdout] | ------------------ [INFO] [stdout] 149 | mut callback: F, [INFO] [stdout] | --------------- [INFO] [stdout] 150 | messages: T, [INFO] [stdout] | ----------- [INFO] [stdout] 151 | send_count: &mut u32, [INFO] [stdout] | -------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/main.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | let f = read_iter( [INFO] [stdout] | ^^^^^^^^^ expected 5 arguments [INFO] [stdout] 306 | 1, [INFO] [stdout] | - [INFO] [stdout] 307 | 3, [INFO] [stdout] | - [INFO] [stdout] 308 | / |send_count, line| { [INFO] [stdout] 309 | | assert_eq!(test_count, send_count); [INFO] [stdout] 310 | | assert_eq!(message_slice[test_count as usize].clone().unwrap(), line); [INFO] [stdout] 311 | | [INFO] [stdout] 312 | | test_count += 1; [INFO] [stdout] 313 | | }, [INFO] [stdout] | |_____________- [INFO] [stdout] 314 | message_iter, [INFO] [stdout] | ------------ supplied 4 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:146:10 [INFO] [stdout] | [INFO] [stdout] 146 | async fn read_iter( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 147 | message_rate: u32, [INFO] [stdout] | ----------------- [INFO] [stdout] 148 | message_count: u32, [INFO] [stdout] | ------------------ [INFO] [stdout] 149 | mut callback: F, [INFO] [stdout] | --------------- [INFO] [stdout] 150 | messages: T, [INFO] [stdout] | ----------- [INFO] [stdout] 151 | send_count: &mut u32, [INFO] [stdout] | -------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kplay` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7e499bf8a937cf61bcaebfbd575b540c7daaace18782d0653a62aeff39f4ff18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e499bf8a937cf61bcaebfbd575b540c7daaace18782d0653a62aeff39f4ff18", kill_on_drop: false }` [INFO] [stdout] 7e499bf8a937cf61bcaebfbd575b540c7daaace18782d0653a62aeff39f4ff18