[INFO] cloning repository https://github.com/mibes/mockall-async [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mibes/mockall-async" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmibes%2Fmockall-async", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmibes%2Fmockall-async'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53aec15219a720ef5ac483959ff8821cb7d656ae [INFO] testing mibes/mockall-async against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmibes%2Fmockall-async" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mibes/mockall-async [INFO] finished tweaking git repo https://github.com/mibes/mockall-async [INFO] tweaked toml for git repo https://github.com/mibes/mockall-async written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mibes/mockall-async on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mibes/mockall-async 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 305f31d87c6c439becc3dd38fb0f0fbc82c6a451845234668b69d51034c27552 [INFO] running `Command { std: "docker" "start" "-a" "305f31d87c6c439becc3dd38fb0f0fbc82c6a451845234668b69d51034c27552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "305f31d87c6c439becc3dd38fb0f0fbc82c6a451845234668b69d51034c27552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "305f31d87c6c439becc3dd38fb0f0fbc82c6a451845234668b69d51034c27552", kill_on_drop: false }` [INFO] [stdout] 305f31d87c6c439becc3dd38fb0f0fbc82c6a451845234668b69d51034c27552 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1077f4cc969fc96269c144c77fcbc63f0c8e20a1ed4941aeb95abceaa7cd60b3 [INFO] running `Command { std: "docker" "start" "-a" "1077f4cc969fc96269c144c77fcbc63f0c8e20a1ed4941aeb95abceaa7cd60b3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.15 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling fragile v0.3.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling float-cmp v0.5.3 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling predicates v1.0.2 [INFO] [stderr] Compiling mockall_derive v0.6.0 [INFO] [stderr] Compiling tokio-macros v0.2.4 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling mockall v0.6.0 [INFO] [stderr] Compiling trait_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl Printer { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 41 | fn new(person: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.84s [INFO] running `Command { std: "docker" "inspect" "1077f4cc969fc96269c144c77fcbc63f0c8e20a1ed4941aeb95abceaa7cd60b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1077f4cc969fc96269c144c77fcbc63f0c8e20a1ed4941aeb95abceaa7cd60b3", kill_on_drop: false }` [INFO] [stdout] 1077f4cc969fc96269c144c77fcbc63f0c8e20a1ed4941aeb95abceaa7cd60b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe60cd52a12934f1e5ee30ae1930b2238de615df8095babf3aa6e22d23f79639 [INFO] running `Command { std: "docker" "start" "-a" "fe60cd52a12934f1e5ee30ae1930b2238de615df8095babf3aa6e22d23f79639", kill_on_drop: false }` [INFO] [stderr] Compiling trait_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / mock! { [INFO] [stdout] 67 | | pub Man { [INFO] [stdout] 68 | | fn get_name(&self) -> String {} [INFO] [stdout] 69 | | } [INFO] [stdout] 70 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = mock! { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "fe60cd52a12934f1e5ee30ae1930b2238de615df8095babf3aa6e22d23f79639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe60cd52a12934f1e5ee30ae1930b2238de615df8095babf3aa6e22d23f79639", kill_on_drop: false }` [INFO] [stdout] fe60cd52a12934f1e5ee30ae1930b2238de615df8095babf3aa6e22d23f79639 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3ec3beaaf9aa6a54a50054a1eb3c8eca49515f4fc83393c4b35de43f56e0f961 [INFO] running `Command { std: "docker" "start" "-a" "3ec3beaaf9aa6a54a50054a1eb3c8eca49515f4fc83393c4b35de43f56e0f961", kill_on_drop: false }` [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/main.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | / mock! { [INFO] [stderr] 67 | | pub Man { [INFO] [stderr] 68 | | fn get_name(&self) -> String {} [INFO] [stderr] 69 | | } [INFO] [stderr] 70 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 66 | let _ = mock! { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `trait_test` (bin "trait_test" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/trait_test-5f7ece5e6acd55ae) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_mocked_person ... ok [INFO] [stdout] test tests::test_person ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3ec3beaaf9aa6a54a50054a1eb3c8eca49515f4fc83393c4b35de43f56e0f961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec3beaaf9aa6a54a50054a1eb3c8eca49515f4fc83393c4b35de43f56e0f961", kill_on_drop: false }` [INFO] [stdout] 3ec3beaaf9aa6a54a50054a1eb3c8eca49515f4fc83393c4b35de43f56e0f961