[INFO] cloning repository https://github.com/foresterre/pesttest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/foresterre/pesttest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforesterre%2Fpesttest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforesterre%2Fpesttest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29a43509acce20dc3aa7962efa3328e7184be53d [INFO] checking foresterre/pesttest/29a43509acce20dc3aa7962efa3328e7184be53d against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforesterre%2Fpesttest" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foresterre/pesttest on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/foresterre/pesttest [INFO] finished tweaking git repo https://github.com/foresterre/pesttest [INFO] tweaked toml for git repo https://github.com/foresterre/pesttest written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/foresterre/pesttest 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest v1.0.6 [INFO] [stderr] Downloaded pest_derive v1.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a698231bb4dafa35024e0dce012d0263601adac810a57ef57f0d3ed6a5464a5b [INFO] running `Command { std: "docker" "start" "-a" "a698231bb4dafa35024e0dce012d0263601adac810a57ef57f0d3ed6a5464a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a698231bb4dafa35024e0dce012d0263601adac810a57ef57f0d3ed6a5464a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a698231bb4dafa35024e0dce012d0263601adac810a57ef57f0d3ed6a5464a5b", kill_on_drop: false }` [INFO] [stdout] a698231bb4dafa35024e0dce012d0263601adac810a57ef57f0d3ed6a5464a5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 201192bd283b19e26451ef79d933e17604f340440c55ff948c6a8b7209098537 [INFO] running `Command { std: "docker" "start" "-a" "201192bd283b19e26451ef79d933e17604f340440c55ff948c6a8b7209098537", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition` has been stabilized in the 1.31 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling pest_derive v1.0.7 [INFO] [stderr] Checking csv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rust_2018_preview)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: 2018 Edition preview is no longer relevant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(rust_2018_preview)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: 2018 Edition preview is no longer relevant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parser` in this scope [INFO] [stdout] --> src/main.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Parser)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 4 + use pest_derive::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Parser` in this scope [INFO] [stdout] --> src/main.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Parser)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 4 + use pest_derive::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `grammar` in this scope [INFO] [stdout] --> src/main.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[grammar = "csv.pest"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `grammar` in this scope [INFO] [stdout] --> src/main.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[grammar = "csv.pest"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `CSVParser` in the current scope [INFO] [stdout] --> src/main.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CSVParser; [INFO] [stdout] | -------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | let successful_parse = CSVParser::parse(Rule::field, "-273.15"); [INFO] [stdout] | ^^^^^ function or associated item not found in `CSVParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `CSVParser` in the current scope [INFO] [stdout] --> src/main.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CSVParser; [INFO] [stdout] | -------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | let successful_parse = CSVParser::parse(Rule::field, "-273.15"); [INFO] [stdout] | ^^^^^ function or associated item not found in `CSVParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> src/main.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | let successful_parse = CSVParser::parse(Rule::field, "-273.15"); [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> src/main.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | let successful_parse = CSVParser::parse(Rule::field, "-273.15"); [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `CSVParser` in the current scope [INFO] [stdout] --> src/main.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CSVParser; [INFO] [stdout] | -------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | let unsuccessful_parse = CSVParser::parse(Rule::field, "this is not a number"); [INFO] [stdout] | ^^^^^ function or associated item not found in `CSVParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `CSVParser` in the current scope [INFO] [stdout] --> src/main.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CSVParser; [INFO] [stdout] | -------------------- function or associated item `parse` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 25 | let unsuccessful_parse = CSVParser::parse(Rule::field, "this is not a number"); [INFO] [stdout] | ^^^^^ function or associated item not found in `CSVParser` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `parse`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> src/main.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | let unsuccessful_parse = CSVParser::parse(Rule::field, "this is not a number"); [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rule` [INFO] [stdout] --> src/main.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | let unsuccessful_parse = CSVParser::parse(Rule::field, "this is not a number"); [INFO] [stdout] | ^^^^ use of undeclared type `Rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0557, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `csv` (bin "csv") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `csv` (bin "csv" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "201192bd283b19e26451ef79d933e17604f340440c55ff948c6a8b7209098537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "201192bd283b19e26451ef79d933e17604f340440c55ff948c6a8b7209098537", kill_on_drop: false }` [INFO] [stdout] 201192bd283b19e26451ef79d933e17604f340440c55ff948c6a8b7209098537