[INFO] cloning repository https://github.com/retep007/rustybox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/retep007/rustybox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretep007%2Frustybox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretep007%2Frustybox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66aa7400ecaf7abbdc9136253c3f8a63217bd69b [INFO] testing retep007/rustybox against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretep007%2Frustybox" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/retep007/rustybox on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/retep007/rustybox [INFO] finished tweaking git repo https://github.com/retep007/rustybox [INFO] tweaked toml for git repo https://github.com/retep007/rustybox written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/retep007/rustybox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0684b3a468b67477527329dd5700bbb150afc83c4f9e41692385fb98e57c8a1c [INFO] running `Command { std: "docker" "start" "-a" "0684b3a468b67477527329dd5700bbb150afc83c4f9e41692385fb98e57c8a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0684b3a468b67477527329dd5700bbb150afc83c4f9e41692385fb98e57c8a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0684b3a468b67477527329dd5700bbb150afc83c4f9e41692385fb98e57c8a1c", kill_on_drop: false }` [INFO] [stdout] 0684b3a468b67477527329dd5700bbb150afc83c4f9e41692385fb98e57c8a1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 26794c9f5d3c7eb24a4931671fe325323bc7c58cc8900276bd7ca5cf0231d2eb [INFO] running `Command { std: "docker" "start" "-a" "26794c9f5d3c7eb24a4931671fe325323bc7c58cc8900276bd7ca5cf0231d2eb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.5.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling ctrlc v3.1.3 [INFO] [stderr] Compiling rustyline v5.0.4 [INFO] [stderr] Compiling crabbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `buf` in this scope [INFO] [stdout] --> src/rcrab.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | stdin.read(buf: &mut [u8]) [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rcrab.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 42 | / match fork()? { [INFO] [stdout] 43 | | ForkResult::Parent { .. } => { [INFO] [stdout] 44 | | let mut flags = PollFlags::empty(); [INFO] [stdout] 45 | | flags.insert(PollFlags::POLLIN); [INFO] [stdout] ... | [INFO] [stdout] 87 | | stdin.read(buf: &mut [u8]) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `std::result::Result` [INFO] [stdout] ... | [INFO] [stdout] 91 | | ForkResult::Child => run_child(child_write, child_read)?, [INFO] [stdout] 92 | | } [INFO] [stdout] | |_____- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] help: try adding a semicolon [INFO] [stdout] | [INFO] [stdout] 87 | stdin.read(buf: &mut [u8]); [INFO] [stdout] | ^ [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 92 | }; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crabbox`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "26794c9f5d3c7eb24a4931671fe325323bc7c58cc8900276bd7ca5cf0231d2eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26794c9f5d3c7eb24a4931671fe325323bc7c58cc8900276bd7ca5cf0231d2eb", kill_on_drop: false }` [INFO] [stdout] 26794c9f5d3c7eb24a4931671fe325323bc7c58cc8900276bd7ca5cf0231d2eb