[INFO] updating cached repository https://github.com/yszk0123-sandbox/hello-rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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] 9bb37761c1e683ee975dc68360a7217412330224 [INFO] testing yszk0123-sandbox/hello-rust against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyszk0123-sandbox%2Fhello-rust" "work/builds/worker-6/source"` [INFO] [stderr] Cloning into 'work/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yszk0123-sandbox/hello-rust on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/yszk0123-sandbox/hello-rust [INFO] finished tweaking git repo https://github.com/yszk0123-sandbox/hello-rust [INFO] tweaked toml for git repo https://github.com/yszk0123-sandbox/hello-rust written to work/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/yszk0123-sandbox/hello-rust already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /big/crater/work/builds/worker-6/source/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/big/crater/work/builds/worker-6/source/src/main.rs` was erroneously implicitly accepted for binary `hello-rust-bin`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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-2019-09-28" "build" "--frozen"` [INFO] [stdout] bebc26b5b8be5f2829b66724e2b240d8e06f12bd66dea14a3d061d1e1789f52d [INFO] running `"docker" "start" "-a" "bebc26b5b8be5f2829b66724e2b240d8e06f12bd66dea14a3d061d1e1789f52d"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `hello-rust-bin`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling hello-rust v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: struct is never constructed: `Rectangle` [INFO] [stderr] --> src/trait_examples/without_trait.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | struct Rectangle { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `area` [INFO] [stderr] --> src/trait_examples/without_trait.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | fn area(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never used: `x` [INFO] [stderr] --> src/trait_examples/with_trait.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | x: f64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never used: `y` [INFO] [stderr] --> src/trait_examples/with_trait.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | y: f64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `"docker" "inspect" "bebc26b5b8be5f2829b66724e2b240d8e06f12bd66dea14a3d061d1e1789f52d"` [INFO] running `"docker" "rm" "-f" "bebc26b5b8be5f2829b66724e2b240d8e06f12bd66dea14a3d061d1e1789f52d"` [INFO] [stdout] bebc26b5b8be5f2829b66724e2b240d8e06f12bd66dea14a3d061d1e1789f52d [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] 6a43dc6f0a68bb93f2a1f36aca3d00883064a02b655e3211f81170f513a4e20b [INFO] running `"docker" "start" "-a" "6a43dc6f0a68bb93f2a1f36aca3d00883064a02b655e3211f81170f513a4e20b"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `hello-rust-bin`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling hello-rust v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: field is never used: `x` [INFO] [stderr] --> src/trait_examples/without_trait.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | x: f64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `y` [INFO] [stderr] --> src/trait_examples/without_trait.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | y: f64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never used: `x` [INFO] [stderr] --> src/trait_examples/with_trait.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | x: f64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never used: `y` [INFO] [stderr] --> src/trait_examples/with_trait.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | y: f64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `"docker" "inspect" "6a43dc6f0a68bb93f2a1f36aca3d00883064a02b655e3211f81170f513a4e20b"` [INFO] running `"docker" "rm" "-f" "6a43dc6f0a68bb93f2a1f36aca3d00883064a02b655e3211f81170f513a4e20b"` [INFO] [stdout] 6a43dc6f0a68bb93f2a1f36aca3d00883064a02b655e3211f81170f513a4e20b [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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-2019-09-28" "test" "--frozen"` [INFO] [stdout] a89c55badb47b1d3b0a3193214bccdadaa39eb5c7e639526f930a23144ccb1e7 [INFO] running `"docker" "start" "-a" "a89c55badb47b1d3b0a3193214bccdadaa39eb5c7e639526f930a23144ccb1e7"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/main.rs` was erroneously implicitly accepted for binary `hello-rust-bin`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/hello_rust-3f97e945fffaeb14 [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test closure_examples::basic::call_with_one_argument_test ... ok [INFO] [stdout] test match_examples::basic::call_with_defined_number_test ... ok [INFO] [stdout] test match_examples::basic::call_with_undefined_number_test ... ok [INFO] [stdout] test trait_examples::with_trait::call_area_test ... ok [INFO] [stdout] test trait_examples::without_trait::call_area_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/hello_rust_bin-2a13b6b59dbd27a9 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests hello-rust [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "a89c55badb47b1d3b0a3193214bccdadaa39eb5c7e639526f930a23144ccb1e7"` [INFO] running `"docker" "rm" "-f" "a89c55badb47b1d3b0a3193214bccdadaa39eb5c7e639526f930a23144ccb1e7"` [INFO] [stdout] a89c55badb47b1d3b0a3193214bccdadaa39eb5c7e639526f930a23144ccb1e7