[INFO] updating cached repository https://github.com/livelybug/rust-practice [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] [stderr] From https://github.com/livelybug/rust-practice [INFO] [stderr] c379576..11a536d master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 11a536da88c5a070730b9868e879835c4b7b15e7 [INFO] testing livelybug/rust-practice against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flivelybug%2Frust-practice" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/livelybug/rust-practice 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/livelybug/rust-practice [INFO] removed path dependency my_crate from git repo https://github.com/livelybug/rust-practice [INFO] finished tweaking git repo https://github.com/livelybug/rust-practice [INFO] tweaked toml for git repo https://github.com/livelybug/rust-practice written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/livelybug/rust-practice 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] [stderr] warning: dependency (my_crate) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (my_crate) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] ed95efc3781129f41a750938dc4f99ce40dfb7ae3b5105a21e132f131233f607 [INFO] running `"docker" "start" "-a" "ed95efc3781129f41a750938dc4f99ce40dfb7ae3b5105a21e132f131233f607"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: dependency (my_crate) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling my_crate v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling openssl-src v111.9.0+1.1.1g [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling pin-project v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling Hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `my_crate::talk` [INFO] [stderr] --> src/basis/miscl.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | use my_crate::talk::cat; [INFO] [stderr] | ^^^^ could not find `talk` in `my_crate` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `my_crate::talk` [INFO] [stderr] --> src/basis/miscl.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use my_crate::talk::dog; [INFO] [stderr] | ^^^^ could not find `talk` in `my_crate` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::mem` [INFO] [stderr] --> src/basis/control_flow.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::mem; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/basis/control_flow.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | if(y > 8) { break; } [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/basis/control_flow.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | z @ 1...999 => "unknown", // 3 dots is obsolet now, replaced by "..=" [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `Point_g` should have an upper camel case name [INFO] [stderr] --> src/basis/data_structure.rs:131:8 [INFO] [stderr] | [INFO] [stderr] 131 | struct Point_g { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `PointG` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `Line_g` should have an upper camel case name [INFO] [stderr] --> src/basis/data_structure.rs:136:8 [INFO] [stderr] | [INFO] [stderr] 136 | struct Line_g { [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `LineG` [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/basis/functions.rs:64:11 [INFO] [stderr] | [INFO] [stderr] 64 | if(isq > limit) {break} [INFO] [stderr] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/basis/functions.rs:65:17 [INFO] [stderr] | [INFO] [stderr] 65 | else if (isq % 2 == 0) {sum += isq;} [INFO] [stderr] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/basis/traits.rs:154:34 [INFO] [stderr] | [INFO] [stderr] 154 | fn print_dispatch_dynamic(disp: &Summable) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Summable` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/basis/traits.rs:186:18 [INFO] [stderr] | [INFO] [stderr] 186 | let shapes:[&Shape; 2] = [&s1, &c1]; [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Shape` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/basis/traits.rs:214:29 [INFO] [stderr] | [INFO] [stderr] 214 | let mut shapes2:Vec> = Vec::new(); [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Shape` [INFO] [stderr] [INFO] [stderr] warning: unused import: `time` [INFO] [stderr] --> src/basis/closure_test.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{thread, time}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `Hello`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ed95efc3781129f41a750938dc4f99ce40dfb7ae3b5105a21e132f131233f607"` [INFO] running `"docker" "rm" "-f" "ed95efc3781129f41a750938dc4f99ce40dfb7ae3b5105a21e132f131233f607"` [INFO] [stdout] ed95efc3781129f41a750938dc4f99ce40dfb7ae3b5105a21e132f131233f607