[INFO] cloning repository https://github.com/towychico/criptoMexicoTIJ2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/towychico/criptoMexicoTIJ2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftowychico%2FcriptoMexicoTIJ2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftowychico%2FcriptoMexicoTIJ2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26905221579419a42f5ec77fda42592c4d565d20 [INFO] testing towychico/criptoMexicoTIJ2023 against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftowychico%2FcriptoMexicoTIJ2023" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/towychico/criptoMexicoTIJ2023 on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/towychico/criptoMexicoTIJ2023 [INFO] finished tweaking git repo https://github.com/towychico/criptoMexicoTIJ2023 [INFO] tweaked toml for git repo https://github.com/towychico/criptoMexicoTIJ2023 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/towychico/criptoMexicoTIJ2023 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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2d8c09e50ebbfc946ca464609b35cf740337fd2fbbc93f8c2e01236d89ba4b2 [INFO] running `Command { std: "docker" "start" "-a" "c2d8c09e50ebbfc946ca464609b35cf740337fd2fbbc93f8c2e01236d89ba4b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2d8c09e50ebbfc946ca464609b35cf740337fd2fbbc93f8c2e01236d89ba4b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2d8c09e50ebbfc946ca464609b35cf740337fd2fbbc93f8c2e01236d89ba4b2", kill_on_drop: false }` [INFO] [stdout] c2d8c09e50ebbfc946ca464609b35cf740337fd2fbbc93f8c2e01236d89ba4b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 805a50c038b6ca0cffcacf0557cfa35f47b9c60cb75739bdb10778306e188bf8 [INFO] running `Command { std: "docker" "start" "-a" "805a50c038b6ca0cffcacf0557cfa35f47b9c60cb75739bdb10778306e188bf8", kill_on_drop: false }` [INFO] [stderr] Compiling crypto_mexico_tij_23 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/data_structures_module.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub stack:Vec [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: perhaps you intended to use this type [INFO] [stdout] | [INFO] [stdout] 12 - pub stack:Vec [INFO] [stdout] 12 + pub stack:Vec [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Stack{ [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/data_structures_module.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | impl Stack { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/data_structures_module.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn peek(&mut self) ->Option<&T>{ [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | impl Stack { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/data_structures_module.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | let last_element:Option<&T> = self.stack.last(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | impl Stack { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/data_structures_module.rs:44:50 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn dfs(graph:Graph, start:u64) -> Vec> { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | pub fn dfs(graph:Graph, start:u64) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/test_graph.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use(c)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/data_structures_module.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | visited[start] = true; [INFO] [stdout] | ^^^^^ expected `&_`, found `u64` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u64` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 49 | visited[&start] = true; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/data_structures_module.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | stack.push(vertex) [INFO] [stdout] | ---- ^^^^^^ expected `u64`, found `&_` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found reference `&_` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/data_structures_module.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn push(&mut self,element:u64){ [INFO] [stdout] | ^^^^ ----------- [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 60 | stack.push(*vertex) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `models::Stack` in the current scope [INFO] [stdout] --> src/test_graph.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | let mut test = Stack::new(); [INFO] [stdout] | ^^^ function or associated item not found in `Stack` [INFO] [stdout] | [INFO] [stdout] ::: src/models.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Stack { [INFO] [stdout] | ---------------- function or associated item `new` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto_mexico_tij_23` (bin "crypto_mexico_tij_23") due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "805a50c038b6ca0cffcacf0557cfa35f47b9c60cb75739bdb10778306e188bf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805a50c038b6ca0cffcacf0557cfa35f47b9c60cb75739bdb10778306e188bf8", kill_on_drop: false }` [INFO] [stdout] 805a50c038b6ca0cffcacf0557cfa35f47b9c60cb75739bdb10778306e188bf8