[INFO] updating cached repository https://github.com/SebastianAlba84/DesignsPatternsRust [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] 361240fc74a12999af3e7e9ddbc84f868e404018 [INFO] testing SebastianAlba84/DesignsPatternsRust against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSebastianAlba84%2FDesignsPatternsRust" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SebastianAlba84/DesignsPatternsRust on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/SebastianAlba84/DesignsPatternsRust [INFO] finished tweaking git repo https://github.com/SebastianAlba84/DesignsPatternsRust [INFO] tweaked toml for git repo https://github.com/SebastianAlba84/DesignsPatternsRust written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/SebastianAlba84/DesignsPatternsRust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 301f008868a7c0acbf4ccf074d291dffb0c60de485c480024ec111d5df67f84e [INFO] running `"docker" "start" "-a" "301f008868a7c0acbf4ccf074d291dffb0c60de485c480024ec111d5df67f84e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling Extraclase2PatronesdediseñoRust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Display` [INFO] [stderr] --> src/main.rs:74:19 [INFO] [stderr] | [INFO] [stderr] 74 | let display = Display::new("COMPURADORA".to_string()); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Display` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Display` [INFO] [stderr] --> src/main.rs:75:20 [INFO] [stderr] | [INFO] [stderr] 75 | let display2 = Display::new("COMPURADORA2".to_string()); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `Display` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Weather` in this scope [INFO] [stderr] --> src/main.rs:76:23 [INFO] [stderr] | [INFO] [stderr] 76 | let mut weather = Weather{temperature: 19.0, observers: Vec::new()}; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: type `pizza` should have an upper camel case name [INFO] [stderr] --> src/AbstFactory.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct pizza{ // "Clase" pizza [INFO] [stderr] | ^^^^^ help: convert the identifier to upper camel case: `Pizza` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `abstract_factory` should have an upper camel case name [INFO] [stderr] --> src/AbstFactory.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | struct abstract_factory{ // Esta es el "struct" que servirá como la clase Abstract Factory [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AbstractFactory` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stderr] --> src/main.rs:100:24 [INFO] [stderr] | [INFO] [stderr] 100 | println!("{}", oso.rugir(oso_teddy)); [INFO] [stderr] | ^^^^^ --------- supplied 1 argument [INFO] [stderr] | | [INFO] [stderr] | expected 0 arguments [INFO] [stderr] | [INFO] [stderr] ::: src/Adapter2.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | fn rugir(&self) -> String; [INFO] [stderr] | -------------------------- defined here [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0422, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `Extraclase2PatronesdediseñoRust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "301f008868a7c0acbf4ccf074d291dffb0c60de485c480024ec111d5df67f84e"` [INFO] running `"docker" "rm" "-f" "301f008868a7c0acbf4ccf074d291dffb0c60de485c480024ec111d5df67f84e"` [INFO] [stdout] 301f008868a7c0acbf4ccf074d291dffb0c60de485c480024ec111d5df67f84e