[INFO] fetching crate yade 0.1.2... [INFO] testing yade-0.1.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate yade 0.1.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate yade 0.1.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yade 0.1.2 [INFO] finished tweaking crates.io crate yade 0.1.2 [INFO] tweaked toml for crates.io crate yade 0.1.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded synstructure v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de03eea632bd21c59eec8549c28bb7abe0bfd086b0a3b586755b8905811e8d4f [INFO] running `Command { std: "docker" "start" "-a" "de03eea632bd21c59eec8549c28bb7abe0bfd086b0a3b586755b8905811e8d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de03eea632bd21c59eec8549c28bb7abe0bfd086b0a3b586755b8905811e8d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de03eea632bd21c59eec8549c28bb7abe0bfd086b0a3b586755b8905811e8d4f", kill_on_drop: false }` [INFO] [stdout] de03eea632bd21c59eec8549c28bb7abe0bfd086b0a3b586755b8905811e8d4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c57862dabec3a4be8e12a0459c7da488de6c19cb5d21009c379e973549dcfe1c [INFO] running `Command { std: "docker" "start" "-a" "c57862dabec3a4be8e12a0459c7da488de6c19cb5d21009c379e973549dcfe1c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling yade v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | _ => panic!(INVALID_CAUSE), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 34 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | ... _ => panic!(INVALID_CAUSE), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 44 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | _ => panic!(INVALID_CAUSE), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 47 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | _ => panic!(INVALID_CAUSE), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 54 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.43s [INFO] running `Command { std: "docker" "inspect" "c57862dabec3a4be8e12a0459c7da488de6c19cb5d21009c379e973549dcfe1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c57862dabec3a4be8e12a0459c7da488de6c19cb5d21009c379e973549dcfe1c", kill_on_drop: false }` [INFO] [stdout] c57862dabec3a4be8e12a0459c7da488de6c19cb5d21009c379e973549dcfe1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1156243cfc16959ddd05a88b52cf5212fb0824ecc1609a277bdc524d6e87def8 [INFO] running `Command { std: "docker" "start" "-a" "1156243cfc16959ddd05a88b52cf5212fb0824ecc1609a277bdc524d6e87def8", kill_on_drop: false }` [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | _ => panic!(INVALID_CAUSE), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 34 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | ... _ => panic!(INVALID_CAUSE), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 44 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | _ => panic!(INVALID_CAUSE), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 47 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yade v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | _ => panic!(INVALID_CAUSE), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 54 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/lib_test.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub cause: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - pub cause: Option>, [INFO] [stdout] 19 + pub cause: Option>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/lib_test.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | pub cause: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - pub cause: Box, [INFO] [stdout] 35 + pub cause: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> tests/lib_test.rs:60:33 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!("boxed cause", e.cause().unwrap().to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> tests/lib_test.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!("for a cause", e.cause().unwrap().to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> tests/lib_test.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | assert!(e.cause().is_none()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> tests/lib_test.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!("oh no!", e.cause().unwrap().to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> tests/lib_test.rs:108:70 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!("No such file or directory (os error 2)", err.cause().unwrap().to_string()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | _ => panic!(INVALID_CAUSE), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 34 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:44:45 [INFO] [stdout] | [INFO] [stdout] 44 | ... _ => panic!(INVALID_CAUSE), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 44 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:47:37 [INFO] [stdout] | [INFO] [stdout] 47 | _ => panic!(INVALID_CAUSE), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 47 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | _ => panic!(INVALID_CAUSE), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 54 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "1156243cfc16959ddd05a88b52cf5212fb0824ecc1609a277bdc524d6e87def8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1156243cfc16959ddd05a88b52cf5212fb0824ecc1609a277bdc524d6e87def8", kill_on_drop: false }` [INFO] [stdout] 1156243cfc16959ddd05a88b52cf5212fb0824ecc1609a277bdc524d6e87def8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 77213c112c8d5b72e432cb0bf00b249cee92772ce756616d44163ca59275e575 [INFO] running `Command { std: "docker" "start" "-a" "77213c112c8d5b72e432cb0bf00b249cee92772ce756616d44163ca59275e575", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/lib.rs:34:29 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 34 | _ => panic!(INVALID_CAUSE), [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 34 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:44:45 [INFO] [stderr] | [INFO] [stderr] 44 | ... _ => panic!(INVALID_CAUSE), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 44 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:47:37 [INFO] [stderr] | [INFO] [stderr] 47 | _ => panic!(INVALID_CAUSE), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 47 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:54:37 [INFO] [stderr] | [INFO] [stderr] 54 | _ => panic!(INVALID_CAUSE), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 54 | _ => panic!("{}", INVALID_CAUSE), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `yade` (lib) generated 4 warnings [INFO] [stderr] warning: `yade` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/lib_test.rs:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | pub cause: Option>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 - pub cause: Option>, [INFO] [stderr] 19 + pub cause: Option>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> tests/lib_test.rs:35:20 [INFO] [stderr] | [INFO] [stderr] 35 | pub cause: Box, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 35 - pub cause: Box, [INFO] [stderr] 35 + pub cause: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> tests/lib_test.rs:60:33 [INFO] [stderr] | [INFO] [stderr] 60 | assert_eq!("boxed cause", e.cause().unwrap().to_string()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> tests/lib_test.rs:72:33 [INFO] [stderr] | [INFO] [stderr] 72 | assert_eq!("for a cause", e.cause().unwrap().to_string()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> tests/lib_test.rs:84:15 [INFO] [stderr] | [INFO] [stderr] 84 | assert!(e.cause().is_none()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> tests/lib_test.rs:96:28 [INFO] [stderr] | [INFO] [stderr] 96 | assert_eq!("oh no!", e.cause().unwrap().to_string()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> tests/lib_test.rs:108:70 [INFO] [stderr] | [INFO] [stderr] 108 | assert_eq!("No such file or directory (os error 2)", err.cause().unwrap().to_string()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `yade` (test "lib_test") generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/yade-bab5485a6ff3ad82) [INFO] [stderr] Running tests/lib_test.rs (/opt/rustwide/target/debug/deps/lib_test-c494a507e58d315d) [INFO] [stderr] Doc-tests yade [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test boxed_error ... ok [INFO] [stdout] test kind_error ... ok [INFO] [stdout] test tuple_struct_enum ... ok [INFO] [stdout] test kind_error_nocause ... ok [INFO] [stdout] test enum_error ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "77213c112c8d5b72e432cb0bf00b249cee92772ce756616d44163ca59275e575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77213c112c8d5b72e432cb0bf00b249cee92772ce756616d44163ca59275e575", kill_on_drop: false }` [INFO] [stdout] 77213c112c8d5b72e432cb0bf00b249cee92772ce756616d44163ca59275e575