[INFO] fetching crate ktracepoint 0.1.0... [INFO] testing ktracepoint-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate ktracepoint 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate ktracepoint 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ktracepoint 0.1.0 [INFO] tweaked toml for crates.io crate ktracepoint 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ktracepoint 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ktracepoint 0.1.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42ad8798b342d9b487ef0143301537e07c3ca5cfb2770377cb8d892469f4f66b [INFO] running `Command { std: "docker" "start" "-a" "42ad8798b342d9b487ef0143301537e07c3ca5cfb2770377cb8d892469f4f66b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42ad8798b342d9b487ef0143301537e07c3ca5cfb2770377cb8d892469f4f66b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ad8798b342d9b487ef0143301537e07c3ca5cfb2770377cb8d892469f4f66b", kill_on_drop: false }` [INFO] [stdout] 42ad8798b342d9b487ef0143301537e07c3ca5cfb2770377cb8d892469f4f66b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 906b63b5cc082306fa469ebc64eb05cd2ee18ef5820b329c45aeb480f77630d9 [INFO] running `Command { std: "docker" "start" "-a" "906b63b5cc082306fa469ebc64eb05cd2ee18ef5820b329c45aeb480f77630d9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling clear-cache v0.1.1 [INFO] [stderr] Compiling static-keys v0.8.2 [INFO] [stderr] Compiling ktracepoint v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:316:52 [INFO] [stdout] | [INFO] [stdout] 316 | let tracepoint_data_start = __start_tracepoint as usize as *mut CommonTracePointMeta; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 316 | let tracepoint_data_start = __start_tracepoint as *const () as usize as *mut CommonTracePointMeta; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:317:49 [INFO] [stdout] | [INFO] [stdout] 317 | let tracepoint_data_end = __stop_tracepoint as usize as *mut CommonTracePointMeta; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 317 | let tracepoint_data_end = __stop_tracepoint as *const () as usize as *mut CommonTracePointMeta; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.55s [INFO] running `Command { std: "docker" "inspect" "906b63b5cc082306fa469ebc64eb05cd2ee18ef5820b329c45aeb480f77630d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "906b63b5cc082306fa469ebc64eb05cd2ee18ef5820b329c45aeb480f77630d9", kill_on_drop: false }` [INFO] [stdout] 906b63b5cc082306fa469ebc64eb05cd2ee18ef5820b329c45aeb480f77630d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a01a8251a8c4de5a9a31077338d375060ae21602f87c975e9ad79d833958991e [INFO] running `Command { std: "docker" "start" "-a" "a01a8251a8c4de5a9a31077338d375060ae21602f87c975e9ad79d833958991e", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling jiff v0.2.5 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling ktracepoint v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:316:52 [INFO] [stdout] | [INFO] [stdout] 316 | let tracepoint_data_start = __start_tracepoint as usize as *mut CommonTracePointMeta; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 316 | let tracepoint_data_start = __start_tracepoint as *const () as usize as *mut CommonTracePointMeta; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:317:49 [INFO] [stdout] | [INFO] [stdout] 317 | let tracepoint_data_end = __stop_tracepoint as usize as *mut CommonTracePointMeta; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 317 | let tracepoint_data_end = __stop_tracepoint as *const () as usize as *mut CommonTracePointMeta; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:316:52 [INFO] [stdout] | [INFO] [stdout] 316 | let tracepoint_data_start = __start_tracepoint as usize as *mut CommonTracePointMeta; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 316 | let tracepoint_data_start = __start_tracepoint as *const () as usize as *mut CommonTracePointMeta; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/lib.rs:317:49 [INFO] [stdout] | [INFO] [stdout] 317 | let tracepoint_data_end = __stop_tracepoint as usize as *mut CommonTracePointMeta; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 317 | let tracepoint_data_end = __stop_tracepoint as *const () as usize as *mut CommonTracePointMeta; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/rustcYMQcpt/symbols.o" "<7 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libenv_logger-7fc2b12056467f85,libanstream-7e30cbc045bfbad7,libanstyle_query-f0be367a66cb0b02,libis_terminal_polyfill-c14c9d53c4f80a97,libcolorchoice-dfb6701820ae12a0,libanstyle_parse-efd7d30a330dd8dd,libutf8parse-8828ddbb63eb8bad,libjiff-9e045ffac0af58f2,libenv_filter-717234b47af978de,libregex-c0b657c765701977,libregex_automata-cbd7d0270701f8b8,libaho_corasick-bbf1a4f0088c0f15,libmemchr-4f0714dc45d95749,libregex_syntax-2f734124a51b36fa,libanstyle-df82d657645c4a5c,libktracepoint-1568314215474c51,liblog-8df7809bc4bc4dee,libstatic_keys-8363cda73feb8c27,libclear_cache-a9eb744e46dc9696,liblibc-0ef89aa781d09ede,libspin-7448b5b14078bd2d,liblock_api-87fe6f2f71d5b0ae,libscopeguard-d52bd00767847e44}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/examples/rustcYMQcpt/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/usage-ff8df05840bc9e3b" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: __start_tracepoint [INFO] [stdout] >>> referenced by lib.rs:316 (src/lib.rs:316) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/usage-ff8df05840bc9e3b.usage.a602e8d30169ca48-cgu.2.rcgu.o:(ktracepoint::global_init_events::, usage::tracepoint_test::Kops>) [INFO] [stdout] >>> referenced by lib.rs:323 (src/lib.rs:323) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/usage-ff8df05840bc9e3b.usage.a602e8d30169ca48-cgu.2.rcgu.o:(ktracepoint::global_init_events::, usage::tracepoint_test::Kops>) [INFO] [stdout] >>> referenced by lib.rs:320 (src/lib.rs:320) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/usage-ff8df05840bc9e3b.usage.a602e8d30169ca48-cgu.2.rcgu.o:(ktracepoint::global_init_events::, usage::tracepoint_test::Kops>) [INFO] [stdout] >>> referenced 1 more times [INFO] [stdout] >>> the encapsulation symbol needs to be retained under --gc-sections properly; consider -z nostart-stop-gc (see https://lld.llvm.org/ELF/start-stop-gc) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: __stop_tracepoint [INFO] [stdout] >>> referenced by lib.rs:317 (src/lib.rs:317) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/usage-ff8df05840bc9e3b.usage.a602e8d30169ca48-cgu.2.rcgu.o:(ktracepoint::global_init_events::, usage::tracepoint_test::Kops>) [INFO] [stdout] >>> referenced by lib.rs:323 (src/lib.rs:323) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/usage-ff8df05840bc9e3b.usage.a602e8d30169ca48-cgu.2.rcgu.o:(ktracepoint::global_init_events::, usage::tracepoint_test::Kops>) [INFO] [stdout] >>> referenced by lib.rs:321 (src/lib.rs:321) [INFO] [stdout] >>> /opt/rustwide/target/debug/examples/usage-ff8df05840bc9e3b.usage.a602e8d30169ca48-cgu.2.rcgu.o:(ktracepoint::global_init_events::, usage::tracepoint_test::Kops>) [INFO] [stdout] >>> referenced 1 more times [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ktracepoint` (example "usage") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a01a8251a8c4de5a9a31077338d375060ae21602f87c975e9ad79d833958991e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a01a8251a8c4de5a9a31077338d375060ae21602f87c975e9ad79d833958991e", kill_on_drop: false }` [INFO] [stdout] a01a8251a8c4de5a9a31077338d375060ae21602f87c975e9ad79d833958991e