[INFO] cloning repository https://github.com/m-hamashita/learn_syn_crate
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/m-hamashita/learn_syn_crate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm-hamashita%2Flearn_syn_crate", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm-hamashita%2Flearn_syn_crate'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c3542d9b61b7b1414d2d314f7175190a9bacc3da
[INFO] testing m-hamashita/learn_syn_crate against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm-hamashita%2Flearn_syn_crate" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/m-hamashita/learn_syn_crate
[INFO] finished tweaking git repo https://github.com/m-hamashita/learn_syn_crate
[INFO] tweaked toml for git repo https://github.com/m-hamashita/learn_syn_crate written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/m-hamashita/learn_syn_crate on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/m-hamashita/learn_syn_crate 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d58bcee5cc994e8a8b63cab09a5ed27ca50751f94f6c7818847e73761dd075af
[INFO] running `Command { std: "docker" "start" "d58bcee5cc994e8a8b63cab09a5ed27ca50751f94f6c7818847e73761dd075af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d58bcee5cc994e8a8b63cab09a5ed27ca50751f94f6c7818847e73761dd075af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d58bcee5cc994e8a8b63cab09a5ed27ca50751f94f6c7818847e73761dd075af" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d58bcee5cc994e8a8b63cab09a5ed27ca50751f94f6c7818847e73761dd075af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d58bcee5cc994e8a8b63cab09a5ed27ca50751f94f6c7818847e73761dd075af" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.58
[INFO] [stderr]    Compiling quote v1.0.27
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling syn v2.0.16
[INFO] [stderr]    Compiling parse_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0407]: method `visit_item_struct` is not a member of trait `Visit`
[INFO] [stdout]   --> src/main.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  7 |       fn visit_item_struct(&mut self, i: &'ast syn::ItemStruct) {
[INFO] [stdout]    |       ^  ----------------- help: there is an associated function with a similar name: `visit_data_struct`
[INFO] [stdout]    |  _____|
[INFO] [stdout]    | |
[INFO] [stdout]  8 | |         println!("Found struct: {}", i.ident);
[INFO] [stdout]  9 | |         // Check dependencies in struct fields
[INFO] [stdout] 10 | |         for field in i.fields.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | |     }
[INFO] [stdout]    | |_____^ not a member of trait `Visit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0407]: method `visit_item_trait` is not a member of trait `Visit`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | /     fn visit_item_trait(&mut self, i: &'ast syn::ItemTrait) {
[INFO] [stdout] 17 | |         println!("Found trait: {}", i.ident);
[INFO] [stdout] 18 | |         // Check dependencies in supertraits
[INFO] [stdout] 19 | |         for path in i.supertraits.iter() {
[INFO] [stdout] ...  |
[INFO] [stdout] 22 | |     }
[INFO] [stdout]    | |_____^ not a member of trait `Visit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ItemStruct` in crate `syn`
[INFO] [stdout]    --> src/main.rs:7:51
[INFO] [stdout]     |
[INFO] [stdout]   7 |     fn visit_item_struct(&mut self, i: &'ast syn::ItemStruct) {
[INFO] [stdout]     |                                                   ^^^^^^^^^^ not found in `syn`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.16/src/lib.rs:388:17
[INFO] [stdout]     |
[INFO] [stdout] 383 | #[cfg(feature = "full")]
[INFO] [stdout]     |       ---------------- the item is gated behind the `full` feature
[INFO] [stdout] ...
[INFO] [stdout] 388 |     ItemStatic, ItemStruct, ItemTrait, ItemTraitAlias, ItemType, ItemUnion, ItemUse, Receiver,
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `ItemTrait` in crate `syn`
[INFO] [stdout]    --> src/main.rs:16:50
[INFO] [stdout]     |
[INFO] [stdout]  16 |     fn visit_item_trait(&mut self, i: &'ast syn::ItemTrait) {
[INFO] [stdout]     |                                                  ^^^^^^^^^ not found in `syn`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.16/src/lib.rs:388:29
[INFO] [stdout]     |
[INFO] [stdout] 383 | #[cfg(feature = "full")]
[INFO] [stdout]     |       ---------------- the item is gated behind the `full` feature
[INFO] [stdout] ...
[INFO] [stdout] 388 |     ItemStatic, ItemStruct, ItemTrait, ItemTraitAlias, ItemType, ItemUnion, ItemUse, Receiver,
[INFO] [stdout]     |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `File` in crate `syn`
[INFO] [stdout]    --> src/main.rs:27:19
[INFO] [stdout]     |
[INFO] [stdout]  27 |     let ast: syn::File = parse_str(&file_content).expect("Unable to parse the file");
[INFO] [stdout]     |                   ^^^^ not found in `syn`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.16/src/lib.rs:365:22
[INFO] [stdout]     |
[INFO] [stdout] 364 | #[cfg(feature = "full")]
[INFO] [stdout]     |       ---------------- the item is gated behind the `full` feature
[INFO] [stdout] 365 | pub use crate::file::File;
[INFO] [stdout]     |                      ^^^^
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs::File;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `File`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout]  27 -     let ast: syn::File = parse_str(&file_content).expect("Unable to parse the file");
[INFO] [stdout]  27 +     let ast: File = parse_str(&file_content).expect("Unable to parse the file");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `visit_file` in module `syn::visit`
[INFO] [stdout]     --> src/main.rs:30:17
[INFO] [stdout]      |
[INFO] [stdout]   30 |       syn::visit::visit_file(&mut visitor, &ast);
[INFO] [stdout]      |                   ^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.16/src/gen/visit.rs:1716:1
[INFO] [stdout]      |
[INFO] [stdout] 1716 | / pub fn visit_field<'ast, V>(v: &mut V, node: &'ast Field)
[INFO] [stdout] 1717 | | where
[INFO] [stdout] 1718 | |     V: Visit<'ast> + ?Sized,
[INFO] [stdout]      | |____________________________- similarly named function `visit_field` defined here
[INFO] [stdout]      |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.16/src/gen/visit.rs:1802:8
[INFO] [stdout]      |
[INFO] [stdout] 1801 | #[cfg(feature = "full")]
[INFO] [stdout]      |       ---------------- the item is gated behind the `full` feature
[INFO] [stdout] 1802 | pub fn visit_file<'ast, V>(v: &mut V, node: &'ast File)
[INFO] [stdout]      |        ^^^^^^^^^^
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout]   30 -     syn::visit::visit_file(&mut visitor, &ast);
[INFO] [stdout]   30 +     syn::visit::visit_field(&mut visitor, &ast);
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0407, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0407`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `parse_rust` (bin "parse_rust") due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "d58bcee5cc994e8a8b63cab09a5ed27ca50751f94f6c7818847e73761dd075af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d58bcee5cc994e8a8b63cab09a5ed27ca50751f94f6c7818847e73761dd075af", kill_on_drop: false }`
[INFO] [stdout] d58bcee5cc994e8a8b63cab09a5ed27ca50751f94f6c7818847e73761dd075af
