[INFO] updating cached repository https://github.com/onah/ciana_rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f713422d831b27f0f2a4007f53ceee8fdcc8e6ae [INFO] testing onah/ciana_rust against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonah%2Fciana_rust" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/onah/ciana_rust on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/onah/ciana_rust [INFO] finished tweaking git repo https://github.com/onah/ciana_rust [INFO] tweaked toml for git repo https://github.com/onah/ciana_rust written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/onah/ciana_rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] f837c7112d3c0493915a1457f6dc5ccc4f51192cbfeca28a46bbcaee068f2aa0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "f837c7112d3c0493915a1457f6dc5ccc4f51192cbfeca28a46bbcaee068f2aa0"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling clang v0.23.0 [INFO] [stderr] Compiling ciana v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0407]: method `is_global_variable` is not a member of trait `AstReader` [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:82:3 [INFO] [stderr] | [INFO] [stderr] 82 | / fn is_global_variable(target: &SourceLocation) -> Result { [INFO] [stderr] 83 | | let cl = clang::Clang::new()?; [INFO] [stderr] 84 | | let index = clang::Index::new(&cl, false, false); [INFO] [stderr] 85 | | let tu = index.parser(target.filename.clone()).parse()?; [INFO] [stderr] ... | [INFO] [stderr] 88 | | Ok(result) [INFO] [stderr] 89 | | } [INFO] [stderr] | |___^ not a member of trait `AstReader` [INFO] [stderr] [INFO] [stderr] error[E0407]: method `visitor_children_for_global_variable` is not a member of trait `AstReader` [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:91:3 [INFO] [stderr] | [INFO] [stderr] 91 | / fn visitor_children_for_global_variable( [INFO] [stderr] 92 | | entity: clang::Entity, [INFO] [stderr] 93 | | target: &SourceLocation, [INFO] [stderr] 94 | | mut is_found: bool, [INFO] [stderr] ... | [INFO] [stderr] 110 | | false [INFO] [stderr] 111 | | } [INFO] [stderr] | |___^ not a member of trait `AstReader` [INFO] [stderr] [INFO] [stderr] error[E0407]: method `get_all_complie_source_file` is not a member of trait `AstReader` [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:113:3 [INFO] [stderr] | [INFO] [stderr] 113 | / fn get_all_complie_source_file() -> Result, CianaError> { [INFO] [stderr] 114 | | let mut results = Vec::new(); [INFO] [stderr] 115 | | [INFO] [stderr] 116 | | let compilation_database_path = get_compilation_database_path()?; [INFO] [stderr] ... | [INFO] [stderr] 132 | | Ok(results) [INFO] [stderr] 133 | | } [INFO] [stderr] | |___^ not a member of trait `AstReader` [INFO] [stderr] [INFO] [stderr] error[E0407]: method `visitor_children_for_variables` is not a member of trait `AstReader` [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:135:3 [INFO] [stderr] | [INFO] [stderr] 135 | / fn visitor_children_for_variables( [INFO] [stderr] 136 | | entity: clang::Entity, [INFO] [stderr] 137 | | target: &SourceLocation, [INFO] [stderr] 138 | | ) -> Vec { [INFO] [stderr] ... | [INFO] [stderr] 155 | | results [INFO] [stderr] 156 | | } [INFO] [stderr] | |___^ not a member of trait `AstReader` [INFO] [stderr] [INFO] [stderr] error[E0407]: method `is_same_target` is not a member of trait `AstReader` [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:158:3 [INFO] [stderr] | [INFO] [stderr] 158 | / fn is_same_target(entity: &clang::Entity, target: &SourceLocation) -> bool { [INFO] [stderr] 159 | | //print_entiry_simple(&entity); [INFO] [stderr] 160 | | let comparison = match get_source_location_from_entity(entity) { [INFO] [stderr] 161 | | Some(v) => v, [INFO] [stderr] ... | [INFO] [stderr] 165 | | &comparison == target [INFO] [stderr] 166 | | } [INFO] [stderr] | |___^ not a member of trait `AstReader` [INFO] [stderr] [INFO] [stderr] error[E0407]: method `get_source_location_from_entity` is not a member of trait `AstReader` [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:168:3 [INFO] [stderr] | [INFO] [stderr] 168 | / fn get_source_location_from_entity(entity: &clang::Entity) -> Option { [INFO] [stderr] 169 | | let location = match entity.get_location() { [INFO] [stderr] 170 | | Some(v) => v, [INFO] [stderr] 171 | | None => return None, [INFO] [stderr] ... | [INFO] [stderr] 184 | | }) [INFO] [stderr] 185 | | } [INFO] [stderr] | |___^ not a member of trait `AstReader` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_source_location_from_entity` in this scope [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:20:11 [INFO] [stderr] | [INFO] [stderr] 18 | fn get_reference_location_from_entiry(entity: &clang::Entity) -> Option { [INFO] [stderr] | --------------------------------------------------------------------------------------- similarly named function `get_reference_location_from_entiry` defined here [INFO] [stderr] 19 | if let Some(v) = entity.get_reference() { [INFO] [stderr] 20 | get_source_location_from_entity(&v) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_reference_location_from_entiry` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `is_same_target` in this scope [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:31:45 [INFO] [stderr] | [INFO] [stderr] 31 | let result: Option = if is_same_target(&entity, target) { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `is_global_variable` in this scope [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:60:29 [INFO] [stderr] | [INFO] [stderr] 60 | let search_paths = if is_global_variable(target)? { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_all_complie_source_file` in this scope [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:61:11 [INFO] [stderr] | [INFO] [stderr] 61 | get_all_complie_source_file()? [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `visitor_children_for_variables` in this scope [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:75:25 [INFO] [stderr] | [INFO] [stderr] 27 | / fn visitor_children_for_reference( [INFO] [stderr] 28 | | entity: clang::Entity, [INFO] [stderr] 29 | | target: &SourceLocation, [INFO] [stderr] 30 | | ) -> Option { [INFO] [stderr] ... | [INFO] [stderr] 43 | | result [INFO] [stderr] 44 | | } [INFO] [stderr] | |_- similarly named function `visitor_children_for_reference` defined here [INFO] [stderr] ... [INFO] [stderr] 75 | let results = visitor_children_for_variables(entity, &target); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `visitor_children_for_reference` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `visitor_children_for_global_variable` in this scope [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:87:20 [INFO] [stderr] | [INFO] [stderr] 87 | let result = visitor_children_for_global_variable(entity, &target, false); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `is_same_target` in this scope [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:100:10 [INFO] [stderr] | [INFO] [stderr] 100 | if is_same_target(&entity, target) { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `visitor_children_for_global_variable` in this scope [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:106:14 [INFO] [stderr] | [INFO] [stderr] 106 | if visitor_children_for_global_variable(*child, target, is_found) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_compilation_database_path` in this scope [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:116:39 [INFO] [stderr] | [INFO] [stderr] 116 | let compilation_database_path = get_compilation_database_path()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 11 | use crate::get_compilation_database_path; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `absolute_to_relative` in this scope [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:128:22 [INFO] [stderr] | [INFO] [stderr] 128 | let path = absolute_to_relative(&std::path::PathBuf::from(path))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 11 | use crate::absolute_to_relative; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `is_same_target` in this scope [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:143:29 [INFO] [stderr] | [INFO] [stderr] 143 | if r != entity && is_same_target(&r, target) { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_source_location_from_entity` in this scope [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:144:28 [INFO] [stderr] | [INFO] [stderr] 18 | fn get_reference_location_from_entiry(entity: &clang::Entity) -> Option { [INFO] [stderr] | --------------------------------------------------------------------------------------- similarly named function `get_reference_location_from_entiry` defined here [INFO] [stderr] ... [INFO] [stderr] 144 | results.push(get_source_location_from_entity(&entity).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_reference_location_from_entiry` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `visitor_children_for_variables` in this scope [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:151:21 [INFO] [stderr] | [INFO] [stderr] 27 | / fn visitor_children_for_reference( [INFO] [stderr] 28 | | entity: clang::Entity, [INFO] [stderr] 29 | | target: &SourceLocation, [INFO] [stderr] 30 | | ) -> Option { [INFO] [stderr] ... | [INFO] [stderr] 43 | | result [INFO] [stderr] 44 | | } [INFO] [stderr] | |_- similarly named function `visitor_children_for_reference` defined here [INFO] [stderr] ... [INFO] [stderr] 151 | let res = visitor_children_for_variables(*child, target); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `visitor_children_for_reference` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `get_source_location_from_entity` in this scope [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:160:30 [INFO] [stderr] | [INFO] [stderr] 18 | fn get_reference_location_from_entiry(entity: &clang::Entity) -> Option { [INFO] [stderr] | --------------------------------------------------------------------------------------- similarly named function `get_reference_location_from_entiry` defined here [INFO] [stderr] ... [INFO] [stderr] 160 | let comparison = match get_source_location_from_entity(entity) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_reference_location_from_entiry` [INFO] [stderr] [INFO] [stderr] error[E0186]: method `get_same_variables_location` has a `&self` declaration in the trait, but not in the impl [INFO] [stderr] --> src/ast_reader/libclang_ast_reader.rs:59:3 [INFO] [stderr] | [INFO] [stderr] 59 | fn get_same_variables_location(target: &SourceLocation) -> Result, CianaError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&self` in impl [INFO] [stderr] | [INFO] [stderr] ::: src/ast_reader/mod.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | fn get_same_variables_location(&self, target: &SourceLocation) -> Result, CianaError>; [INFO] [stderr] | ---------------------------------------------------------------------------------------------------------- `&self` used in trait [INFO] [stderr] [INFO] [stderr] error: aborting due to 21 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0186, E0407, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0186`. [INFO] [stderr] error: could not compile `ciana`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "f837c7112d3c0493915a1457f6dc5ccc4f51192cbfeca28a46bbcaee068f2aa0"` [INFO] running `"docker" "rm" "-f" "f837c7112d3c0493915a1457f6dc5ccc4f51192cbfeca28a46bbcaee068f2aa0"` [INFO] [stdout] f837c7112d3c0493915a1457f6dc5ccc4f51192cbfeca28a46bbcaee068f2aa0