[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] checking towychico/criptoMexicoTIJ2023 against try#29194e8f603400afdb2f86c9418e9fccb1628ea0 for pr-135331-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftowychico%2FcriptoMexicoTIJ2023" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/towychico/criptoMexicoTIJ2023 on toolchain 29194e8f603400afdb2f86c9418e9fccb1628ea0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "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-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e39614ae93f851ddc350872229588cda87993170861ae341489b8d8642f66fb6 [INFO] running `Command { std: "docker" "start" "-a" "e39614ae93f851ddc350872229588cda87993170861ae341489b8d8642f66fb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e39614ae93f851ddc350872229588cda87993170861ae341489b8d8642f66fb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39614ae93f851ddc350872229588cda87993170861ae341489b8d8642f66fb6", kill_on_drop: false }` [INFO] [stdout] e39614ae93f851ddc350872229588cda87993170861ae341489b8d8642f66fb6 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+29194e8f603400afdb2f86c9418e9fccb1628ea0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba3f863885c19b7ae3811ed8a9d9086ab1b14331997772856e8c70ce15a324f5 [INFO] running `Command { std: "docker" "start" "-a" "ba3f863885c19b7ae3811ed8a9d9086ab1b14331997772856e8c70ce15a324f5", kill_on_drop: false }` [INFO] [stderr] Checking 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] 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] 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: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[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 `models::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] 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 `models::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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `crypto_mexico_tij_23` (bin "crypto_mexico_tij_23" test) due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ba3f863885c19b7ae3811ed8a9d9086ab1b14331997772856e8c70ce15a324f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba3f863885c19b7ae3811ed8a9d9086ab1b14331997772856e8c70ce15a324f5", kill_on_drop: false }` [INFO] [stdout] ba3f863885c19b7ae3811ed8a9d9086ab1b14331997772856e8c70ce15a324f5