[INFO] crate message_plugins 0.2.0 is already in cache [INFO] testing message_plugins-0.2.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate message_plugins 0.2.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate message_plugins 0.2.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate message_plugins 0.2.0 [INFO] finished tweaking crates.io crate message_plugins 0.2.0 [INFO] tweaked toml for crates.io crate message_plugins 0.2.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eb9838fedffd8ad95a0134dab3950ea8ccead526c6d11a4ab9042bb268c6fea6 [INFO] running `Command { std: "docker" "start" "-a" "eb9838fedffd8ad95a0134dab3950ea8ccead526c6d11a4ab9042bb268c6fea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb9838fedffd8ad95a0134dab3950ea8ccead526c6d11a4ab9042bb268c6fea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb9838fedffd8ad95a0134dab3950ea8ccead526c6d11a4ab9042bb268c6fea6", kill_on_drop: false }` [INFO] [stdout] eb9838fedffd8ad95a0134dab3950ea8ccead526c6d11a4ab9042bb268c6fea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=forbid" "-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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0af7fce8c52c724a8909b1f49bf29adc14e74582f155cdbe17cabbbe2406e818 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0af7fce8c52c724a8909b1f49bf29adc14e74582f155cdbe17cabbbe2406e818", kill_on_drop: false }` [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling message_plugins v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.60s [INFO] running `Command { std: "docker" "inspect" "0af7fce8c52c724a8909b1f49bf29adc14e74582f155cdbe17cabbbe2406e818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0af7fce8c52c724a8909b1f49bf29adc14e74582f155cdbe17cabbbe2406e818", kill_on_drop: false }` [INFO] [stdout] 0af7fce8c52c724a8909b1f49bf29adc14e74582f155cdbe17cabbbe2406e818 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=forbid" "-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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a31e520c25251f954aac59149e6bbd8387cf2ccf5900033e366f9166a00733f1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a31e520c25251f954aac59149e6bbd8387cf2ccf5900033e366f9166a00733f1", kill_on_drop: false }` [INFO] [stderr] Compiling message_plugins v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "a31e520c25251f954aac59149e6bbd8387cf2ccf5900033e366f9166a00733f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a31e520c25251f954aac59149e6bbd8387cf2ccf5900033e366f9166a00733f1", kill_on_drop: false }` [INFO] [stdout] a31e520c25251f954aac59149e6bbd8387cf2ccf5900033e366f9166a00733f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=forbid" "-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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aaf3cc2e7348e4085d26c70b331f9087c97a997d72effc45247cd4561c04226e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aaf3cc2e7348e4085d26c70b331f9087c97a997d72effc45247cd4561c04226e", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/message_plugins-c91502e9152fd153 [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 message_plugins [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - construct_plugin_with_constructor (line 204) ... FAILED [INFO] [stdout] test src/lib.rs - construct_plugin (line 230) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - construct_plugin_with_constructor (line 204) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `YourPlugin` [INFO] [stdout] --> src/lib.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 5 | let plugin = Box::new(YourPlugin::new()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `YourPlugin` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Plugin` in this scope [INFO] [stdout] --> src/lib.rs:206:59 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe extern "C" fn plugin_constructor(ptr: *mut Box>) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use message_plugins::Plugin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `YourMessageType` in this scope [INFO] [stdout] --> src/lib.rs:206:66 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe extern "C" fn plugin_constructor(ptr: *mut Box>) { [INFO] [stdout] | - ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_instace` in this scope [INFO] [stdout] --> src/lib.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 6 | insert_instace(ptr, plugin); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - construct_plugin (line 230) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `YourPlugin` [INFO] [stdout] --> src/lib.rs:233:27 [INFO] [stdout] | [INFO] [stdout] 5 | let plugin = Box::new(YourPlugin::new()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `YourPlugin` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Plugin` in this scope [INFO] [stdout] --> src/lib.rs:232:59 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe extern "C" fn plugin_constructor(ptr: *mut Box>) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 | use message_plugins::Plugin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `YourMessageType` in this scope [INFO] [stdout] --> src/lib.rs:232:66 [INFO] [stdout] | [INFO] [stdout] 4 | unsafe extern "C" fn plugin_constructor(ptr: *mut Box>) { [INFO] [stdout] | - ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_instace` in this scope [INFO] [stdout] --> src/lib.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 6 | insert_instace(ptr, plugin); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - construct_plugin (line 230) [INFO] [stdout] src/lib.rs - construct_plugin_with_constructor (line 204) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "aaf3cc2e7348e4085d26c70b331f9087c97a997d72effc45247cd4561c04226e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaf3cc2e7348e4085d26c70b331f9087c97a997d72effc45247cd4561c04226e", kill_on_drop: false }` [INFO] [stdout] aaf3cc2e7348e4085d26c70b331f9087c97a997d72effc45247cd4561c04226e