[INFO] cloning repository https://github.com/rogpeppe/fstream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rogpeppe/fstream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frogpeppe%2Ffstream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frogpeppe%2Ffstream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2a5087fad0bcedab11d5bb3dfb5075d48c749f8 [INFO] checking rogpeppe/fstream against try#da0275e101cdc809ce291ed8b64d6f82c6b65467 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frogpeppe%2Ffstream" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rogpeppe/fstream on toolchain da0275e101cdc809ce291ed8b64d6f82c6b65467 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rogpeppe/fstream [INFO] finished tweaking git repo https://github.com/rogpeppe/fstream [INFO] tweaked toml for git repo https://github.com/rogpeppe/fstream written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rogpeppe/fstream 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" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "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 snafu v0.6.10 [INFO] [stderr] Downloaded beef v0.5.0 [INFO] [stderr] Downloaded snafu-derive v0.6.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2389364be74a0bd84b66b147c57f920cbaabead6c74f9786cb6df8327db1eb1 [INFO] running `Command { std: "docker" "start" "-a" "d2389364be74a0bd84b66b147c57f920cbaabead6c74f9786cb6df8327db1eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2389364be74a0bd84b66b147c57f920cbaabead6c74f9786cb6df8327db1eb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2389364be74a0bd84b66b147c57f920cbaabead6c74f9786cb6df8327db1eb1", kill_on_drop: false }` [INFO] [stdout] d2389364be74a0bd84b66b147c57f920cbaabead6c74f9786cb6df8327db1eb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c0adde0df47ebfedde4c4f47daae059636e3edc6d8863789e4cffccca7dda5d [INFO] running `Command { std: "docker" "start" "-a" "9c0adde0df47ebfedde4c4f47daae059636e3edc6d8863789e4cffccca7dda5d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling beef v0.5.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking fstream v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected item, found `;` [INFO] [stdout] --> src/walk.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: braced struct declarations are not followed by a semicolon [INFO] [stdout] help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] 23 - }; [INFO] [stdout] 23 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item, found `;` [INFO] [stdout] --> src/walk.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: braced struct declarations are not followed by a semicolon [INFO] [stdout] help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] 23 - }; [INFO] [stdout] 23 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Command` [INFO] [stdout] --> src/walk.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / Command(CommandType { [INFO] [stdout] 13 | | flags: vec![], [INFO] [stdout] 14 | | args: vec![types::string()], [INFO] [stdout] 15 | | var_args: None, [INFO] [stdout] 16 | | ret: types::fs(), [INFO] [stdout] 17 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] ... [INFO] [stdout] 20 | / struct Command{ [INFO] [stdout] 21 | | types: fs::Types, [INFO] [stdout] 22 | | ctype: CommandType, [INFO] [stdout] 23 | | }; [INFO] [stdout] | |_- `Command` defined here [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 12 | Command { types: val, ctype: val } [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parse::ASTNode::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `Command` [INFO] [stdout] --> src/walk.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / Command(CommandType { [INFO] [stdout] 13 | | flags: vec![], [INFO] [stdout] 14 | | args: vec![types::string()], [INFO] [stdout] 15 | | var_args: None, [INFO] [stdout] 16 | | ret: types::fs(), [INFO] [stdout] 17 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] ... [INFO] [stdout] 20 | / struct Command{ [INFO] [stdout] 21 | | types: fs::Types, [INFO] [stdout] 22 | | ctype: CommandType, [INFO] [stdout] 23 | | }; [INFO] [stdout] | |_- `Command` defined here [INFO] [stdout] | [INFO] [stdout] help: use struct literal syntax instead [INFO] [stdout] | [INFO] [stdout] 12 | Command { types: val, ctype: val } [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::parse::ASTNode::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | let walkfs = walk::new_command().start( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/walk.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new_command(types: fs::Types) -> impl super::Command { [INFO] [stdout] | ^^^^^^^^^^^ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 67 | let walkfs = walk::new_command(/* types */).start( [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | let walkfs = walk::new_command().start( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/walk.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new_command(types: fs::Types) -> impl super::Command { [INFO] [stdout] | ^^^^^^^^^^^ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 67 | let walkfs = walk::new_command(/* types */).start( [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> src/walk.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | args: vec![types::string()], [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> src/walk.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | ret: types::fs(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> src/walk.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | args: vec![types::string()], [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `types` [INFO] [stdout] --> src/walk.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | ret: types::fs(), [INFO] [stdout] | ^^^^^ use of undeclared crate or module `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | ("walk", Box::new(walk::new_command())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/walk.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new_command(types: fs::Types) -> impl super::Command { [INFO] [stdout] | ^^^^^^^^^^^ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 89 | ("walk", Box::new(walk::new_command(/* types */))), [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/main.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | ("walk", Box::new(walk::new_command())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/walk.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new_command(types: fs::Types) -> impl super::Command { [INFO] [stdout] | ^^^^^^^^^^^ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 89 | ("walk", Box::new(walk::new_command(/* types */))), [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/walk.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new_command(types: fs::Types) -> impl super::Command { [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/walk.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | types: fs::Types, [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0423, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fstream` (bin "fstream" test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/walk.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new_command(types: fs::Types) -> impl super::Command { [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/walk.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | types: fs::Types, [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0423, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fstream` (bin "fstream") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "9c0adde0df47ebfedde4c4f47daae059636e3edc6d8863789e4cffccca7dda5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c0adde0df47ebfedde4c4f47daae059636e3edc6d8863789e4cffccca7dda5d", kill_on_drop: false }` [INFO] [stdout] 9c0adde0df47ebfedde4c4f47daae059636e3edc6d8863789e4cffccca7dda5d